Skip to content

Commit

Permalink
cibuildwheel fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidt0x committed Jun 10, 2024
1 parent c21fd27 commit 2c19f09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ jobs:
run: |
brew install libomp llvm
export CLANG_PREFIX=$(brew --prefix llvm)
export OMP_PREFIX=$(brew --prefix libomp)
export CC=$CLANG_PREFIX/bin/clang
export CXX=$CLANG_PREFIX/bin/clang++
export LDFLAGS="-L$CLANG_PREFIX/lib
-Wl,-rpath,$CLANG_PREFIX/lib $LDFLAGS -L$OMP_PREFIX/lib"
export CPPFLAGS="-I$CLANG_PREFIX/include $CPPFLAGS -I$OMP_PREFIX/include"
./pr-check.sh
# - uses: codecov/codecov-action@v1

Expand All @@ -45,8 +41,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macos-13, macos-14]
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,11 @@ write_to = "brainiak/_version.py"
[tool.cibuildwheel]
test-requires = "pytest"
test-command = "mpiexec -n 2 python -m mpi4py -m pytest {project}/tests"
skip = ["*-win32", "pp*"]

[tool.cibuildwheel.linux]
before-all = [
"yum install mpich",
"yum -y install mpich",
]

[tool.cibuildwheel.macos]
Expand Down

0 comments on commit 2c19f09

Please sign in to comment.