annotate tool_dependencies.xml @ 0:1e8862eb2eba draft

Uploaded
author crs4
date Fri, 06 Sep 2013 05:58:59 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
1 <?xml version="1.0"?>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
2 <tool_dependency>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
3 <package name="boost" version="1.53.0">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
4 <repository changeset_revision="dbdde1a2d0c5" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
5 </package>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
6 <package name="mugsy" version="1.2.3.1">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
7 <install version="1.0">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
8 <actions>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
9 <!-- checkout from svn source repository into a directory with the same name of the package, which will be automatically used as working directory -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
10 <action type="shell_command">svn checkout http://svn.code.sf.net/p/mugsy/code/ mugsy</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
11 <!-- fix for Boost >= 1.42.0 -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
12 <action type="shell_command">sed -i 's/boost\/property_map\.hpp/boost\/property_map\/property_map.hpp/' trunk/chaining/synchain-mugsy.cpp</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
13 <!-- fix for Boost >= 1.47.0 -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
14 <action type="shell_command">sed -i 's/boost\/graph\/kolmogorov_max_flow\.hpp/boost\/graph\/boykov_kolmogorov_max_flow.hpp/' trunk/chaining/synchain-mugsy.cpp trunk/mugsy-seqan/projects/library/apps/mugsy/mugsy.cpp</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
15 <!-- fix chaining Makefile -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
16 <action type="shell_command">sed -i -e 's/-static//g' -e 's/-lbgl-viz -lboost_graph-gcc41-mt//g' trunk/chaining/Makefile</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
17 <!-- fix missing include in show-diff.cc -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
18 <action type="shell_command">sed -i '13 a \#include &lt;algorithm&gt;' trunk/MUMmer3.20/src/tigr/show-diff.cc</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
19 <!-- skip make of streeproto.h since it would fail because of missing skproto.x -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
20 <action type="shell_command">touch trunk/MUMmer3.20/src/kurtz/streesrc/streeproto.h</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
21 <!-- fix Makefile -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
22 <action type="shell_command">sed -i -e 's/install synchain-mugsy/install chaining\/synchain-mugsy/' -e 's/install mugsyWGA \(.*\)/install mugsy-seqan\/projects\/library\/apps\/mugsy\/gcc\/mugsy \1\/mugsyWGA/' trunk/Makefile</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
23 <!-- fix MUMmer3.20 Makefile -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
24 <action type="shell_command">sed -i '/DOC_DIR/d' trunk/MUMmer3.20/Makefile</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
25 <!-- populate the environment variables from the dependent repos -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
26 <action type="set_environment_for_install">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
27 <repository name="package_boost_1_53" owner="bgruening" toolshed="http://toolshed.g2.bx.psu.edu">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
28 <package name="boost" version="1.53.0" />
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
29 </repository>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
30 </action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
31 <!-- use $BOOST_ROOT_DIR in chaining Makefile -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
32 <action type="shell_command">sed -i -e 's/-I \/usr\/local\/projects\/angiuoli\/boost\/include\/boost-1_38/-I $(BOOST_ROOT_DIR)\/include/g' -e 's/-L \/usr\/local\/projects\/angiuoli\/boost\/lib\//-L $(BOOST_ROOT_DIR)\/lib/g' trunk/chaining/Makefile trunk/mugsy-seqan/platforms/gcc/platform.mak</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
33 <!-- equivalent of make clean -->
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
34 <action type="shell_command">rm -f trunk/chaining/synchain-mugsy trunk/mugsyWGA trunk/synchain-mugsy &amp;&amp; make -C trunk/MUMmer3.20 clean</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
35 <action type="shell_command">make -C trunk all</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
36 <action type="shell_command">make -C trunk install</action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
37 <action type="move_directory_files">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
38 <source_directory>trunk/mugsy_x86-64-v1r2.3.1</source_directory>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
39 <destination_directory>$INSTALL_DIR</destination_directory>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
40 </action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
41 <action type="set_environment">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
42 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
43 </action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
44 <action type="set_environment">
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
45 <environment_variable action="set_to" name="MUGSY_INSTALL">$INSTALL_DIR</environment_variable>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
46 </action>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
47 </actions>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
48 </install>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
49 <readme>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
50 </readme>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
51 </package>
1e8862eb2eba Uploaded
crs4
parents:
diff changeset
52 </tool_dependency>