aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2019-08-26 17:00:47 +0800
committermat <mat@FreeBSD.org>2019-08-26 17:00:47 +0800
commit34944069b9d66c306f4a18e83eed3bb2608057fd (patch)
treef0f6ea251e08b899b8ebcaea763995e322bc5d16 /math
parent57faa0cf4af7b5720b9a85edae929d53c44b5bd4 (diff)
downloadfreebsd-ports-gnome-34944069b9d66c306f4a18e83eed3bb2608057fd.tar.gz
freebsd-ports-gnome-34944069b9d66c306f4a18e83eed3bb2608057fd.tar.zst
freebsd-ports-gnome-34944069b9d66c306f4a18e83eed3bb2608057fd.zip
Unobfuscate.
With hat: portmgr
Diffstat (limited to 'math')
-rw-r--r--math/blasfeo/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/blasfeo/Makefile b/math/blasfeo/Makefile
index e48b7c1771f9..632da1c5ba2c 100644
--- a/math/blasfeo/Makefile
+++ b/math/blasfeo/Makefile
@@ -17,9 +17,10 @@ GH_ACCOUNT= giaf
CMAKE_ARGS= -DTARGET:STRING=GENERIC
-OPTIONS_SINGLE= ${ARCH:C/amd64/TARGET/:C/[a-z].*//} # architecture-wise options are based on the list in Makefile.rule
-OPTIONS_SINGLE_TARGET= ${ARCH:C/amd64/GENERIC X64_INTEL_HASWELL X64_INTEL_SANDY_BRIDGE X64_INTEL_CORE X64_AMD_BULLDOZER/:C/[a-z].*//}
-OPTIONS_DEFAULT= ${ARCH:C/amd64/GENERIC/:C/[a-z].*//}
+OPTIONS_SINGLE= ${OPTIONS_SINGLE_${ARCH}}
+OPTIONS_SINGLE_amd64= TARGETAMD64
+OPTIONS_SINGLE_TARGETAMD64= GENERIC X64_INTEL_HASWELL X64_INTEL_SANDY_BRIDGE X64_INTEL_CORE X64_AMD_BULLDOZER
+OPTIONS_DEFAULT_amd64= GENERIC
# TODO ARM also has SIMD acceleration
GENERIC_DESC= Generic C code without SIMD acceleration