Compare commits

...

3 Commits

Author SHA1 Message Date
Cheng
a5f2ce1275 Move pip install to python deps 2025-07-30 17:39:09 +09:00
Cheng
ad69a87050 Verbose install 2025-07-30 16:57:43 +09:00
Cheng
262882b6ca Remove unnecessary uv 2025-07-30 15:30:54 +09:00

View File

@@ -72,10 +72,8 @@ jobs:
- run:
name: Run style checks
command: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
uv pip install pre-commit
uv run --no-project pre-commit run --all
pip install pre-commit
pre-commit run --all
if ! git diff --quiet; then echo 'Style checks failed, please install pre-commit and run pre-commit run --all and push the change'; exit 1; fi
- run:
name: Install dependencies
@@ -85,11 +83,13 @@ jobs:
sudo apt-get update
sudo apt-get install -y libblas-dev liblapack-dev liblapacke-dev
sudo apt-get install openmpi-bin openmpi-common libopenmpi-dev
curl -LsSf https://astral.sh/uv/install.sh | sh
- run:
name: Install Python package
command: |
uv venv
uv pip install cmake
uv pip install -e ".[dev]"
uv pip install -e ".[dev]" -v
- run:
name: Generate package stubs
command: |
@@ -134,6 +134,9 @@ jobs:
command: |
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 \
brew install openmpi uv
- run:
name: Install Python package
command: |
uv venv --python 3.9
uv pip install \
nanobind==2.4.0 \
@@ -142,11 +145,8 @@ jobs:
torch \
tensorflow \
unittest-xml-reporting
- run:
name: Install Python package
command: |
DEBUG=1 CMAKE_ARGS="-DCMAKE_COMPILE_WARNING_AS_ERROR=ON" \
uv pip install -e .
uv pip install -e . -v
- run:
name: Generate package stubs
command: |
@@ -229,7 +229,7 @@ jobs:
command: |
uv venv
CMAKE_ARGS="-DMLX_BUILD_CUDA=ON -DCMAKE_CUDA_COMPILER=`which nvcc`" \
uv pip install -e ".[dev]"
uv pip install -e ".[dev]" -v
- run:
name: Run Python tests
command: |