mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-13 01:41:55 -06:00
changed: bundle eigen3 in the original tarball for debian
brings back packages on ubuntu xenial
This commit is contained in:
parent
7e0cb99bad
commit
44879c94c4
2
debian/control
vendored
2
debian/control
vendored
@ -7,7 +7,7 @@ Build-Depends: build-essential, debhelper (>= 9), libboost-filesystem-dev,
|
||||
libdune-common-dev, libdune-istl-dev, cmake, libtinyxml-dev, bc,
|
||||
libert.ecl-dev, git, zlib1g-dev, libtool, doxygen,
|
||||
texlive-latex-extra, texlive-latex-recommended, ghostscript,
|
||||
libopm-core-dev, libeigen3-dev (>= 3.2.0), libopm-material-dev,
|
||||
libopm-core-dev, libopm-material-dev,
|
||||
libopm-parser-dev, libboost-iostreams-dev, libopm-common-dev,
|
||||
libopm-grid-dev, libdune-grid-dev, libug-dev, libopm-output-dev,
|
||||
libtrilinos-zoltan-dev, libopenmpi-dev, mpi-default-bin
|
||||
|
17
debian/mk_orig_source
vendored
Executable file
17
debian/mk_orig_source
vendored
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
ORIGDIR=`pwd`
|
||||
TOPDIR=`dirname $0`
|
||||
tmp=`mktemp -d`
|
||||
pushd .
|
||||
cd $TOPDIR/..
|
||||
git archive --prefix opm-simulators-$1/ -o $tmp/opm-simulators.tar.gz $2
|
||||
cd $tmp
|
||||
wget https://github.com/OPM/eigen3/archive/master.tar.gz -O eigen3-master.tar.gz
|
||||
tar zxvf opm-simulators.tar.gz
|
||||
cd opm-simulators-$1
|
||||
tar zxvf ../eigen3-master.tar.gz
|
||||
cd ..
|
||||
tar zcvf $ORIGDIR/opm-simulators-$1.tar.gz opm-simulators-$1/
|
||||
popd
|
||||
rm $tmp -Rf
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -21,7 +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 -DUSE_MPI=1 -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-simulators1 -DWHOLE_PROG_OPTIM=OFF -DUSE_RUNPATH=OFF
|
||||
mkdir build-eigen
|
||||
cd build-eigen && cmake $(CURDIR)/eigen3-master -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/install-eigen3
|
||||
cd build-eigen && make install
|
||||
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 -DCMAKE_PREFIX_PATH=/tmp/install-eigen3
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install -- install-html
|
||||
|
Loading…
Reference in New Issue
Block a user