Skip to content

Build python wheels - cuda #4

Build python wheels - cuda

Build python wheels - cuda #4

name: Build python wheels - cuda
on:
workflow_dispatch
jobs:
build-wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
# - uses: Jimver/[email protected]
# id: cuda-toolkit
# with:
# cuda: '12.5.0'
# log-file-suffix: '${{matrix.os}}.txt'
# linux-local-args: '["--toolkit"]'
- name: Build wheels
uses: pypa/[email protected]
with:
output-dir: dist
env:
CIBW_BUILD: cp38-manylinux_x86_64
CIBW_BUILD_VERBOSITY: 1
CIBW_BEFORE_ALL_LINUX: "yum install -y openblas-devel nvidia-cuda-toolkit"
CIBW_CONFIG_SETTINGS: "cmake.define.ENABLE_PYTHON_EMBED=OFF cmake.define.PYGENTEN_CUDA=ON"
- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/