Skip to content

Commit

Permalink
Use before-build-linux and remove symbolic links
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy committed Apr 18, 2024
1 parent ccd98bd commit 11d9ba1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions cibw_before_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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*"
Expand Down

0 comments on commit 11d9ba1

Please sign in to comment.