projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e166755
)
[CMake] Specify byproducts for custom libcxx builds
author
Petr Hosek
<phosek@google.com>
Wed, 8 Dec 2021 07:06:12 +0000
(23:06 -0800)
committer
Petr Hosek
<phosek@google.com>
Wed, 8 Dec 2021 07:14:58 +0000
(23:14 -0800)
These were removed in
bda3f2dd763b06427dd2713aa062e356c9d7bdc6
but
are needed as it turned out for the MSan tests.
compiler-rt/cmake/Modules/AddCompilerRT.cmake
patch
|
blob
|
history
diff --git
a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index
958c927
..
1244f35
100644
(file)
--- 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")