[compiler-rt] 40028ea - [CMake] Specify byproducts for custom libcxx builds
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 7 23:15:10 PST 2021
Author: Petr Hosek
Date: 2021-12-07T23:14:58-08:00
New Revision: 40028eaf703afdf5e50e05ac601b44501e285a42
URL: https://github.com/llvm/llvm-project/commit/40028eaf703afdf5e50e05ac601b44501e285a42
DIFF: https://github.com/llvm/llvm-project/commit/40028eaf703afdf5e50e05ac601b44501e285a42.diff
LOG: [CMake] Specify byproducts for custom libcxx builds
These were removed in bda3f2dd763b06427dd2713aa062e356c9d7bdc6 but
are needed as it turned out for the MSan tests.
Added:
Modified:
compiler-rt/cmake/Modules/AddCompilerRT.cmake
Removed:
################################################################################
diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index 958c927981229..1244f354b8fc9 100644
--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -654,6 +654,7 @@ macro(add_custom_libcxx name prefix)
USES_TERMINAL_INSTALL 1
LIST_SEPARATOR |
EXCLUDE_FROM_ALL TRUE
+ BUILD_BYPRODUCTS "${prefix}/lib/libc++.a" "${prefix}/lib/libc++abi.a"
)
if (CMAKE_GENERATOR MATCHES "Make")
More information about the llvm-commits
mailing list