Skip to content

Commit

Permalink
fix(ci)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziqi-Yang committed Jul 30, 2024
1 parent d860ebf commit 7258af7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# macos-13 is an intel runner, macos-14 is apple silicon
# os: [ubuntu-latest, windows-latest, macos-13, macos-14]
# llvm 18.1.8 official release doens't provide macos binary for now
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ archs = "auto64"
skip = "*musllinux*" # doesn't find LLVM musl build
environment = { SKBUILD_CMAKE_ARGS="-DLLVM_DIR=/host/home/runner/work/llvmpym/llvm-build/lib/cmake/llvm"}
before-all = "bash ./scripts/action/build_llvm.sh"
before-build = "echo hello && echo $SKBUILD_CMAKE_ARGS"
before-build = "pwd"

# test-command = "pytest {project}/tests" # Run pytest to ensure that the package was correctly built
# test-requires = "pytest"
Expand Down
2 changes: 2 additions & 0 deletions scripts/action/build_llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ elif [[ "$sys" == "Darwin" ]]; then # Mac (only for 14 or later, i.e. apple sili
echo 1
fi

pwd
curl -L -o ./llvm-build.tar.xz "$url"
tar -xf ./llvm-build.tar.xz
mv "$root_llvm_dir_name" ./llvm-build
ls -lht

if [[ "$manual_build" == false ]]; then
exit
Expand Down

0 comments on commit 7258af7

Please sign in to comment.