mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-13 08:34:49 -05:00
update debian packaging
- deal with module renaming - deal with upstream module renaming and additions - enable MPI and add related dependencies
This commit is contained in:
Vendored
+3
-2
@@ -8,6 +8,7 @@
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
export OMPI_MCA_plm_rsh_agent=/bin/false
|
||||
|
||||
%:
|
||||
dh $@
|
||||
@@ -20,10 +21,10 @@ override_dh_auto_build:
|
||||
|
||||
# consider using -DUSE_VERSIONED_DIR=ON if backporting
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-autodiff1 -DWHOLE_PROG_OPTIM=OFF -DUSE_RUNPATH=OFF
|
||||
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DUSE_MPI=1 -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-simulators1 -DWHOLE_PROG_OPTIM=OFF -DUSE_RUNPATH=OFF
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install -- install-html
|
||||
|
||||
override_dh_installdocs:
|
||||
dh_installdocs --link-doc=libopm-autodiff1
|
||||
dh_installdocs --link-doc=libopm-simulators1
|
||||
|
||||
Reference in New Issue
Block a user