Skip to content

Commit a86d345

Browse files
committed
Use libcompiler-rt and remove hack
1 parent f028ded commit a86d345

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Tools/pixi-packages/build.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,3 @@ touch configure-done
3737

3838
make -j"${CPU_COUNT}" install
3939
ln -sf "${PREFIX}/bin/python3" "${PREFIX}/bin/python"
40-
41-
# https://github.com/prefix-dev/rattler-build/issues/2012
42-
if [[ ${OSTYPE} == "darwin"* ]]; then
43-
cp "${BUILD_PREFIX}/lib/clang/21/lib/darwin/libclang_rt.asan_osx_dynamic.dylib" "${PREFIX}/lib/"
44-
cp "${BUILD_PREFIX}/lib/clang/21/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib" "${PREFIX}/lib/"
45-
fi

Tools/pixi-packages/default/recipe.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ outputs:
6767
- if: c_compiler == "gcc" and "san" in variant
6868
then:
6969
- libsanitizer
70+
- if: c_compiler == "clang" and "san" in variant
71+
then:
72+
- libcompiler-rt
7073

7174
ignore_run_exports:
7275
from_package:

0 commit comments

Comments
 (0)