-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
30 additions
and
29 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,9 +1,9 @@ | ||
name: build-linux | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
release: | ||
types: | ||
- published | ||
|
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,9 +1,9 @@ | ||
name: build-macos | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
release: | ||
types: | ||
- published | ||
|
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
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 |
---|---|---|
|
@@ -57,7 +57,7 @@ jobs: | |
# does not need manylinux docker, thuns, CUDA can be installed in | ||
# the github action's virtual machine using the Jimver's action | ||
# in the previous action (see above). | ||
- name: Build wheels in windows with CUDA support (X86_64) | ||
- name: Build wheels in windows (X86_64) | ||
if: matrix.os == 'windows-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -72,7 +72,7 @@ jobs: | |
# does not need manylinux docker, thuns, CUDA can be installed in | ||
# the github action's virtual machine using the Jimver's action | ||
# in the previous action (see above). | ||
- name: Build wheels in windows without CUDA support (ARM64) | ||
- name: Build wheels in windows (ARM64) | ||
if: matrix.os == 'windows-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -85,7 +85,7 @@ jobs: | |
|
||
# Do not enable compiling with CUDA for macos since NIVDIA no | ||
# longer supports CUDA in the macos. | ||
- name: Build wheels in mac without CUDA support (X86_64 and arm64) | ||
- name: Build wheels in mac (X86_64 and arm64) | ||
if: matrix.os == 'macos-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -110,29 +110,25 @@ jobs: | |
# anaconda cloud upload size is 1GB, the large wheel size will not | ||
# be a problem. The advantage of bundling cuda libraries to the | ||
# wheel is that the end-user does not have to install cuda toolkit. | ||
- name: Build wheels in linux with CUDA support (X86_64) | ||
- name: Build wheels in linux (X86_64) | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_MANYLINUX_X86_64_IMAGE: sameli/manylinux2014_x86_64_cuda_12.2 | ||
# CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 | ||
# CIBW_BEFORE_ALL_LINUX: chmod +x .github/scripts/install_cuda.sh && .github/scripts/install_cuda.sh | ||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 | ||
CIBW_ARCHS_LINUX: "x86_64" | ||
CIBW_BUILD: "*-manylinux_x86_64" | ||
CIBW_SKIP: "pp* cp36-* cp37-* cp38-*" | ||
CIBW_BUILD_VERBOSITY: 1 | ||
CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y; python -m pip install --upgrade pip; python -m pip install --upgrade numpy | ||
# CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y; python -m pip install --upgrade pip; python -m pip install --upgrade numpy | ||
with: | ||
output-dir: wheelhouse | ||
|
||
# This does not work, the compilation takes several hours, then fails, even without enabling cuda. | ||
# - name: Build wheels in linux without CUDA support (AARCH64) | ||
# - name: Build wheels in linux (AARCH64) | ||
# if: matrix.os == 'ubuntu-latest' | ||
# uses: pypa/[email protected] | ||
# env: | ||
# # CIBW_MANYLINUX_X86_64_IMAGE: sameli/manylinux2014_x86_64_cuda_12.2 | ||
# CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 | ||
# # CIBW_BEFORE_ALL_LINUX: chmod +x .github/scripts/install_cuda.sh && .github/scripts/install_cuda.sh | ||
# CIBW_ARCHS_LINUX: "aarch64" | ||
# CIBW_BUILD: "*-manylinux_aarch64" | ||
# CIBW_SKIP: "pp* cp36-* cp37-* cp38-*" | ||
|
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,9 +1,9 @@ | ||
name: docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# push: | ||
# branches: | ||
# - main | ||
pull_request: | ||
branches: | ||
- main | ||
|
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 |
---|---|---|
|
@@ -57,7 +57,7 @@ jobs: | |
# does not need manylinux docker, thuns, CUDA can be installed in | ||
# the github action's virtual machine using the Jimver's action | ||
# in the previous action (see above). | ||
- name: Build wheels in windows with CUDA support (X86_64) | ||
- name: Build wheels in windows (X86_64) | ||
if: matrix.os == 'windows-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -72,7 +72,7 @@ jobs: | |
# does not need manylinux docker, thuns, CUDA can be installed in | ||
# the github action's virtual machine using the Jimver's action | ||
# in the previous action (see above). | ||
- name: Build wheels in windows without CUDA support (ARM64) | ||
- name: Build wheels in windows (ARM64) | ||
if: matrix.os == 'windows-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -85,7 +85,7 @@ jobs: | |
|
||
# Do not enable compiling with CUDA for macos since NIVDIA no | ||
# longer supports CUDA in the macos. | ||
- name: Build wheels in mac without CUDA support (X86_64 and arm64) | ||
- name: Build wheels in mac (X86_64 and arm64) | ||
if: matrix.os == 'macos-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -110,7 +110,7 @@ jobs: | |
# anaconda cloud upload size is 1GB, the large wheel size will not | ||
# be a problem. The advantage of bundling cuda libraries to the | ||
# wheel is that the end-user does not have to install cuda toolkit. | ||
- name: Build wheels in linux with CUDA support (X86_64) | ||
- name: Build wheels in linux (X86_64) | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -121,12 +121,12 @@ jobs: | |
CIBW_BUILD: "*-manylinux_x86_64" | ||
CIBW_SKIP: "pp* cp36-* cp37-* cp38-*" | ||
CIBW_BUILD_VERBOSITY: 1 | ||
CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y; python -m pip install --upgrade pip; python -m pip install --upgrade numpy | ||
# CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y; python -m pip install --upgrade pip; python -m pip install --upgrade numpy | ||
with: | ||
output-dir: wheelhouse | ||
|
||
# This does not work, the compilation takes several hours, then fails, even without enabling cuda. | ||
# - name: Build wheels in linux without CUDA support (AARCH64) | ||
# - name: Build wheels in linux (AARCH64) | ||
# if: matrix.os == 'ubuntu-latest' | ||
# uses: pypa/[email protected] | ||
# env: | ||
|
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