Skip to content

Commit

Permalink
build(rust): Limit cmake therads to fix crash compiling libz-ng-sys
Browse files Browse the repository at this point in the history
… on macOS
  • Loading branch information
nameexhaustion committed Feb 27, 2024
1 parent 431dfe9 commit 4c2e698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
CARGO_LLVM_COV: 1
CARGO_LLVM_COV_SHOW_ENV: 1
CARGO_LLVM_COV_TARGET_DIR: '/Users/runner/work/polars/polars/target'
CMAKE_BUILD_PARALLEL_LEVEL: 10 # fix resource temporarily unavailable on macOS for libz-ng-sys (https://github.com/pola-rs/polars/pull/14715)

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
env:
SED_INPLACE: ${{ matrix.os == 'macos-latest' && '-i ''''' || '-i'}}
CPU_CHECK_MODULE: py-polars/polars/_cpu_check.py
CMAKE_BUILD_PARALLEL_LEVEL: 10 # fix resource temporarily unavailable on macOS for libz-ng-sys (https://github.com/pola-rs/polars/pull/14715)

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 4c2e698

Please sign in to comment.