[Openmp-commits] [PATCH] D18244: Expose the option to disable building with ITT

Hal Finkel via Openmp-commits openmp-commits at lists.llvm.org
Thu Mar 17 08:34:11 PDT 2016


hfinkel updated this revision to Diff 50937.
hfinkel added a comment.

Update comment as suggested.


http://reviews.llvm.org/D18244

Files:
  runtime/CMakeLists.txt

Index: runtime/CMakeLists.txt
===================================================================
--- runtime/CMakeLists.txt
+++ runtime/CMakeLists.txt
@@ -200,8 +200,9 @@
   set(MINSIZEREL_BUILD TRUE)
 endif()
 
-# Include itt notify interface? Right now, always.
-set(LIBOMP_USE_ITT_NOTIFY TRUE)
+# Include itt notify interface?
+set(LIBOMP_USE_ITT_NOTIFY TRUE CACHE BOOL
+  "Use the ITT notify interface")
 
 # normal, profile, stubs library.
 set(NORMAL_LIBRARY FALSE)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18244.50937.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160317/6ea0449c/attachment.bin>


More information about the Openmp-commits mailing list