[Openmp-commits] [PATCH] D147343: [OpenMP] Add CMake option to disable `libarcher` support

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 31 12:56:48 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdea2defbf4aa: [OpenMP] Add CMake option to disable `libarcher` support (authored by jhuber6).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147343/new/

https://reviews.llvm.org/D147343

Files:
  openmp/tools/archer/CMakeLists.txt


Index: openmp/tools/archer/CMakeLists.txt
===================================================================
--- openmp/tools/archer/CMakeLists.txt
+++ openmp/tools/archer/CMakeLists.txt
@@ -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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147343.510106.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230331/4db0b713/attachment.bin>


More information about the Openmp-commits mailing list