Skip to content

Commit

Permalink
no-venv
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Sep 13, 2024
1 parent cf206ec commit 6f7780e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ run-polars: .venv data/tables/ ## Run Polars benchmarks
$(VENV_BIN)/python -m queries.polars

.PHONY: run-polars-no-env
run-polars-no-env: data/tables/ ## Run Polars benchmarks
run-polars-no-env: ## Run Polars benchmarks
$(MAKE) -C tpch-dbgen dbgen
cd tpch-dbgen && ./dbgen -vf -s $(SCALE_FACTOR) && cd ..
mkdir -p "data/tables/scale-$(SCALE_FACTOR)"
mv tpch-dbgen/*.tbl data/tables/scale-$(SCALE_FACTOR)/
python -m scripts.prepare_data
rm -rf data/tables/scale-$(SCALE_FACTOR)/*.tbl
python -m queries.polars

.PHONY: run-duckdb data/tables/
Expand Down

0 comments on commit 6f7780e

Please sign in to comment.