From 306102f59bd448bd8b18d4457b17033571193f5a Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 12 Feb 2025 21:47:02 +0100 Subject: [PATCH] CI: unbreak bundled libc++ on FreeBSD after 363a22555432 CMake Error at src/CMakeLists.txt:262 (add_custom_command): Error evaluating generator expression: $ Target "libcxx-abi-shared" not found. CMake Error at libcxx_build/include/cmake_install.cmake:4117 (file): file INSTALL cannot find "/tmp/cirrus-ci-build/libcxx_build/include/c++/v1/libcxx.imp": No such file or directory. --- .ci/build-freebsd.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index 90471b3a15..d98aac9dd6 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -12,7 +12,9 @@ tar xf llvm*.tar.xz export CC=clang19 CXX=clang++19 cmake -B libcxx_build -G Ninja -S llvm*/libcxx \ -DLLVM_CCACHE_BUILD=ON \ + -DLIBCXX_CXX_ABI=libcxxrt \ -DLIBCXX_INCLUDE_BENCHMARKS=OFF \ + -DPython3_EXECUTABLE:FILEPATH="$(pkg query -x %Fp python3 | grep -Fm1 bin/python)" \ -DCMAKE_INSTALL_PREFIX:PATH="$PWD/libcxx_prefix" cmake --build libcxx_build cmake --install libcxx_build