-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build wheels for Apple Silicon * Update CHANGELOG.rst * Update build_wheels.yml * Update build_wheels.yml * Update build_wheels.yml * Update build_wheels.yml * update pyproject.toml * update build_wheels.yml * jemalloc and xsimd build-specific * typo * arm64 brew * force arm64 * debugging * adjust path * use intel llvm * oops * conda instead of brew * getting there * typo * don't use local jemalloc * use lomp instead of fopenmp flag * setup.py error * copying sklearn * cleanup * delete unused file --------- Co-authored-by: Uwe L. Korn <[email protected]>
- Loading branch information
1 parent
6e7763d
commit 0bf1214
Showing
5 changed files
with
50 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: Build and upload to PyPI | ||
|
||
on: | ||
push: | ||
pull_request: | ||
release: | ||
types: | ||
|
@@ -12,7 +13,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, macos-10.15, windows-2019] | ||
os: [ubuntu-20.04, windows-2019, macos-11] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -25,6 +26,8 @@ jobs: | |
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: auto aarch64 | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
GLM_ARCHITECTURE: default | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -41,7 +44,7 @@ jobs: | |
- uses: actions/setup-python@v4 | ||
name: Install Python | ||
with: | ||
python-version: '3.8' | ||
python-version: '3.10' | ||
|
||
- name: Install build dependencies | ||
run: python -m pip install setuptools setuptools-scm wheel mako numpy Cython | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -x | ||
|
||
if [[ "$CIBW_BUILD" == *-macosx_arm64 ]]; then | ||
CONDA_CHANNEL="conda-forge/osx-arm64" | ||
else | ||
CONDA_CHANNEL="conda-forge/osx-64" | ||
fi | ||
|
||
conda create -n build -c $CONDA_CHANNEL jemalloc xsimd llvm-openmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters