mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-23 18:11:17 +08:00
fix release build + patch bump (#2387)
This commit is contained in:
parent
aec67f2fa6
commit
84b4d96efa
@ -272,6 +272,7 @@ jobs:
|
|||||||
name: Build Python package
|
name: Build Python package
|
||||||
command: |
|
command: |
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
|
python setup.py clean --all
|
||||||
<< parameters.build_env >> MLX_BUILD_STAGE=1 python -m build -w
|
<< parameters.build_env >> MLX_BUILD_STAGE=1 python -m build -w
|
||||||
- when:
|
- when:
|
||||||
condition:
|
condition:
|
||||||
@ -333,6 +334,7 @@ jobs:
|
|||||||
<< parameters.build_env >> pip install ".[dev]" -v
|
<< parameters.build_env >> pip install ".[dev]" -v
|
||||||
pip install typing_extensions
|
pip install typing_extensions
|
||||||
python setup.py generate_stubs
|
python setup.py generate_stubs
|
||||||
|
python setup.py clean --all
|
||||||
MLX_BUILD_STAGE=1 << parameters.build_env >> python -m build -w
|
MLX_BUILD_STAGE=1 << parameters.build_env >> python -m build -w
|
||||||
bash python/scripts/repair_linux.sh
|
bash python/scripts/repair_linux.sh
|
||||||
- when:
|
- when:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#define MLX_VERSION_MAJOR 0
|
#define MLX_VERSION_MAJOR 0
|
||||||
#define MLX_VERSION_MINOR 26
|
#define MLX_VERSION_MINOR 26
|
||||||
#define MLX_VERSION_PATCH 4
|
#define MLX_VERSION_PATCH 5
|
||||||
#define MLX_VERSION_NUMERIC \
|
#define MLX_VERSION_NUMERIC \
|
||||||
(100000 * MLX_VERSION_MAJOR + 1000 * MLX_VERSION_MINOR + MLX_VERSION_PATCH)
|
(100000 * MLX_VERSION_MAJOR + 1000 * MLX_VERSION_MINOR + MLX_VERSION_PATCH)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user