1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
CFLAGS=-g -O2
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--enable-cxx \
--with-tcgmsg \
--with-scalapack="-lscalapack-openmpi -lblacs-openmpi" \
--with-blas=-lblas \
--with-lapack=-llapack \
--with-mpi \
--with-armci=/usr
override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/debian/tmp
rm -f $(CURDIR)/debian/tmp/usr/include/error.h
rm -f $(CURDIR)/debian/tmp/usr/include/memcpy.h
rm -f $(CURDIR)/debian/tmp/usr/include/scope.h
rm -f $(CURDIR)/debian/tmp/usr/include/string-util.h
rm -f $(CURDIR)/debian/tmp/usr/include/table.h
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
-dh_auto_test -- -j1 -k ARMCI_USE_WIN_ALLOCATE=1 || cat test-suite.log
endif
|