Skip to content

Commit

Permalink
build: Use uv for maturin builds instead (#3540)
Browse files Browse the repository at this point in the history
# Overview
This PR updates the installer that maturin uses during builds from the
default `pip` to `uv`.

Co-authored-by: Raunak Bhagat <[email protected]>
  • Loading branch information
raunakab and Raunak Bhagat authored Dec 11, 2024
1 parent c8f8490 commit e5ea73f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ hooks: .venv

.PHONY: build
build: check-toolchain .venv ## Compile and install Daft for development
@unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --extras=all
@unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --extras=all --uv

.PHONY: build-release
build-release: check-toolchain .venv ## Compile and install a faster Daft binary
@unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --release
@unset CONDA_PREFIX && PYO3_PYTHON=$(VENV_BIN)/python $(VENV_BIN)/maturin develop --release --uv

.PHONY: test
test: .venv build ## Run tests
Expand Down

0 comments on commit e5ea73f

Please sign in to comment.