- opencascade support inside gmsh is needed for deal.II.
- gmsh finds opencascade using the CASROOT env variable, so export it
when we install opencascade.
- set rpath in gmsh installation to be able to find libs
- disable petsc/slepc in gmsh (not needed)
VERSION=3.0.6
CHECKSUM=78bbfdd695b29cfef18a99f93226afc5
+#VERSION=2.16.0
+#CHECKSUM=762c10f159dab4b042e3140b1c348427
+
NAME=gmsh-${VERSION}-source
PACKING=.tgz
SOURCE=http://gmsh.info/src/
# .so correctly.
CONFOPTS=" -D ENABLE_MPI=OFF \
+ -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE \
+ -D ENABLE_PETSC=OFF \
-D ENABLE_SLEPC=OFF \
-D CMAKE_BUILD_TYPE=Release"
# -D ENABLE_METIS=OFF
# -D ENABLE_FLTK=OFF
# -D ENABLE_OCC=OFF
-# -D ENABLE_PETSC=OFF
# -D ENABLE_COMPRESSED_IO=O
# the following two sadly don't install the .so correctly:
# -D ENABLE_BUILD_SHARED=ON
package_specific_register () {
export OPENCASCADE_DIR=${INSTALL_PATH}
+ export CASROOT=${INSTALL_PATH}
}
package_specific_conf () {
rm -f $CONFIG_FILE
echo "
export OPENCASCADE_DIR=${INSTALL_PATH}
+export CASROOT=${INSTALL_PATH}
" >> $CONFIG_FILE
}
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams