From: Sébastien Villemot Date: Thu, 13 Feb 2020 17:52:52 +0000 (+0000) Subject: Fix build failure in tests for OpenMP variants X-Git-Tag: archive/raspbian/0.3.8+ds-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7cd040824620b132b093dedec275292e42d17a0a;p=openblas.git Fix build failure in tests for OpenMP variants 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 --- diff --git a/ctest/Makefile b/ctest/Makefile index f562c9b..2902161 100644 --- a/ctest/Makefile +++ b/ctest/Makefile @@ -108,6 +108,8 @@ ifeq ($(USE_OPENMP), 1) ifeq ($(F_COMPILER), GFORTRAN) ifeq ($(C_COMPILER), CLANG) CEXTRALIB = -lomp +else +CEXTRALIB = -lgomp endif endif endif diff --git a/test/Makefile b/test/Makefile index 074411b..70af30f 100644 --- a/test/Makefile +++ b/test/Makefile @@ -126,6 +126,8 @@ ifeq ($(USE_OPENMP), 1) ifeq ($(F_COMPILER), GFORTRAN) ifeq ($(C_COMPILER), CLANG) CEXTRALIB = -lomp +else +CEXTRALIB = -lgomp endif endif endif