projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0a8a7
)
Propagate BUILD_BFLOAT16 to CFLAGS
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Tue, 14 Sep 2021 14:12:27 +0000
(16:12 +0200)
committer
GitHub
<noreply@github.com>
Tue, 14 Sep 2021 14:12:27 +0000
(16:12 +0200)
cmake/system.cmake
patch
|
blob
|
history
diff --git
a/cmake/system.cmake
b/cmake/system.cmake
index 7d2672998a70bbeb5e274486ac32aea284c786be..f56ded9663d0d8dae89884403598e5995f11cb51 100644
(file)
--- a/
cmake/system.cmake
+++ b/
cmake/system.cmake
@@
-469,6
+469,9
@@
endif()
if (BUILD_COMPLEX16)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBUILD_COMPLEX16")
endif()
+if (BUILD_BFLOAT16)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBUILD_BFLOAT16")
+endif()
if(NOT MSVC)
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} ${CCOMMON_OPT}")
endif()