From 29d4d693a48a1a6dab8a6809f29b11038ae2eee4 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 6 May 2020 21:02:24 +0000 Subject: [PATCH] math/openblas: Unbreak some users because some functions were broken with OPENMP=OFF Change the default to OPENMP=ON For example, erkale (science/erkale) was breaking: OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option. Approved by: portmgr (unbreak) --- math/openblas/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/math/openblas/Makefile b/math/openblas/Makefile index 538a515b5674..ce113c4a9c4c 100644 --- a/math/openblas/Makefile +++ b/math/openblas/Makefile @@ -4,6 +4,7 @@ PORTNAME= openblas DISTVERSIONPREFIX= v DISTVERSION= 0.3.9 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= math MASTER_SITES= NL/lapack/timing/:lapack_tmg @@ -36,6 +37,7 @@ TEST_TARGET= tests PLIST_SUB+= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DYNAMIC_ARCH INTERFACE64 OPENMP +OPTIONS_DEFAULT= OPENMP OPTIONS_DEFINE_i386= AVX AVX2 OPTIONS_DEFINE_amd64= AVX AVX2 OPTIONS_DEFINE_powerpc64= POWER6