[lapack] 01/01: Fix testsuite flags code

Sébastien Villemot sebastien at moszumanska.debian.org
Fri Nov 22 17:28:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository lapack.

commit 93e039b62b54132b4ae8b72b5da8fc863072aa29
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Fri Nov 22 18:28:05 2013 +0100

    Fix testsuite flags code
---
 debian/rules |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4b7c330..15fbdb9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@ endif
 # Using the -frecursive flag is the solution recommended by upstream for #693269
 # However, we don't want to use -frecursive for the testsuite, it leads to
 #  segfaults on mips{,el} (xeigtstz allocates too much space on the stack)
-FFLAGS_TESTSUITE = $(FFLAGS)
+FFLAGS_TESTSUITE := $(FFLAGS)
 FFLAGS += -frecursive
 FFLAGS_NOOPT += -frecursive
 
@@ -121,7 +121,7 @@ lapacke/liblapacke.a: make.inc
 
 testing/testing_results.txt: liblapack.so
 	LD_LIBRARY_PATH=$$(pwd):$$LD_LIBRARY_PATH \
-		$(MAKE) PICOPTS= OPTS=$(FFLAGS_TESTSUITE) \
+		$(MAKE) PICOPTS= OPTS="$(FFLAGS_TESTSUITE)" \
 		LLIB="-L $$(pwd) -llapack -lblas" lapack_testing
 
 #
@@ -148,7 +148,7 @@ override_dh_auto_clean: make.inc
 # liblapack_pic.a must come before liblapack.a, otherwise the latter will be overwritten
 # We also build the test programs, in order to avoid FTBFS if DEB_BUILD_OPTIONS contains nocheck
 override_dh_auto_build-arch: liblapack_pic.a liblapack.a liblapack.so lapacke/liblapacke_pic.a lapacke/liblapacke.a lapacke/liblapacke.so
-	make -C testing xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintsts xlintstz xlintstds xlintstrfc xlintstrfd xlintstrfs xlintstrfz xlintstzc
+	make OPTS="$(FFLAGS_TESTSUITE)" -C testing xeigtstc xeigtstd xeigtsts xeigtstz xlintstc xlintstd xlintsts xlintstz xlintstds xlintstrfc xlintstrfd xlintstrfs xlintstrfz xlintstzc
 
 override_dh_auto_build-indep: make.inc
 	$(MAKE) html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lapack.git



More information about the debian-science-commits mailing list