mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[OpenMP] Add CMake option to disable libarcher
support
The support for `libarcher` can sometimes cause problems when running tests or building. We want an option to turn this off when we are not directly testing `libarcher`. Reviewed By: jplehr Differential Revision: https://reviews.llvm.org/D147343
This commit is contained in:
parent
78ae870f11
commit
dea2defbf4
@ -6,9 +6,9 @@
|
||||
# //
|
||||
# //===----------------------------------------------------------------------===//
|
||||
|
||||
|
||||
set(LIBOMP_ARCHER_SUPPORT TRUE CACHE BOOL "Build libomp with archer support")
|
||||
|
||||
if(LIBOMP_OMPT_SUPPORT)
|
||||
if(LIBOMP_OMPT_SUPPORT AND LIBOMP_ARCHER_SUPPORT)
|
||||
include_directories(${LIBOMP_INCLUDE_DIR})
|
||||
|
||||
add_library(archer SHARED ompt-tsan.cpp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user