Mercurial > repos > greg > package_icqsol_1_0
comparison tool_dependencies.xml @ 4:789f4e7df861 draft
Uploaded
author | greg |
---|---|
date | Thu, 19 Nov 2015 21:25:50 -0500 |
parents | 245029376e25 |
children | 70c2d4e3a34b |
comparison
equal
deleted
inserted
replaced
3:245029376e25 | 4:789f4e7df861 |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <tool_dependency> | 2 <tool_dependency> |
3 <package name="cmake" version="3.2.3"> | 3 <package name="cmake" version="3.2.3"> |
4 <repository changeset_revision="e932c7599efd" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> | 4 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> |
5 </package> | 5 </package> |
6 <package name="icqsol" version="1.0"> | 6 <package name="icqsol" version="1.0"> |
7 <install version="1.0"> | 7 <install version="1.0"> |
8 <actions_group> | 8 <actions_group> |
9 <actions architecture="x86_64" os="linux"> | 9 <actions architecture="x86_64" os="linux"> |
10 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 --> | 10 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 --> |
11 <action target_filename="Anaconda-2.3.0-Linux-x86_64.sh" type="download_file">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh</action> | 11 <action target_filename="Anaconda-2.3.0-Linux-x86_64.sh" type="download_file">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-Linux-x86_64.sh</action> |
12 | 12 |
13 <action type="set_environment_for_install"> | 13 <action type="set_environment_for_install"> |
14 <repository changeset_revision="e932c7599efd" 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</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="shell_command"> | 22 <action type="make_directory">$TMP_WORK_DIR/vtk</action> |
23 | 23 <action type="change_directory">$TMP_WORK_DIR/vtk</action> |
24 export PATH=$INSTALL_DIR/bin:$PATH && | 24 <action target_filename="VTK-6.2.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.2/VTK-6.2.0.tar.gz</action> |
25 <action type="shell_command">tar xfvz VTK-6.2.0.tar.gz</action> | |
26 <action type="change_directory">VTK-6.2.0</action> | |
27 <action type="shell_command"> | |
28 | |
29 export PATH=$INSTALL_DIR/bin:$PATH && | |
30 export PYTHONPATH=$INSTALL_DIR:$PYTHONPATH && | |
25 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && | 31 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && |
26 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && | 32 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && |
27 conda install -c https://conda.anaconda.org/anaconda vtk --yes | 33 cmake \ |
28 | 34 -DCMAKE_BUILD_TYPE:STRING=Release \ |
29 </action> | 35 -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/../build \ |
36 -DVTK_WRAP_PYTHON:BOOL=ON \ | |
37 -DVTK_Group_StandAlone:BOOL=OFF \ | |
38 -DVTK_Group_Rendering:BOOL=OFF \ | |
39 -DModule_vtkCommonColor:BOOL=ON \ | |
40 -DModule_vtkCommonComputationalGeometry:BOOL=ON \ | |
41 -DModule_vtkCommonDataModel:BOOL=ON \ | |
42 -DModule_vtkCommonExecutionModel:BOOL=ON \ | |
43 -DModule_vtkCommonMath:BOOL=ON \ | |
44 -DModule_vtkCommonMisc:BOOL=ON \ | |
45 -DModule_vtkCommonSystem:BOOL=ON \ | |
46 -DModule_vtkCommonTransforms:BOOL=ON \ | |
47 -DModule_vtkFiltersCore:BOOL=ON \ | |
48 -DModule_vtkFiltersExtraction:BOOL=ON \ | |
49 -DModule_vtkFiltersGeneral:BOOL=ON \ | |
50 -DModule_vtkFiltersGeneric:BOOL=ON \ | |
51 -DModule_vtkFiltersGeometry:BOOL=ON \ | |
52 -DModule_vtkFiltersPython:BOOL=ON \ | |
53 -DModule_vtkImagingHybrid:BOOL=ON \ | |
54 -DModule_vtkIOCore:BOOL=ON \ | |
55 -DModule_vtkIOGeometry:BOOL=ON \ | |
56 -DModule_vtkIOLegacy:BOOL=ON \ | |
57 -DModule_vtkWrappingPythonCore:BOOL=ON \ | |
58 -DModule_vtkIOPLY:BOOL=ON \ | |
59 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/lib/python2.7/site-packages \ | |
60 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/bin/python \ | |
61 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/lib/libpython2.7.so \ | |
62 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && | |
63 make -j 8 && | |
64 make install | |
65 | |
66 </action> | |
67 <action type="move_directory_files"> | |
68 <source_directory>../build/bin</source_directory> | |
69 <destination_directory>$INSTALL_DIR/bin</destination_directory> | |
70 </action> | |
71 <action type="move_directory_files"> | |
72 <source_directory>../build/include</source_directory> | |
73 <destination_directory>$INSTALL_DIR/include</destination_directory> | |
74 </action> | |
75 <action type="move_directory_files"> | |
76 <source_directory>../build/lib</source_directory> | |
77 <destination_directory>$INSTALL_DIR/lib</destination_directory> | |
78 </action> | |
30 | 79 |
31 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python --> | 80 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python --> |
32 <action type="make_directory">$TMP_WORK_DIR/pycsg</action> | 81 <action type="make_directory">$TMP_WORK_DIR/pycsg</action> |
33 <action type="change_directory">$TMP_WORK_DIR/pycsg</action> | 82 <action type="change_directory">$TMP_WORK_DIR/pycsg</action> |
34 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action> | 83 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action> |
40 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && | 89 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && |
41 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | 90 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR |
42 | 91 |
43 </action> | 92 </action> |
44 | 93 |
45 <!-- Install and compile pytriangle version 1.0 as a package in the above Python --> | |
46 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action> | |
47 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action> | |
48 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action> | |
49 <action type="change_directory">pytriangle</action> | |
50 <action type="shell_command"> | |
51 | |
52 export PATH=$INSTALL_DIR/bin:$PATH && | |
53 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && | |
54 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && | |
55 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | |
56 | |
57 </action> | |
58 | |
59 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> | 94 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> |
60 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> | 95 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> |
61 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> | 96 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> |
62 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> | 97 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> |
63 <action type="change_directory">icqsol</action> | 98 <action type="change_directory">icqsol</action> |
64 <action type="shell_command"> | 99 <action type="shell_command"> |
65 | 100 |
66 export PATH=$INSTALL_DIR/bin:$PATH && | 101 export PATH=$INSTALL_DIR/bin:$PATH && |
67 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && | 102 export LD_LIBRARY_PATH=$INSTALL_DIR/lib:$LD_LIBRARY_PATH && |
68 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR | 103 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR |
104 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | |
69 | 105 |
70 </action> | 106 </action> |
71 | 107 |
72 <action type="set_environment"> | 108 <action type="set_environment"> |
73 <!-- | 109 <!-- |
74 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets | 110 Only the PATH environment variable needs to be modified for an Anaconda environment so that it gets |
75 the right Python from the environment bin directory. | 111 the right Python from the environment bin directory. |
76 --> | 112 --> |
77 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> | 113 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> |
78 <environment_variable action="set_to" name="ANACONDAHOME">$INSTALL_DIR</environment_variable> | 114 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable> |
79 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable> | 115 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable> |
80 </action> | 116 </action> |
81 </actions> | 117 </actions> |
82 | 118 |
83 <actions architecture="x86_64" os="darwin"> | 119 <actions architecture="x86_64" os="darwin"> |
84 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 --> | 120 <!-- Install and compile Anaconda 2.3.0 which provides Python 2.7.10 --> |
85 <action target_filename="Anaconda-2.3.0-MacOSX-x86_64.sh" type="download_file">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-MacOSX-x86_64.sh</action> | 121 <action target_filename="Anaconda-2.3.0-MacOSX-x86_64.sh" type="download_file">https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda-2.3.0-MacOSX-x86_64.sh</action> |
86 | 122 |
87 <action type="set_environment_for_install"> | 123 <action type="set_environment_for_install"> |
88 <repository changeset_revision="e932c7599efd" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> | 124 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> |
89 <package name="cmake" version="3.2.3" /> | 125 <package name="cmake" version="3.2.3" /> |
90 </repository> | 126 </repository> |
91 </action> | 127 </action> |
92 | 128 |
93 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR</action> | 129 <action type="shell_command">bash Anaconda-2.3.0-MacOSX-x86_64.sh -b -f -p $INSTALL_DIR</action> |
94 | 130 |
95 <!-- Install VTK 6.3.0 into the above Python --> | 131 <!-- Install and compile VTK 6.2.0 as a package in the above Python --> |
96 <action type="shell_command"> | 132 <action type="make_directory">$TMP_WORK_DIR/vtk</action> |
97 | 133 <action type="change_directory">$TMP_WORK_DIR/vtk</action> |
98 export PATH=$INSTALL_DIR/bin:$PATH && | 134 <action target_filename="VTK-6.2.0.tar.gz" type="download_file">http://www.vtk.org/files/release/6.2/VTK-6.2.0.tar.gz</action> |
99 export DYLD_LIBRARY_PATH=$INSTALL_DIR/lib:$DYLD_LIBRARY_PATH && | 135 <action type="shell_command">tar xfvz VTK-6.2.0.tar.gz</action> |
100 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && | 136 <action type="change_directory">VTK-6.2.0</action> |
101 conda install -c https://conda.anaconda.org/anaconda vtk --yes | 137 <action type="shell_command"> |
102 | 138 |
103 </action> | 139 export PATH=$INSTALL_DIR/bin:$INSTALL_DIR/bin:$PATH && |
104 <action type="shell_command"> | 140 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && |
105 ln -s $INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin/vtkpython $INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin/python | 141 cmake \ |
106 </action> | 142 -DCMAKE_BUILD_TYPE:STRING=Release \ |
143 -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/../build \ | |
144 -DVTK_WRAP_PYTHON:BOOL=ON \ | |
145 -DVTK_Group_StandAlone:BOOL=OFF \ | |
146 -DVTK_Group_Rendering:BOOL=OFF \ | |
147 -DModule_vtkCommonColor:BOOL=ON \ | |
148 -DModule_vtkCommonComputationalGeometry:BOOL=ON \ | |
149 -DModule_vtkCommonDataModel:BOOL=ON \ | |
150 -DModule_vtkCommonExecutionModel:BOOL=ON \ | |
151 -DModule_vtkCommonMath:BOOL=ON \ | |
152 -DModule_vtkCommonMisc:BOOL=ON \ | |
153 -DModule_vtkCommonSystem:BOOL=ON \ | |
154 -DModule_vtkCommonTransforms:BOOL=ON \ | |
155 -DModule_vtkFiltersCore:BOOL=ON \ | |
156 -DModule_vtkFiltersExtraction:BOOL=ON \ | |
157 -DModule_vtkFiltersGeneral:BOOL=ON \ | |
158 -DModule_vtkFiltersGeneric:BOOL=ON \ | |
159 -DModule_vtkFiltersGeometry:BOOL=ON \ | |
160 -DModule_vtkFiltersPython:BOOL=ON \ | |
161 -DModule_vtkImagingHybrid:BOOL=ON \ | |
162 -DModule_vtkIOCore:BOOL=ON \ | |
163 -DModule_vtkIOGeometry:BOOL=ON \ | |
164 -DModule_vtkIOLegacy:BOOL=ON \ | |
165 -DModule_vtkWrappingPythonCore:BOOL=ON \ | |
166 -DModule_vtkIOPLY:BOOL=ON \ | |
167 -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=$INSTALL_DIR/lib/python2.7/site-packages \ | |
168 -DPYTHON_EXECUTABLE:PATH=$INSTALL_DIR/bin/python \ | |
169 -DPYTHON_LIBRARY:PATH=$INSTALL_DIR/lib/libpython2.7.dylib \ | |
170 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && | |
171 make -j 8 && | |
172 make install | |
173 | |
174 </action> | |
175 <action type="move_directory_files"> | |
176 <source_directory>../build/bin</source_directory> | |
177 <destination_directory>$INSTALL_DIR/bin</destination_directory> | |
178 </action> | |
179 <action type="move_directory_files"> | |
180 <source_directory>../build/include</source_directory> | |
181 <destination_directory>$INSTALL_DIR/include</destination_directory> | |
182 </action> | |
183 <action type="move_directory_files"> | |
184 <source_directory>../build/lib</source_directory> | |
185 <destination_directory>$INSTALL_DIR/lib</destination_directory> | |
186 </action> | |
107 | 187 |
108 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python --> | 188 <!-- Install and compile pycsg version 0.3.0 as a package in the above Python --> |
109 <action type="make_directory">$TMP_WORK_DIR/pycsg</action> | 189 <action type="make_directory">$TMP_WORK_DIR/pycsg</action> |
110 <action type="change_directory">$TMP_WORK_DIR/pycsg</action> | 190 <action type="change_directory">$TMP_WORK_DIR/pycsg</action> |
111 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action> | 191 <action type="shell_command">git clone https://github.com/pletzer/pycsg.git</action> |
112 <action type="change_directory">pycsg</action> | 192 <action type="change_directory">pycsg</action> |
113 <action type="shell_command"> | 193 <action type="shell_command"> |
114 | 194 |
115 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH && | 195 export PATH=$INSTALL_DIR/bin:$PATH && |
116 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH && | 196 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && |
117 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && | |
118 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | |
119 | |
120 </action> | |
121 | |
122 <!-- Install and compile pytriangle version 1.0 as a package in the above Python --> | |
123 <action type="make_directory">$TMP_WORK_DIR/pytriangle</action> | |
124 <action type="change_directory">$TMP_WORK_DIR/pytriangle</action> | |
125 <action type="shell_command">git clone https://github.com/pletzer/pytriangle.git</action> | |
126 <action type="change_directory">pytriangle</action> | |
127 <action type="shell_command"> | |
128 | |
129 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH && | |
130 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH && | |
131 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH | |
132 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | 197 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR |
133 | 198 |
134 </action> | 199 </action> |
135 | 200 |
136 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> | 201 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> |
138 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> | 203 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> |
139 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> | 204 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> |
140 <action type="change_directory">icqsol</action> | 205 <action type="change_directory">icqsol</action> |
141 <action type="shell_command"> | 206 <action type="shell_command"> |
142 | 207 |
143 export PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/bin:$PATH && | 208 export PATH=$INSTALL_DIR/bin:$PATH && |
144 export DYLD_LIBRARY_PATH=$INSTALL_DIR/pkgs/vtk-6.3.0-py27_0/lib:$DYLD_LIBRARY_PATH && | 209 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR && |
145 cmake -DINSTALL_USER=OFF -DINSTALL_PREFIX=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR | 210 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR |
146 | 211 |
147 </action> | 212 </action> |
148 | 213 |
149 <action type="set_environment"> | 214 <action type="set_environment"> |
150 <!-- | 215 <!-- |
155 hard links, this is done efficiently. Thus, there's no need to mess with PYTHONPATH because the Python | 220 hard links, this is done efficiently. Thus, there's no need to mess with PYTHONPATH because the Python |
156 binary in the environment already searches the site-packages in the environment, and the lib of the | 221 binary in the environment already searches the site-packages in the environment, and the lib of the |
157 environment, and so on. | 222 environment, and so on. |
158 --> | 223 --> |
159 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> | 224 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> |
160 <environment_variable action="set_to" name="ANACONDAHOME">$INSTALL_DIR</environment_variable> | 225 <environment_variable action="prepend_to" name="DYLD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable> |
161 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable> | 226 <environment_variable action="set_to" name="ICQSOL_ROOT_DIR">$INSTALL_DIR</environment_variable> |
162 </action> | 227 </action> |
163 </actions> | 228 </actions> |
164 </actions_group> | 229 </actions_group> |
165 </install> | 230 </install> |