Skip to content

Commit de7a405

Browse files
committed
force reinstalls
1 parent 36a5885 commit de7a405

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ build-dev:
4141
ifneq ($(USE_MATURIN),)
4242
uv run maturin develop
4343
else
44-
uv pip install -v -e . --config-settings=build-args='--profile dev'
44+
uv pip install --force-reinstall -v -e . --config-settings=build-args='--profile dev'
4545
endif
4646

4747
.PHONY: build-prod
@@ -59,7 +59,7 @@ build-profiling:
5959
ifneq ($(USE_MATURIN),)
6060
uv run maturin develop --profile profiling
6161
else
62-
uv pip install -v -e . --config-settings=build-args='--profile profiling'
62+
uv pip install --force-reinstall -v -e . --config-settings=build-args='--profile profiling'
6363
endif
6464

6565
.PHONY: build-coverage
@@ -78,15 +78,15 @@ build-pgo:
7878
ifneq ($(USE_MATURIN),)
7979
RUSTFLAGS='-Cprofile-generate=$(PROFDATA)' uv run maturin develop --release
8080
else
81-
RUSTFLAGS='-Cprofile-generate=$(PROFDATA)' uv pip install -v -e .
81+
RUSTFLAGS='-Cprofile-generate=$(PROFDATA)' uv pip install --force-reinstall -v -e .
8282
endif
8383
pytest tests/benchmarks
8484
$(eval LLVM_PROFDATA := $(shell rustup run stable bash -c 'echo $$RUSTUP_HOME/toolchains/$$RUSTUP_TOOLCHAIN/lib/rustlib/$$(rustc -Vv | grep host | cut -d " " -f 2)/bin/llvm-profdata'))
8585
$(LLVM_PROFDATA) merge -o $(PROFDATA)/merged.profdata $(PROFDATA)
8686
ifneq ($(USE_MATURIN),)
8787
RUSTFLAGS='-Cprofile-use=$(PROFDATA)/merged.profdata' uv run maturin develop --release
8888
else
89-
RUSTFLAGS='-Cprofile-use=$(PROFDATA)/merged.profdata' uv pip install -v -e .
89+
RUSTFLAGS='-Cprofile-use=$(PROFDATA)/merged.profdata' uv pip install --force-reinstall -v -e .
9090
endif
9191
@rm -rf $(PROFDATA)
9292

0 commit comments

Comments
 (0)