Skip to content

Commit 2ab53e2

Browse files
authored
Merge pull request cnerg#2 from kkiesling/pymoab-prefix-fix
pymoab image fixes
2 parents dac7c68 + adcaa2c commit 2ab53e2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

pymoab-py2-18.04

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ RUN cd $HOME/opt \
4545
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined" -DENABLE_MPI=OFF \
4646
-DENABLE_HDF5=ON -DHDF5_ROOT=/usr/lib/x86_64-linux-gnu/hdf5/serial \
4747
-DENABLE_NETCDF=OFF -DENABLE_METIS=OFF -DENABLE_IMESH=OFF -DENABLE_FBIGEOM=OFF \
48-
-DENABLE_PYMOAB=ON -DPREFIX=$HOME/opt/moab \
49-
&& make all -j 8 \
50-
&& cd .. \
48+
-DENABLE_PYMOAB=ON -DCMAKE_INSTALL_PREFIX=$HOME/opt/moab \
49+
&& make -j 8 \
50+
&& make install \
51+
&& cd $HOME/opt/moab \
5152
&& rm -rf build moab
5253

5354
# set environment variables

pymoab-py3-18.04

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ RUN cd $HOME/opt \
5050
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined" -DENABLE_MPI=OFF \
5151
-DENABLE_HDF5=ON -DHDF5_ROOT=/usr/lib/x86_64-linux-gnu/hdf5/serial \
5252
-DENABLE_NETCDF=OFF -DENABLE_METIS=OFF -DENABLE_IMESH=OFF -DENABLE_FBIGEOM=OFF \
53-
-DENABLE_PYMOAB=ON -DPREFIX=$HOME/opt/moab \
54-
&& make all -j 8 \
55-
&& cd .. \
53+
-DENABLE_PYMOAB=ON -DCMAKE_INSTALL_PREFIX=$HOME/opt/moab \
54+
&& make -j 8 \
55+
&& make install \
56+
&& cd $HOME/opt/moab \
5657
&& rm -rf build moab
5758

5859
# set environment variables

0 commit comments

Comments
 (0)