[Openmp-commits] [PATCH] D41945: Fix for libomp static build
Phabricator via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 11 07:11:18 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL322282: Fixed libomp static build broken by the commit rL322202. (authored by achurbanov, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D41945?vs=129424&id=129450#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41945
Files:
openmp/trunk/runtime/src/z_Linux_util.cpp
Index: openmp/trunk/runtime/src/z_Linux_util.cpp
===================================================================
--- openmp/trunk/runtime/src/z_Linux_util.cpp
+++ openmp/trunk/runtime/src/z_Linux_util.cpp
@@ -1341,7 +1341,9 @@
__kmp_init_bootstrap_lock(&__kmp_console_lock);
__kmp_init_bootstrap_lock(&__kmp_task_team_lock);
+#if USE_ITT_BUILD
__kmp_itt_reset(); // reset ITT's global state
+#endif /* USE_ITT_BUILD */
/* This is necessary to make sure no stale data is left around */
/* AC: customers complain that we use unsafe routines in the atfork
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41945.129450.patch
Type: text/x-patch
Size: 576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180111/2fbb503e/attachment.bin>
More information about the Openmp-commits
mailing list