We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f770605 commit d47b70bCopy full SHA for d47b70b
1 file changed
Makefile
@@ -1,12 +1,14 @@
1
UV := uv --directory kmir
2
UV_RUN := $(UV) run
3
4
+PARALLEL := 4
5
+
6
TOP_DIR := $(shell pwd)
7
8
default: check build
9
10
build:
- $(UV_RUN) kdist -v build mir-semantics\.* -j4
11
+ $(UV_RUN) kdist -v build mir-semantics\.* -j$(PARALLEL)
12
13
.PHONY: test
14
test: test-unit test-integration smir-parse-tests
@@ -46,7 +48,7 @@ test-unit:
46
48
47
49
test-integration: build
50
$(UV_RUN) pytest $(TOP_DIR)/kmir/src/tests/integration --maxfail=1 --verbose \
- --durations=0 --numprocesses=4 --dist=worksteal $(TEST_ARGS)
51
+ --durations=0 --numprocesses=$(PARALLEL) --dist=worksteal $(TEST_ARGS)
52
53
# Checks and formatting
54
0 commit comments