Fix build failure in tests for OpenMP variants
authorSébastien Villemot <sebastien@debian.org>
Thu, 13 Feb 2020 17:52:52 +0000 (17:52 +0000)
committerSébastien Villemot <sebastien@debian.org>
Thu, 13 Feb 2020 17:52:52 +0000 (17:52 +0000)
Bug: https://github.com/xianyi/OpenBLAS/issues/2416
Last-Update: 2020-02-13

Last-Update: 2020-02-13
Gbp-Pq: Name link-tests-openmp.patch

ctest/Makefile
test/Makefile

index f562c9bb30755267a3f40d6c51b68ec798b06e69..2902161b4b6f214464b99b3206b99ee0e1ec1024 100644 (file)
@@ -108,6 +108,8 @@ ifeq ($(USE_OPENMP), 1)
 ifeq ($(F_COMPILER), GFORTRAN)
 ifeq ($(C_COMPILER), CLANG)
 CEXTRALIB = -lomp
+else
+CEXTRALIB = -lgomp
 endif
 endif
 endif
index 074411b05136ae046a363d3f4f1c39c455b4d509..70af30f52a85c3e7d58b8f64d60fd900c424d743 100644 (file)
@@ -126,6 +126,8 @@ ifeq ($(USE_OPENMP), 1)
 ifeq ($(F_COMPILER), GFORTRAN)
 ifeq ($(C_COMPILER), CLANG)
 CEXTRALIB = -lomp
+else
+CEXTRALIB = -lgomp
 endif
 endif
 endif