This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository iqtree.
commit 8b2f7b38e19e6ede746200aa39fe83ce02201b53 Author: Andreas Tille <[email protected]> Date: Wed Sep 9 22:16:36 2015 +0200 Build omp and no-omp version at the same time --- debian/rules | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 2aa2fff..0d96cd4 100755 --- a/debian/rules +++ b/debian/rules @@ -9,10 +9,24 @@ mandir=$(CURDIR)/debian/$(pkg)/usr/share/man/man1/ %: dh $@ +# Build first with OMP multiprocessing +override_dh_auto_configure: + dh_auto_configure -- -DIQTREE_FLAGS="omp" + +override_dh_auto_build: + dh_auto_build + mkdir -p debian/tmp/usr/bin + cp -a `find $(CURDIR) -name iqtree-omp -type f -executable` debian/tmp/usr/bin + # build again without OMP + dh_auto_clean + dh_auto_configure + dh_auto_build + override_dh_auto_install: dh_auto_install # upstream confirms models.nex is not needed but a simple example find debian -name models.nex -delete + mv debian/tmp/usr/bin/iqtree-omp debian/$(pkg)/usr/bin override_dh_installdocs: dh_installdocs @@ -27,12 +41,14 @@ override_dh_installman: override_dh_auto_test: # use only the first example for build time test to save time on autobuilders +# if [ "`find $(CURDIR) -name iqtree -type f -executable`" = "" ] ; then \ +# iqtreeomp=`find $(CURDIR) -name iqtree-omp -type f -executable` ; \ +# ln -s iqtree-omp `dirname $$iqtreeomp`/iqtree ; \ +# fi sed '/ myprefix/,$$d' debian/Documents_source/example.sh > example.short + echo 'time $(CURDIR)/debian/tmp/usr/bin/iqtree-omp -s example.phy -omp 2' >> example.short time sh example.short rm example.short -#override_dh_compress: -# dh_compress --exclude=.phy --exclude=.nex - get-orig-source: uscan --verbose --force-download --repack --compression xz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/iqtree.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
