@@ -46,19 +46,7 @@ build:
4646 name : precice
4747 code : |
4848 (cd /home/foam-extend-3.2 && source etc/prefs.sh && source etc/bashrc)
49-
50- cd src/thirdParty
51-
52- export PRECICE_MPI_LIB=mpi
53- export PRECICE_MPI_LIB_PATH="`mpicc --showme:libdirs`"
54- export PRECICE_MPI_INC_PATH="`mpicc --showme:incdirs`"
55- export CPLUS_INCLUDE_PATH=`pwd`/eigen:`pwd`/boost
56- export LIBRARY_PATH=$FOAM_LIBBIN
57-
58- cd precice
59- scons -j $WM_NCOMPPROCS build=release python=off petsc=off compiler=mpicxx solib
60- cp build/release-nopetsc-nopython/libprecice.* ${FOAM_LIBBIN}/
61- rm -rf build/*
49+ cd src/thirdParty && ./compile_precice
6250 - script :
6351 name : boundary conditions
6452 code : |
@@ -184,19 +172,7 @@ debug:
184172 name : precice
185173 code : |
186174 (cd /home/foam-extend-3.2 && source etc/prefs.sh && source etc/bashrc)
187-
188- cd src/thirdParty
189-
190- export PRECICE_MPI_LIB=mpi
191- export PRECICE_MPI_LIB_PATH="`mpicc --showme:libdirs`"
192- export PRECICE_MPI_INC_PATH="`mpicc --showme:incdirs`"
193- export CPLUS_INCLUDE_PATH=`pwd`/eigen:`pwd`/boost
194- export LIBRARY_PATH=$FOAM_LIBBIN
195-
196- cd precice
197- scons -j $WM_NCOMPPROCS build=debug python=off petsc=off compiler=mpicxx solib
198- cp build/debug-nopetsc-nopython/libprecice.* ${FOAM_LIBBIN}/
199- rm -rf build/*
175+ cd src/thirdParty && ./compile_precice
200176 - script :
201177 name : boundary conditions
202178 code : |
@@ -286,19 +262,7 @@ ubuntu:
286262 name : precice
287263 code : |
288264 (cd /home/foam-extend-3.2 && source etc/prefs.sh && source etc/bashrc)
289-
290- cd src/thirdParty
291-
292- export PRECICE_MPI_LIB=mpi
293- export PRECICE_MPI_LIB_PATH="`mpicc --showme:libdirs`"
294- export PRECICE_MPI_INC_PATH="`mpicc --showme:incdirs`"
295- export CPLUS_INCLUDE_PATH=`pwd`/eigen:`pwd`/boost
296- export LIBRARY_PATH=$FOAM_LIBBIN
297-
298- cd precice
299- scons -j $WM_NCOMPPROCS build=release python=off petsc=off compiler=mpicxx solib
300- cp build/release-nopetsc-nopython/libprecice.* ${FOAM_LIBBIN}/
301- rm -rf build/*
265+ cd src/thirdParty && ./compile_precice
302266 - script :
303267 name : boundary conditions
304268 code : |
0 commit comments