mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 17:31:16 +08:00
Fix package installation for CI (#521)
Co-authored-by: Awni Hannun <awni.hannun@gmail.com>
This commit is contained in:
parent
f27ec5e097
commit
624065c074
@ -136,6 +136,7 @@ jobs:
|
|||||||
pip install pybind11-stubgen
|
pip install pybind11-stubgen
|
||||||
pip install numpy
|
pip install numpy
|
||||||
pip install twine
|
pip install twine
|
||||||
|
# TODO: Update build system to switch away from setup.py develop
|
||||||
- run:
|
- run:
|
||||||
name: Install Python package
|
name: Install Python package
|
||||||
command: |
|
command: |
|
||||||
@ -144,7 +145,7 @@ jobs:
|
|||||||
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
|
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
|
||||||
PYPI_RELEASE=1 \
|
PYPI_RELEASE=1 \
|
||||||
CMAKE_BUILD_PARALLEL_LEVEL="" \
|
CMAKE_BUILD_PARALLEL_LEVEL="" \
|
||||||
python setup.py install
|
python setup.py develop
|
||||||
- run:
|
- run:
|
||||||
name: Generate package stubs
|
name: Generate package stubs
|
||||||
command: |
|
command: |
|
||||||
@ -196,7 +197,7 @@ jobs:
|
|||||||
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
|
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
|
||||||
DEV_RELEASE=1 \
|
DEV_RELEASE=1 \
|
||||||
CMAKE_BUILD_PARALLEL_LEVEL="" \
|
CMAKE_BUILD_PARALLEL_LEVEL="" \
|
||||||
python setup.py install
|
python setup.py develop
|
||||||
- run:
|
- run:
|
||||||
name: Generate package stubs
|
name: Generate package stubs
|
||||||
command: |
|
command: |
|
||||||
@ -247,7 +248,7 @@ jobs:
|
|||||||
conda activate runner-env
|
conda activate runner-env
|
||||||
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
|
DEVELOPER_DIR=$(developer_dir_macos_<< parameters.macos_version >>) \
|
||||||
CMAKE_BUILD_PARALLEL_LEVEL="" \
|
CMAKE_BUILD_PARALLEL_LEVEL="" \
|
||||||
python setup.py install
|
python setup.py develop
|
||||||
- run:
|
- run:
|
||||||
name: Generate package stubs
|
name: Generate package stubs
|
||||||
command: |
|
command: |
|
||||||
|
Loading…
Reference in New Issue
Block a user