[compiler-rt] r288860 - [XRay][compiler-rt] Explicitly add dependency to pthread

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 15:08:45 PST 2016


Author: dberris
Date: Tue Dec  6 17:08:45 2016
New Revision: 288860

URL: http://llvm.org/viewvc/llvm-project?rev=288860&view=rev
Log:
[XRay][compiler-rt] Explicitly add dependency to pthread

This should fix the sanitizer bootstrap builds.

Follow-up to D26232.

Modified:
    compiler-rt/trunk/lib/xray/tests/CMakeLists.txt

Modified: compiler-rt/trunk/lib/xray/tests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/xray/tests/CMakeLists.txt?rev=288860&r1=288859&r2=288860&view=diff
==============================================================================
--- compiler-rt/trunk/lib/xray/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/xray/tests/CMakeLists.txt Tue Dec  6 17:08:45 2016
@@ -46,6 +46,7 @@ macro(add_xray_unittest testname)
           DEPS ${TEST_DEPS}
           LINK_FLAGS ${TARGET_LINK_FLAGS}
           -lstdc++ -lm ${CMAKE_THREAD_LIBS_INIT}
+          -lpthread
           -L${COMPILER_RT_LIBRARY_OUTPUT_DIR} -lclang_rt.xray-fdr-${arch})
       endif()
       # FIXME: Figure out how to run even just the unit tests on APPLE.




More information about the llvm-commits mailing list