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:
fd42ca4
)
Add USE_TLS option to switch between old and new memory.c
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sat, 25 Aug 2018 17:36:12 +0000
(19:36 +0200)
committer
GitHub
<noreply@github.com>
Sat, 25 Aug 2018 17:36:12 +0000
(19:36 +0200)
cmake/system.cmake
patch
|
blob
|
history
diff --git
a/cmake/system.cmake
b/cmake/system.cmake
index
48e8f75
..
18b2c3b
100644
(file)
--- a/
cmake/system.cmake
+++ b/
cmake/system.cmake
@@
-214,6
+214,10
@@
if (CONSISTENT_FPCSR)
set(CCOMMON_OPT "${CCOMMON_OPT} -DCONSISTENT_FPCSR")
endif ()
+if (USE_TLS)
+ set(CCOMMON_OPT "${CCOMMON_OPT} -DUSE_TLS")
+endif ()
+
# Only for development
# set(CCOMMON_OPT "${CCOMMON_OPT} -DPARAMTEST")
# set(CCOMMON_OPT "${CCOMMON_OPT} -DPREFETCHTEST")