From c0bcf319285b25b0bd56742ae3063d42e101d092 Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Mon, 25 Apr 2022 14:20:42 +0900 Subject: fix build error 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 Change-Id: Idba959362d6e8e4078ebfca2d3844ca03878e0b1 --- packaging/openblas.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/openblas.spec b/packaging/openblas.spec index aca70a60e..f39bf049a 100644 --- a/packaging/openblas.spec +++ b/packaging/openblas.spec @@ -147,7 +147,7 @@ export EXTRALIB+="-lasan" # 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 -- cgit v1.2.3