Mercurial > repos > greg > package_icqsol_1_0
comparison tool_dependencies.xml @ 8:c53330c0566c draft
Uploaded
author | greg |
---|---|
date | Fri, 08 Jul 2016 15:00:11 -0400 |
parents | 94ea1b21697c |
children | fcc0218a7ad2 |
comparison
equal
deleted
inserted
replaced
7:94ea1b21697c | 8:c53330c0566c |
---|---|
29 export PATH=$INSTALL_DIR/bin:$PATH && | 29 export PATH=$INSTALL_DIR/bin:$PATH && |
30 export PYTHONPATH=$INSTALL_DIR:$PYTHONPATH && | 30 export PYTHONPATH=$INSTALL_DIR:$PYTHONPATH && |
31 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && | 31 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && |
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=`pwd`/../build \ |
35 -DVTK_WRAP_PYTHON:BOOL=ON \ | 35 -DVTK_WRAP_PYTHON:BOOL=ON \ |
36 -DVTK_Group_StandAlone:BOOL=OFF \ | 36 -DVTK_Group_StandAlone:BOOL=OFF \ |
37 -DVTK_Group_Rendering:BOOL=OFF \ | 37 -DVTK_Group_Rendering:BOOL=OFF \ |
38 -DModule_vtkCommonColor:BOOL=ON \ | 38 -DModule_vtkCommonColor:BOOL=ON \ |
39 -DModule_vtkCommonComputationalGeometry:BOOL=ON \ | 39 -DModule_vtkCommonComputationalGeometry:BOOL=ON \ |
61 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && | 61 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && |
62 make && | 62 make && |
63 make install | 63 make install |
64 | 64 |
65 </action> | 65 </action> |
66 <action type="move_directory_files"> | |
67 <source_directory>../build/bin</source_directory> | |
68 <destination_directory>$INSTALL_DIR/bin</destination_directory> | |
69 </action> | |
70 <action type="move_directory_files"> | |
71 <source_directory>../build/include</source_directory> | |
72 <destination_directory>$INSTALL_DIR/include</destination_directory> | |
73 </action> | |
74 <action type="move_directory_files"> | |
75 <source_directory>../build/lib</source_directory> | |
76 <destination_directory>$INSTALL_DIR/lib</destination_directory> | |
77 </action> | |
66 | 78 |
67 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> | 79 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> |
68 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> | 80 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> |
69 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> | 81 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> |
70 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> | 82 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> |
144 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && | 156 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && |
145 make && | 157 make && |
146 make install | 158 make install |
147 | 159 |
148 </action> | 160 </action> |
161 <action type="move_directory_files"> | |
162 <source_directory>../build/bin</source_directory> | |
163 <destination_directory>$INSTALL_DIR/bin</destination_directory> | |
164 </action> | |
165 <action type="move_directory_files"> | |
166 <source_directory>../build/include</source_directory> | |
167 <destination_directory>$INSTALL_DIR/include</destination_directory> | |
168 </action> | |
169 <action type="move_directory_files"> | |
170 <source_directory>../build/lib</source_directory> | |
171 <destination_directory>$INSTALL_DIR/lib</destination_directory> | |
172 </action> | |
149 | 173 |
150 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> | 174 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> |
151 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> | 175 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> |
152 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> | 176 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> |
153 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> | 177 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> |
154 <action type="change_directory">icqsol</action> | 178 <action type="change_directory">icqsol</action> |
155 <action type="shell_command"> | 179 <action type="shell_command"> |
156 | 180 |
157 export PATH=$INSTALL_DIR/bin:$PATH && | 181 export PATH=$INSTALL_DIR/bin:$PATH && |
182 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 && | |
183 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib && | |
158 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR && | 184 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR && |
159 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | 185 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR |
160 | 186 |
161 </action> | 187 </action> |
162 | 188 |