[compiler-rt] [compiler-rt] Use installed libc++(abi) for tests instead of build tree (PR #115077)

Vincent Lee via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 01:37:06 PST 2024


================
@@ -680,15 +680,16 @@ macro(add_custom_libcxx name prefix)
 
   ExternalProject_Add(${name}
     DEPENDS ${name}-clobber ${LIBCXX_DEPS}
-    PREFIX ${CMAKE_CURRENT_BINARY_DIR}/${name}
+    PREFIX ${prefix}
     SOURCE_DIR ${LLVM_MAIN_SRC_DIR}/../runtimes
-    BINARY_DIR ${prefix}
+    BINARY_DIR ${prefix}/build
----------------
thevinster wrote:

Was this an expected change? If so, doesn't that mean the `-isystem` path in fuzzer's CMakeLists.txt should include the `/build/` prefix?

https://github.com/llvm/llvm-project/pull/115077


More information about the llvm-commits mailing list