Skip to content

Commit

Permalink
test(ci): windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziqi-Yang committed Jul 31, 2024
1 parent a039294 commit 8265d3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"

[tool.cibuildwheel.windows]
environment = { SKBUILD_CMAKE_ARGS="-DLLVM_DIR=$(pwd)/llvm-build/lib/cmake/llvm;-DZLIB_ROOT=C:/ProgramData/chocolatey/lib/zlib"}
environment = { SKBUILD_CMAKE_ARGS="-DLLVM_DIR=$(pwd)/llvm-build/lib/cmake/llvm;-DZLIB_ROOT=$VCPKG_INSTALLATION_ROOT/installed/x64-windows/share/zlib" }

[tool.cibuildwheel.macos.environment]
# Needed for full C++17 support
Expand Down
9 changes: 5 additions & 4 deletions scripts/action/install_llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ elif [[ "$sys" == "Msys" ]]; then
root_llvm_dir_name="clang+llvm-18.1.8-x86_64-pc-windows-msvc"

# install libraries
choco install zlib -y
pwd
ls -lht
echo $LLVM_DIR
vcpkg install zlib

# MacOS
elif [[ "$sys" == "Darwin" ]]; then # Mac (only for 14 or later, i.e. apple silicon)
Expand All @@ -45,3 +42,7 @@ curl -L -o ./llvm-build.tar.xz "$url"
tar -xf ./llvm-build.tar.xz
mv "$root_llvm_dir_name" ./llvm-build

ls
pwd


0 comments on commit 8265d3b

Please sign in to comment.