summaryrefslogtreecommitdiff
path: root/Makefile.system
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2020-05-01 09:58:30 +0200
committerGitHub <noreply@github.com>2020-05-01 09:58:30 +0200
commit5dd14e3d48e30eababebc7e4534330fff5c2b904 (patch)
treec391a633f8a7b25b024c544c1bc18fa42c57efe4 /Makefile.system
parenta54e35e780e8c9f39a96c8c1e0c42bdf5ae9f999 (diff)
downloadopenblas-5dd14e3d48e30eababebc7e4534330fff5c2b904.tar.gz
openblas-5dd14e3d48e30eababebc7e4534330fff5c2b904.tar.bz2
openblas-5dd14e3d48e30eababebc7e4534330fff5c2b904.zip
Make building the bfloat16 functions conditional on option BUILD_HALF (#2590)
* make building the bfloat16 BLAS functions conditional on BUILD_HALF * pass the BUILD_HALF option to gensymbol * Pass BUILD_HALF as a compiler define for dynamic_arch builds
Diffstat (limited to 'Makefile.system')
-rw-r--r--Makefile.system5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.system b/Makefile.system
index ce071133d..76d755ec2 100644
--- a/Makefile.system
+++ b/Makefile.system
@@ -1124,6 +1124,10 @@ ifeq ($(USE_TLS), 1)
CCOMMON_OPT += -DUSE_TLS
endif
+ifeq ($(BUILD_HALF), 1)
+CCOMMON_OPT += -DBUILD_HALF
+endif
+
CCOMMON_OPT += -DVERSION=\"$(VERSION)\"
ifndef SYMBOLPREFIX
@@ -1395,6 +1399,7 @@ export KERNELDIR
export FUNCTION_PROFILE
export TARGET_CORE
export NO_AVX512
+export BUILD_HALF
export SHGEMM_UNROLL_M
export SHGEMM_UNROLL_N