From 6f7780e5eab5c84b2e8dc20f7bb065fad592fb06 Mon Sep 17 00:00:00 2001 From: ritchie Date: Fri, 13 Sep 2024 10:59:19 +0200 Subject: [PATCH] no-venv --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bcd2887..101e393 100644 --- a/Makefile +++ b/Makefile @@ -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/