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:
d2cb610
)
Add option USE_LOCKING for single-threaded build with locking support
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Wed, 15 May 2019 21:19:30 +0000
(23:19 +0200)
committer
GitHub
<noreply@github.com>
Wed, 15 May 2019 21:19:30 +0000
(23:19 +0200)
cmake/system.cmake
patch
|
blob
|
history
diff --git
a/cmake/system.cmake
b/cmake/system.cmake
index
d0f5608
..
adedd32
100644
(file)
--- a/
cmake/system.cmake
+++ b/
cmake/system.cmake
@@
-136,6
+136,10
@@
endif ()
if (USE_THREAD)
message(STATUS "Multi-threading enabled with ${NUM_THREADS} threads.")
+else()
+ if (${USE_LOCKING})
+ set(CCOMMON_OPT "${CCOMMON_OPT} -DUSE_LOCKING")
+ endif ()
endif ()
include("${PROJECT_SOURCE_DIR}/cmake/prebuild.cmake")