Skip to content

Commit

Permalink
test pp-* 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Dec 15, 2023
1 parent 51c2750 commit ca3e464
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
CIBW_SKIP: "pp37-* cp*" # TEST
CIBW_BUILD_VERBOSITY: 3
CIBW_ENVIRONMENT: "USE_LONG_INT=0 USE_UNSIGNED_LONG_INT=0 USE_CBLAS=0 USE_CUDA=1 CUDA_DYNAMIC_LOADING=1 CUDA_HOME=/usr/local/cuda"
# CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y;
CIBW_BEFORE_BUILD_LINUX: yum update; yum install gcc-gfortran openblas-devel.x86_64 lapack-devel.x86_64 -y;
with:
output-dir: wheelhouse

Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3-dev \
python3-pip \
python3-venv \
wget \
&& \
apt-get clean && \
Expand All @@ -55,7 +56,7 @@ RUN rm -rf build dist
RUN /usr/bin/python3 setup.py clean
RUN /usr/bin/python3 -m pip install --upgrade pip
RUN /usr/bin/python3 -m pip install build
RUN /usr/bin/python3 -m build --wheel
RUN /usr/bin/python3 -m build --wheel --outdir dist

# -------
# Runtime
Expand Down
2 changes: 1 addition & 1 deletion tools/ci/cirrus_deploy_conda_macosx_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ conda_build_wheels_macosx_arm64_task:
# supplied by isuruf.
# Find out SDKROOT via `xcrun --sdk macosx --show-sdk-path`
CIBW_ENVIRONMENT_MACOS: >
SDKROOT=/Applications/Xcode-14.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
SDKROOT=/Applications/Xcode-15.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
CFLAGS="-I/opt/homebrew/opt/libomp/include $CFLAGS"
CXXFLAGS="-I/opt/homebrew/opt/libomp/include $CXXFLAGS"
Expand Down
8 changes: 4 additions & 4 deletions tools/ci/cirrus_deploy_pypi_linux_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ pypi_test_linux_aarch64_task:
depends_on:
- pypi_upload_wheels_linux_aarch64
matrix:
- env:
PY_VER: "3.9"
# - env:
# PY_VER: "3.9"
- env:
PY_VER: "3.10"
- env:
PY_VER: "3.11"
- env:
PY_VER: "3.12"
# - env:
# PY_VER: "3.12"

test_script: |
apt update
Expand Down
2 changes: 1 addition & 1 deletion tools/ci/cirrus_deploy_pypi_macosx_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pypi_build_wheels_macosx_arm64_task:
# supplied by isuruf.
# Find out SDKROOT via `xcrun --sdk macosx --show-sdk-path`
CIBW_ENVIRONMENT_MACOS: >
SDKROOT=/Applications/Xcode-14.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
SDKROOT=/Applications/Xcode-15.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
CFLAGS="-I/opt/homebrew/opt/libomp/include $CFLAGS"
CXXFLAGS="-I/opt/homebrew/opt/libomp/include $CXXFLAGS"
Expand Down

0 comments on commit ca3e464

Please sign in to comment.