diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index 13fb5d596c..78305f19d0 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -78,7 +78,7 @@ test: .PHONY: test-parallel test-parallel: - @NPROCS=$$(nproc); \ + @NPROCS=$$(nproc 2>/dev/null || sysctl -n hw.ncpu); \ pytest -p no:pytest-blender -n $$NPROCS test --ignore=test/util/test_shape_builder.py .PHONY: test-mathutils