From 8ec9c7c7ad3390dbaf8bb9c1e442e4f5054f33aa Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 26 Aug 2017 14:17:26 +0200 Subject: [PATCH] openblas: GENERIC doesn't work, use specific cpus. --- sci-libs/openblas/openblas-0.2.19.recipe | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sci-libs/openblas/openblas-0.2.19.recipe b/sci-libs/openblas/openblas-0.2.19.recipe index f17920ea9..7d8e01555 100644 --- a/sci-libs/openblas/openblas-0.2.19.recipe +++ b/sci-libs/openblas/openblas-0.2.19.recipe @@ -4,7 +4,7 @@ DESCRIPTION="OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD\ HOMEPAGE="http://www.openblas.net/" COPYRIGHT="2011-2016 The OpenBLAS Project" LICENSE="BSD (3-clause)" -REVISION="6" +REVISION="7" SOURCE_URI="http://github.com/xianyi/OpenBLAS/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="9c40b5e4970f27c5f6911cb0a28aa26b6c83f17418b69f8e5a116bb983ca8557" SOURCE_DIR="OpenBLAS-$portVersion" @@ -48,8 +48,11 @@ BUILD() { # DYNAMIC_ARCH is x86 only # PPC & others should specify TARGET= + target= + [ "$targetArchitecture" == x86 ] && target=NORTHWOOD + [ "$targetArchitecture" == x86_64 ] && target=PRESCOTT make MAKE_NB_JOBS=${jobArgs#-j} NO_LAPACKE=1 NO_AFFINITY=1 NO_WARMUP=1 \ - NUM_THREADS=64 DYNAMIC_ARCH=1 USE_OPENMP=1 TARGET=GENERIC + NUM_THREADS=64 DYNAMIC_ARCH=1 USE_OPENMP=1 TARGET=$target } INSTALL()