comparison tool_dependencies.xml @ 16:cee17b592b17 draft

Uploaded
author greg
date Tue, 12 Jul 2016 10:03:21 -0400
parents 37a6491da3ed
children 8ce91708b876
comparison
equal deleted inserted replaced
15:37a6491da3ed 16:cee17b592b17
14 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> 14 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
15 <package name="cmake" version="3.2.3" /> 15 <package name="cmake" version="3.2.3" />
16 </repository> 16 </repository>
17 </action> 17 </action>
18 18
19 <action type="shell_command">bash Anaconda-2.3.0-Linux-x86_64.sh -b -f -p $INSTALL_DIR</action> 19 <action type="shell_command">bash Anaconda-2.3.0-Linux-x86_64.sh -b -f -p $INSTALL_DIR/anaconda</action>
20 20
21 <!-- Install VTK 6.3.0 into the above Python --> 21 <!-- Install VTK 6.3.0 into the above Python -->
22 <action type="make_directory">$TMP_WORK_DIR/vtk</action> 22 <action type="make_directory">$TMP_WORK_DIR/vtk</action>
23 <action type="change_directory">$TMP_WORK_DIR/vtk</action> 23 <action type="change_directory">$TMP_WORK_DIR/vtk</action>
24 <action target_filename="VTK-6.3.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz</action> 24 <action target_filename="VTK-6.3.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz</action>
25 <action type="shell_command">tar xfvz VTK-6.3.0.tar.gz</action> 25 <action type="shell_command">tar xfvz VTK-6.3.0.tar.gz</action>
26 <action type="change_directory">VTK-6.3.0</action> 26 <action type="change_directory">VTK-6.3.0</action>
27 <action type="shell_command"> 27 <action type="shell_command">
28 28
29 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp; 29 export PATH=$INSTALL_DIR/anaconda/bin:$PATH &amp;&amp;
30 export PYTHONPATH=$INSTALL_DIR:$PYTHONPATH &amp;&amp; 30 export PYTHONPATH=$INSTALL_DIR/anaconda:$PYTHONPATH &amp;&amp;
31 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp; 31 export PKG_CONFIG_PATH=$INSTALL_DIR/anaconda/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
32 cmake \ 32 cmake \
33 -DCMAKE_BUILD_TYPE:STRING=Release \ 33 -DCMAKE_BUILD_TYPE:STRING=Release \
34 -DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_DIR/vtk \ 34 -DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_DIR/vtk \
35 -DVTK_WRAP_PYTHON:BOOL=ON \ 35 -DVTK_WRAP_PYTHON:BOOL=ON \
36 -DVTK_Group_StandAlone:BOOL=OFF \ 36 -DVTK_Group_StandAlone:BOOL=OFF \
53 -DModule_vtkIOCore:BOOL=ON \ 53 -DModule_vtkIOCore:BOOL=ON \
54 -DModule_vtkIOGeometry:BOOL=ON \ 54 -DModule_vtkIOGeometry:BOOL=ON \
55 -DModule_vtkIOLegacy:BOOL=ON \ 55 -DModule_vtkIOLegacy:BOOL=ON \
56 -DModule_vtkWrappingPythonCore:BOOL=ON \ 56 -DModule_vtkWrappingPythonCore:BOOL=ON \
57 -DModule_vtkIOPLY:BOOL=ON \ 57 -DModule_vtkIOPLY:BOOL=ON \
58 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/lib/python2.7/site-packages \ 58 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/anaconda/lib/python2.7/site-packages \
59 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/bin/python \ 59 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/anaconda/bin/python \
60 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/lib/libpython2.7.so \ 60 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/anaconda/lib/libpython2.7.so \
61 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . &amp;&amp; 61 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/anaconda/include/python2.7 . &amp;&amp;
62 make -j 8 &amp;&amp; 62 make -j 8 &amp;&amp;
63 make install 63 make install
64 64
65 </action> 65 </action>
66 66
69 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> 69 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
70 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> 70 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
71 <action type="change_directory">icqsol</action> 71 <action type="change_directory">icqsol</action>
72 <action type="shell_command"> 72 <action type="shell_command">
73 73
74 export PATH=$INSTALL_DIR/vtk/bin:$PATH &amp;&amp; 74 export PATH=$INSTALL_DIR/anaconda/bin:$INSTALL_DIR/vtk/bin:$PATH &amp;&amp;
75 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp; 75 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp;
76 export C_INCLUDE_PATH=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp;
77 export CPLUS_INCLUDE_PATH=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp;
76 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib &amp;&amp; 78 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib &amp;&amp;
77 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR 79 export LD_LIBRARY_PATH=$INSTALL_DIR/vtk/lib &amp;&amp;
78 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR 80 $INSTALL_DIR/anaconda/bin/python setup.py develop --prefix=$INSTALL_DIR/anaconda
81 $INSTALL_DIR/anaconda/bin/python setup.py install --prefix=$INSTALL_DIR/anaconda
79 82
80 </action> 83 </action>
81 84
82 <action type="set_environment"> 85 <action type="set_environment">
83 <!-- 86 <!--
84 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets 87 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets
85 the right Python from the environment bin directory. 88 the right Python from the environment bin directory.
86 --> 89 -->
87 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> 90 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/anaconda/bin</environment_variable>
88 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable> 91 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/vtk/lib</environment_variable>
89 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable> 92 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable>
90 </action> 93 </action>
91 </actions> 94 </actions>
92 95
93 <actions architecture="x86_64" os="darwin"> 96 <actions architecture="x86_64" os="darwin">
98 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> 101 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
99 <package name="cmake" version="3.2.3" /> 102 <package name="cmake" version="3.2.3" />
100 </repository> 103 </repository>
101 </action> 104 </action>
102 105
103 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR</action> 106 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR/anaconda</action>
104 107
105 <!-- Install and compile VTK 6.3.0 as a package in the above Python --> 108 <!-- Install and compile VTK 6.3.0 as a package in the above Python -->
106 <action type="make_directory">$TMP_WORK_DIR/vtk</action> 109 <action type="make_directory">$TMP_WORK_DIR/vtk</action>
107 <action type="change_directory">$TMP_WORK_DIR/vtk</action> 110 <action type="change_directory">$TMP_WORK_DIR/vtk</action>
108 <action target_filename="VTK-6.3.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz</action> 111 <action target_filename="VTK-6.3.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.3/VTK-6.3.0.tar.gz</action>
109 <action type="shell_command">tar xfvz VTK-6.3.0.tar.gz</action> 112 <action type="shell_command">tar xfvz VTK-6.3.0.tar.gz</action>
110 <action type="change_directory">VTK-6.3.0</action> 113 <action type="change_directory">VTK-6.3.0</action>
111 <action type="shell_command"> 114 <action type="shell_command">
112 115
113 export PATH=$INSTALL_DIR/bin:$PATH &amp;&amp; 116 export PATH=$INSTALL_DIR/anaconda/bin:$PATH &amp;&amp;
114 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp; 117 export PKG_CONFIG_PATH=$INSTALL_DIR/anaconda/lib/pkgconfig:$PKG_CONFIG_PATH &amp;&amp;
115 cmake \ 118 cmake \
116 -DCMAKE_BUILD_TYPE:STRING=Release \ 119 -DCMAKE_BUILD_TYPE:STRING=Release \
117 -DCMAKE_INSTALL_PREFIX:PATH==$INSTALL_DIR/vtk \ 120 -DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_DIR/vtk \
118 -DVTK_WRAP_PYTHON:BOOL=ON \ 121 -DVTK_WRAP_PYTHON:BOOL=ON \
119 -DVTK_Group_StandAlone:BOOL=OFF \ 122 -DVTK_Group_StandAlone:BOOL=OFF \
120 -DVTK_Group_Rendering:BOOL=OFF \ 123 -DVTK_Group_Rendering:BOOL=OFF \
121 -DModule_vtkCommonColor:BOOL=ON \ 124 -DModule_vtkCommonColor:BOOL=ON \
122 -DModule_vtkCommonComputationalGeometry:BOOL=ON \ 125 -DModule_vtkCommonComputationalGeometry:BOOL=ON \
136 -DModule_vtkIOCore:BOOL=ON \ 139 -DModule_vtkIOCore:BOOL=ON \
137 -DModule_vtkIOGeometry:BOOL=ON \ 140 -DModule_vtkIOGeometry:BOOL=ON \
138 -DModule_vtkIOLegacy:BOOL=ON \ 141 -DModule_vtkIOLegacy:BOOL=ON \
139 -DModule_vtkWrappingPythonCore:BOOL=ON \ 142 -DModule_vtkWrappingPythonCore:BOOL=ON \
140 -DModule_vtkIOPLY:BOOL=ON \ 143 -DModule_vtkIOPLY:BOOL=ON \
141 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/lib/python2.7/site-packages \ 144 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/anaconda/lib/python2.7/site-packages \
142 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/bin/python \ 145 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/anaconda/bin/python \
143 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/lib/libpython2.7.dylib \ 146 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/anaconda/lib/libpython2.7.dylib \
144 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . &amp;&amp; 147 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/anaconda/include/python2.7 . &amp;&amp;
145 make -j 8 &amp;&amp; 148 make -j 8 &amp;&amp;
146 make install 149 make install
147 150
148 </action> 151 </action>
149 152
152 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> 155 <action type="change_directory">$TMP_WORK_DIR/icqsol</action>
153 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> 156 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action>
154 <action type="change_directory">icqsol</action> 157 <action type="change_directory">icqsol</action>
155 <action type="shell_command"> 158 <action type="shell_command">
156 159
157 export PATH=$INSTALL_DIR/vtk/bin:$PATH &amp;&amp; 160 export PATH=$INSTALL_DIR/anaconda/bin:$INSTALL_DIR/vtk/bin:$PATH &amp;&amp;
158 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp; 161 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp;
162 export C_INCLUDE_PATH=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp;
163 export CPLUS_INCLUDE_PATH=$INSTALL_DIR/vtk/include/vtk-6.3 &amp;&amp;
159 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib &amp;&amp; 164 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib &amp;&amp;
160 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR &amp;&amp; 165 export DYLD_LIBRARY_PATH=$INSTALL_DIR/vtk/lib &amp;&amp;
161 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR 166 $INSTALL_DIR/anaconda/bin/python setup.py develop --prefix=$INSTALL_DIR/anaconda
167 $INSTALL_DIR/anaconda/bin/python setup.py install --prefix=$INSTALL_DIR/anaconda
162 168
163 </action> 169 </action>
164 170
165 <action type="set_environment"> 171 <action type="set_environment">
166 <!-- 172 <!--
170 that each environment is a completely separate installation of Python and all the packages. By using 176 that each environment is a completely separate installation of Python and all the packages. By using
171 hard links, this is done efficiently. Thus, there's no need to mess with PYTHONPATH because the Python 177 hard links, this is done efficiently. Thus, there's no need to mess with PYTHONPATH because the Python
172 binary in the environment already searches the site-packages in the environment, and the lib of the 178 binary in the environment already searches the site-packages in the environment, and the lib of the
173 environment, and so on. 179 environment, and so on.
174 --> 180 -->
175 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> 181 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/anaconda/bin</environment_variable>
176 <environment_variable action="prepend_to" name="DYLD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable> 182 <environment_variable action="prepend_to" name="DYLD_LIBRARY_PATH">$INSTALL_DIR/vtk/lib</environment_variable>
177 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable> 183 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable>
178 </action> 184 </action>
179 </actions> 185 </actions>
180 </actions_group> 186 </actions_group>
181 </install> 187 </install>