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*"