mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 03:25:54 -04:00
[openmp] Disable archer if LIBOMP_OMPT_SUPPORT is off
This fixed build failures due to missing ompt headers. See https://bugs.gentoo.org/700762. Differential Revision: https://reviews.llvm.org/D73249
This commit is contained in:
parent
58ceb81d31
commit
3c545e4b73
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if(LIBOMP_OMPT_SUPPORT)
|
||||||
include_directories(${LIBOMP_INCLUDE_DIR})
|
include_directories(${LIBOMP_INCLUDE_DIR})
|
||||||
|
|
||||||
add_library(archer SHARED ompt-tsan.cpp)
|
add_library(archer SHARED ompt-tsan.cpp)
|
||||||
@ -18,3 +19,4 @@ install(TARGETS archer archer_static
|
|||||||
ARCHIVE DESTINATION ${OPENMP_INSTALL_LIBDIR})
|
ARCHIVE DESTINATION ${OPENMP_INSTALL_LIBDIR})
|
||||||
|
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user