summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2022-04-25 14:20:42 +0900
committerInki Dae <inki.dae@samsung.com>2022-05-27 08:56:07 +0900
commit28e4e9c096e3b0bbe8506b87257c003059899a78 (patch)
treee193710132149ce1872a24e5bae863f1d0a98ce0 /packaging
parent802179bf8793d144120be4c820b3aa0d98778fba (diff)
downloadopenblas-28e4e9c096e3b0bbe8506b87257c003059899a78.tar.gz
openblas-28e4e9c096e3b0bbe8506b87257c003059899a78.tar.bz2
openblas-28e4e9c096e3b0bbe8506b87257c003059899a78.zip
Fixed below build error, [ 13s] getarch_2nd.c: In function 'main': [ 13s] getarch_2nd.c:12:35: error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? [ 13s] 12 | printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); [ 13s] | ^~~~~~~~~~~~~~~~~~~~~~ [ 13s] | XGEMM_DEFAULT_UNROLL_M Reported-by : hyunggi.lee@samsung.com Signed-off-by: Inki Dae <inki.dae@samsung.com> Change-Id: Idba959362d6e8e4078ebfca2d3844ca03878e0b1
Diffstat (limited to 'packaging')
-rw-r--r--packaging/openblas.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/openblas.spec b/packaging/openblas.spec
index b7173e8e0..14a715bb8 100644
--- a/packaging/openblas.spec
+++ b/packaging/openblas.spec
@@ -149,7 +149,7 @@ export LDFLAGS+="-Wl,-z,noexecstack"
# Only x86/x86-64 CPUs support DYNAMIC_ARCH
%ifarch %ix86 x86_64
-%define openblas_target DYNAMIC_ARCH=1
+%define openblas_target DYNAMIC_ARCH=1 TARGET=NEHALEM
%endif
%ifarch armv7l
%define openblas_target TARGET=ARMV7 ARM_SOFTFP_ABI=1