pixi: use clang on Linux.

clang uses considerably less memory on Linux allowing more concurrent instances than with g++.
Using clang reduced build times on a machine from 63m to 32m.
This commit is contained in:
Jacob Oursland
2025-04-15 01:10:27 -07:00
committed by Benjamin Nauck
parent ac02a9a39d
commit 7b759aae1a
3 changed files with 137 additions and 28 deletions

View File

@@ -76,6 +76,9 @@ sysroot_linux-64 = "*"
xorg-x11-server-common-cos7-x86_64 = "*"
xorg-x11-server-xvfb-cos7-x86_64 = "*"
xorg-xproto = "*"
clang = ">=19.1.7,<20"
clangxx = ">=19.1.7,<20"
llvm-openmp = ">=20.1.2,<21"
## Linux Dependencies (aarch64)
[target.linux-aarch64.dependencies]
@@ -111,6 +114,9 @@ sysroot_linux-aarch64 = "*"
xorg-x11-server-common-cos7-aarch64 = "*"
xorg-x11-server-xvfb-cos7-aarch64 = "*"
xorg-xproto = "*"
clang = ">=19.1.7,<20"
clangxx = ">=19.1.7,<20"
llvm-openmp = ">=20.1.2,<21"
## macOS Dependencies (Intel)
[target.osx-64.dependencies]