Skip to content

Commit

Permalink
Update pip.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson committed Dec 15, 2023
1 parent fe91c87 commit 1f1e815
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
max-size: 5G
run: which ccache && ccache -s

# cibuildwheel is confused by the presence of the .so
# prebuilts for Hexagon and considers them an error.
Expand All @@ -73,6 +74,7 @@ jobs:
- name: Build Wheels
uses: pypa/[email protected]
env:
# -DHalide_CCACHE_BUILD=ON \
# CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_ARCHS_LINUX: "${{ matrix.arch }}"
# CIBW_BUILD: "cp38-manylinux* cp39-manylinux* cp310-manylinux* cp311-manylinux* p312-manylinux*"
Expand All @@ -81,18 +83,15 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/halide/manylinux2014_x86_64-llvm:${{ env.LLVM_VER }}
CIBW_MANYLINUX_AARCH64_IMAGE: ghcr.io/halide/manylinux2014_aarch64-llvm:${{ env.LLVM_VER }}
CIBW_BEFORE_ALL_LINUX: |
ccache -s && \
cmake -G Ninja -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DHalide_CCACHE_BUILD=ON \
-DWITH_DOCS=NO \
-DWITH_PYTHON_BINDINGS=NO \
-DWITH_TESTS=NO \
-DWITH_TUTORIALS=NO \
-DWITH_UTILS=NO \
-DWITH_PYTHON_STUBS=NO && \
cmake --build build --target install && \
ccache -s
cmake --build build --target install \
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 1f1e815

Please sign in to comment.