Skip to content

Commit

Permalink
chore: update cibuildwheel config
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jan 2, 2025
1 parent 6bd9355 commit 175e657
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ test-requires = "pytest"

[tool.cibuildwheel.linux]
manylinux-x86_64-image = "ghcr.io/endstonemc/manylinux_2_31_x86_64"
environment = { LLVM_VERSION = 16, CC = "/usr/bin/clang-${LLVM_VERSION}", CXX = "/usr/bin/clang++-${LLVM_VERSION}" }
environment = { LLVM_VERSION = 16, CC = "/usr/bin/clang", CXX = "/usr/bin/clang++" }
before-all = [
"apt-get update -y -q && apt-get install -y -q build-essential lsb-release wget software-properties-common gnupg",
"wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && ./llvm.sh ${LLVM_VERSION}",
"apt-get install -y -q libc++-${LLVM_VERSION}-dev libc++abi-${LLVM_VERSION}-dev"
"apt-get install -y -q libc++-${LLVM_VERSION}-dev libc++abi-${LLVM_VERSION}-dev",
"update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${LLVM_VERSION} 100",
"update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${LLVM_VERSION} 100",
]

0 comments on commit 175e657

Please sign in to comment.