openblas/SOURCES/openblas-0.3.12-tests.patch

23 lines
811 B
Diff
Raw Normal View History

2019-05-07 04:56:00 +00:00
diff --git a/Makefile b/Makefile
2021-05-18 06:41:30 +00:00
index a9af62a2..2f0f11c0 100644
2019-05-07 04:56:00 +00:00
--- a/Makefile
+++ b/Makefile
2021-05-18 06:41:30 +00:00
@@ -138,13 +138,13 @@ tests :
2019-05-07 04:56:00 +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
2021-05-18 06:41:30 +00:00
- $(MAKE) -C utest all
+ $(MAKE) -C utest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
ifneq ($(NO_CBLAS), 1)
2019-05-07 04:56:00 +00:00
- $(MAKE) -C ctest all
+ $(MAKE) -C ctest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
2021-05-18 06:41:30 +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
2019-05-07 04:56:00 +00:00
endif
endif