update circle

This commit is contained in:
Awni Hannun
2025-07-11 08:32:16 -07:00
parent 38c9085938
commit af05c106c8

View File

@@ -328,6 +328,16 @@ jobs:
auditwheel repair dist/* --plat manylinux_2_31_x86_64
<< parameters.build_env >> MLX_BUILD_COMMON=1 \
python -m build --wheel --outdir wheelhouse
- when:
condition:
equal: ["3.9", << parameters.python_version >>]
steps:
- run:
name: Build common package
command: |
source env/bin/activate
<< parameters.build_env >> MLX_BUILD_COMMON=1 \
python -m build --wheel --outdir wheelhouse
- when:
condition: << parameters.build_env >>
steps:
@@ -335,15 +345,12 @@ jobs:
name: Upload packages
command: |
source env/bin/activate
twine upload wheelhouse/*
twine upload wheelhouse/*.whl
- store_artifacts:
path: wheelhouse/
build_cuda_release:
parameters:
python_version:
type: string
default: "3.9"
build_env:
type: string
default: ""
@@ -364,10 +371,6 @@ jobs:
pip install patchelf
pip install build
pip install twine
<< parameters.build_env >> \
CMAKE_ARGS="-DMLX_BUILD_CUDA=ON -DCMAKE_CUDA_COMPILER=`which nvcc`" \
pip install ".[dev]" -v
python setup.py generate_stubs
<< parameters.build_env >> \
CMAKE_ARGS="-DMLX_BUILD_CUDA=ON -DCMAKE_CUDA_COMPILER=`which nvcc`" \
python -m build --wheel