File: rules

package info (click to toggle)
armci-mpi 0.3.1~beta-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,792 kB
  • sloc: ansic: 13,028; sh: 243; makefile: 58; fortran: 44
file content (21 lines) | stat: -rwxr-xr-x 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/mpi-default-dev/debian_defaults

export OMPI_MCA_plm_rsh_agent=/bin/false

ifeq (ia64, $(DEB_HOST_ARCH))
  DEB_BUILD_OPTIONS += nocheck
endif

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	dh_autoreconf --as-needed

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	$(MAKE) -k check MPIEXEC="mpiexec -np 2" ARMCI_USE_WIN_ALLOCATE=1 || cat test-suite.log
endif