Skip to content

Commit 54274f2

Browse files
committed
linux-64 support
1 parent 375594b commit 54274f2

File tree

5 files changed

+34
-7
lines changed

5 files changed

+34
-7
lines changed

Tools/pixi-packages/asan/pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
channels = ["https://prefix.dev/conda-forge"]
3-
platforms = ["osx-arm64"]
3+
platforms = ["osx-arm64", "linux-64"]
44
preview = ["pixi-build"]
55

66
[package.build.backend]

Tools/pixi-packages/asan/recipe.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,22 @@ requirements:
3030
- libtool
3131
- pkg-config
3232
# configure script looks for llvm-ar for lto
33-
- clang-18
34-
- llvm-tools-18
33+
- if: osx
34+
then:
35+
- llvm-tools
36+
- if: linux
37+
then:
38+
- ld_impl_${{ target_platform }}
39+
- binutils_impl_${{ target_platform }}
40+
- clang-19
41+
- llvm-tools-19
3542

3643
host:
3744
- bzip2
3845
- sqlite
3946
- liblzma-devel
4047
- zlib
48+
- zstd
4149
- openssl
4250
- readline
4351
- tk
@@ -46,6 +54,10 @@ requirements:
4654
- xorg-xorgproto
4755
- ncurses
4856
- libffi
57+
- if: linux
58+
then:
59+
- ld_impl_${{ target_platform }}
60+
- libuuid
4961
- libmpdec-devel
5062
- expat
5163

Tools/pixi-packages/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,8 @@ touch configure-done
2929

3030
make -j"${CPU_COUNT}" install
3131
ln -sf "${PREFIX}/bin/python${MINOR_VERSION}" "${PREFIX}/bin/python"
32+
3233
# https://github.com/prefix-dev/rattler-build/issues/2012
33-
cp "${BUILD_PREFIX}/lib/clang/21/lib/darwin/libclang_rt.asan_osx_dynamic.dylib" "${PREFIX}/lib/libclang_rt.asan_osx_dynamic.dylib"
34+
if [[ ${OSTYPE} == "darwin"* ]]; then
35+
cp "${BUILD_PREFIX}/lib/clang/21/lib/darwin/libclang_rt.asan_osx_dynamic.dylib" "${PREFIX}/lib/libclang_rt.asan_osx_dynamic.dylib"
36+
fi

Tools/pixi-packages/default/pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
channels = ["https://prefix.dev/conda-forge"]
3-
platforms = ["osx-arm64"]
3+
platforms = ["osx-arm64", "linux-64"]
44
preview = ["pixi-build"]
55

66
[package.build.backend]

Tools/pixi-packages/default/recipe.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,22 @@ requirements:
2929
- libtool
3030
- pkg-config
3131
# configure script looks for llvm-ar for lto
32-
- clang-18
33-
- llvm-tools-18
32+
- if: osx
33+
then:
34+
- llvm-tools
35+
- if: linux
36+
then:
37+
- ld_impl_${{ target_platform }}
38+
- binutils_impl_${{ target_platform }}
39+
- clang-19
40+
- llvm-tools-19
3441

3542
host:
3643
- bzip2
3744
- sqlite
3845
- liblzma-devel
3946
- zlib
47+
- zstd
4048
- openssl
4149
- readline
4250
- tk
@@ -45,6 +53,10 @@ requirements:
4553
- xorg-xorgproto
4654
- ncurses
4755
- libffi
56+
- if: linux
57+
then:
58+
- ld_impl_${{ target_platform }}
59+
- libuuid
4860
- libmpdec-devel
4961
- expat
5062

0 commit comments

Comments
 (0)