From 11d9ba193a400088d300b67e45d00a2567f248dc Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Thu, 18 Apr 2024 19:20:43 +0800 Subject: [PATCH] Use `before-build-linux` and remove symbolic links --- cibw_before_all.sh | 4 ---- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/cibw_before_all.sh b/cibw_before_all.sh index d93b076..2ba31dd 100644 --- a/cibw_before_all.sh +++ b/cibw_before_all.sh @@ -22,10 +22,6 @@ elif command -v apk; then elif command -v yum; then yum -y install centos-release-scl llvm-toolset-7.0 llvm-toolset-7.0-llvm-devel source scl_source enable llvm-toolset-7.0 || true - ln -s `which clang` /usr/local/bin/clang - ln -s `which clang-7` /usr/local/bin/clang-7 - ln -s `which llvm-config` /usr/local/bin/llvm-config - ln -s `which llvm-config-7` /usr/local/bin/llvm-config-7 fi pushd rizin diff --git a/pyproject.toml b/pyproject.toml index 8e4f15b..f7ce8f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ setup = ['-Dwheel=true'] [tool.cibuildwheel] build-verbosity = 3 before-all = "bash {project}/cibw_before_all.sh" -before-build = "source scl_source enable llvm-toolset-7.0 || true" +before-build-linux = "source scl_source enable llvm-toolset-7.0 || true" manylinux-x86_64-image = "manylinux2014" manylinux-i686-image = "manylinux2014" skip = "pp*"