Mercurial > repos > greg > package_icqsol_1_0
comparison tool_dependencies.xml @ 15:37a6491da3ed draft
Uploaded
author | greg |
---|---|
date | Tue, 12 Jul 2016 09:36:46 -0400 |
parents | 283b9344e7c4 |
children | cee17b592b17 |
comparison
equal
deleted
inserted
replaced
14:283b9344e7c4 | 15:37a6491da3ed |
---|---|
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=`pwd`/../build \ | 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 \ |
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 -j 8 && | 62 make -j 8 && |
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> | |
78 | 66 |
79 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> | 67 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> |
80 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> | 68 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> |
81 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> | 69 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> |
82 <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> |
83 <action type="change_directory">icqsol</action> | 71 <action type="change_directory">icqsol</action> |
84 <action type="shell_command"> | 72 <action type="shell_command"> |
85 | 73 |
86 export PATH=$INSTALL_DIR/bin:$PATH && | 74 export PATH=$INSTALL_DIR/vtk/bin:$PATH && |
87 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 && | 75 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 && |
88 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib && | 76 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib && |
89 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR | 77 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR |
90 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | 78 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR |
91 | 79 |
124 | 112 |
125 export PATH=$INSTALL_DIR/bin:$PATH && | 113 export PATH=$INSTALL_DIR/bin:$PATH && |
126 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && | 114 export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig:$PKG_CONFIG_PATH && |
127 cmake \ | 115 cmake \ |
128 -DCMAKE_BUILD_TYPE:STRING=Release \ | 116 -DCMAKE_BUILD_TYPE:STRING=Release \ |
129 -DCMAKE_INSTALL_PREFIX:PATH=`pwd`/../build \ | 117 -DCMAKE_INSTALL_PREFIX:PATH==$INSTALL_DIR/vtk \ |
130 -DVTK_WRAP_PYTHON:BOOL=ON \ | 118 -DVTK_WRAP_PYTHON:BOOL=ON \ |
131 -DVTK_Group_StandAlone:BOOL=OFF \ | 119 -DVTK_Group_StandAlone:BOOL=OFF \ |
132 -DVTK_Group_Rendering:BOOL=OFF \ | 120 -DVTK_Group_Rendering:BOOL=OFF \ |
133 -DModule_vtkCommonColor:BOOL=ON \ | 121 -DModule_vtkCommonColor:BOOL=ON \ |
134 -DModule_vtkCommonComputationalGeometry:BOOL=ON \ | 122 -DModule_vtkCommonComputationalGeometry:BOOL=ON \ |
156 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && | 144 -DPYTHON_INCLUDE_DIR:PATH=$INSTALL_DIR/include/python2.7 . && |
157 make -j 8 && | 145 make -j 8 && |
158 make install | 146 make install |
159 | 147 |
160 </action> | 148 </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> | |
173 | 149 |
174 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> | 150 <!-- Install and compile icqsol version 1.0 as a package in the above Python --> |
175 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> | 151 <action type="make_directory">$TMP_WORK_DIR/icqsol</action> |
176 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> | 152 <action type="change_directory">$TMP_WORK_DIR/icqsol</action> |
177 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> | 153 <action type="shell_command">git clone https://github.com/pletzer/icqsol.git</action> |
178 <action type="change_directory">icqsol</action> | 154 <action type="change_directory">icqsol</action> |
179 <action type="shell_command"> | 155 <action type="shell_command"> |
180 | 156 |
181 export PATH=$INSTALL_DIR/bin:$PATH && | 157 export PATH=$INSTALL_DIR/vtk/bin:$PATH && |
182 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 && | 158 export VTK_INCLUDE_DIR=$INSTALL_DIR/vtk/include/vtk-6.3 && |
183 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib && | 159 export VTK_LIBRARY_DIR=$INSTALL_DIR/vtk/lib && |
184 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR && | 160 $INSTALL_DIR/bin/python setup.py develop --prefix=$INSTALL_DIR && |
185 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR | 161 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR |
186 | 162 |