Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build-mlx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ jobs:
# avoids patching setup.py.
export CMAKE_ARGS="-DMLX_BUILD_METAL=OFF -DMLX_BUILD_CUDA=OFF -DCMAKE_INSTALL_LIBDIR=lib -G Ninja"
export MLX_BUILD_BACKEND_PACKAGE=1
# setup.py's get_version() only emits the clean tag version when
# PYPI_RELEASE=1; otherwise it appends .devYYYYMMDD+<git-hash>
# regardless of building from an exact, unpatched tag checkout.
export PYPI_RELEASE=1
"$PY" -m build -w

auditwheel repair dist/mlx_cpu-*.whl --plat manylinux_2_39_riscv64 --wheel-dir /output
Expand Down Expand Up @@ -130,6 +134,8 @@ jobs:
cd /mlx
export CMAKE_ARGS="-DMLX_BUILD_METAL=OFF -DMLX_BUILD_CUDA=OFF -DCMAKE_INSTALL_LIBDIR=lib -G Ninja"
export MLX_BUILD_FRONTEND_PACKAGE=1
# See the build_backend job for why this is needed.
export PYPI_RELEASE=1
"$PY" -m build -w

# libmlx.so ships separately in mlx-cpu, so it (and anything only reachable
Expand Down