[PATCH] D23835: [compiler-rt] tsan/tests: Add missing -I for top-level include directory

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 24 06:04:52 PDT 2016


mgorny created this revision.
mgorny added a reviewer: samsonov.
mgorny added a subscriber: cfe-commits.
Herald added subscribers: dberris, kubabrecka.

Otherwise stand-alone build for tests fails due to missing include files.

https://reviews.llvm.org/D23835

Files:
  lib/tsan/tests/CMakeLists.txt

Index: lib/tsan/tests/CMakeLists.txt
===================================================================
--- lib/tsan/tests/CMakeLists.txt
+++ lib/tsan/tests/CMakeLists.txt
@@ -8,6 +8,7 @@
   ${TSAN_CFLAGS}
   ${COMPILER_RT_UNITTEST_CFLAGS}
   ${COMPILER_RT_GTEST_CFLAGS}
+  -I${COMPILER_RT_SOURCE_DIR}/include
   -I${COMPILER_RT_SOURCE_DIR}/lib
   -I${COMPILER_RT_SOURCE_DIR}/lib/tsan/rtl
   -DGTEST_HAS_RTTI=0)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23835.69102.patch
Type: text/x-patch
Size: 413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160824/230ffac8/attachment.bin>


More information about the cfe-commits mailing list