[libcxx-commits] [libcxx] d6c12cb - [libc++][Apple] Make sure to set the LIBCXX_LIBRARY_VERSION when building for Apple
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Mar 18 13:22:14 PDT 2023
Author: Louis Dionne
Date: 2023-03-18T16:22:00-04:00
New Revision: d6c12cbee3145d5ba87cb33ae5126d76ed202e4a
URL: https://github.com/llvm/llvm-project/commit/d6c12cbee3145d5ba87cb33ae5126d76ed202e4a
DIFF: https://github.com/llvm/llvm-project/commit/d6c12cbee3145d5ba87cb33ae5126d76ed202e4a.diff
LOG: [libc++][Apple] Make sure to set the LIBCXX_LIBRARY_VERSION when building for Apple
Differential Revision: https://reviews.llvm.org/D146361
Added:
Modified:
libcxx/utils/ci/apple-install-libcxx.sh
Removed:
################################################################################
diff --git a/libcxx/utils/ci/apple-install-libcxx.sh b/libcxx/utils/ci/apple-install-libcxx.sh
index e12e295bffb1..c1d810256225 100755
--- a/libcxx/utils/ci/apple-install-libcxx.sh
+++ b/libcxx/utils/ci/apple-install-libcxx.sh
@@ -119,7 +119,8 @@ for arch in ${architectures}; do
-DCMAKE_INSTALL_PREFIX="${build_dir}/${arch}-install" \
-DCMAKE_INSTALL_NAME_DIR="/usr/lib" \
-DCMAKE_OSX_ARCHITECTURES="${arch}" \
- -DLIBCXXABI_LIBRARY_VERSION="${version}"
+ -DLIBCXXABI_LIBRARY_VERSION="${version}" \
+ -DLIBCXX_LIBRARY_VERSION="${version}"
if [ "$headers_only" = true ]; then
xcrun cmake --build "${build_dir}/${arch}" --target install-cxx-headers install-cxxabi-headers -- -v
More information about the libcxx-commits
mailing list