openblas/SOURCES/openblas-0.3.10-tests.patch

23 lines
802 B
Diff
Raw Normal View History

2020-01-21 15:39:56 +00:00
diff --git a/Makefile b/Makefile
2020-10-22 06:12:42 +00:00
index ae8f7de..61f325c 100644
2020-01-21 15:39:56 +00:00
--- a/Makefile
+++ b/Makefile
2020-10-22 06:12:42 +00:00
@@ -133,13 +133,13 @@ tests :
2020-01-21 15:39:56 +00:00
ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN)))
touch $(LIBNAME)
ifndef NO_FBLAS
- $(MAKE) -C test all
+ $(MAKE) -C test FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
endif
2020-10-22 06:12:42 +00:00
- $(MAKE) -C utest all
+ $(MAKE) -C utest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
2020-01-21 15:39:56 +00:00
ifndef NO_CBLAS
- $(MAKE) -C ctest all
+ $(MAKE) -C ctest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
2020-10-22 06:12:42 +00:00
ifeq ($(CPP_THREAD_SAFETY_TEST), 1)
- $(MAKE) -C cpp_thread_test all
+ $(MAKE) -C cpp_thread_test FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
endif
2020-01-21 15:39:56 +00:00
endif
endif