respect DAMASK_NUM_THREADS

This commit is contained in:
Martin Diehl 2020-03-19 17:34:11 +01:00
parent 705694b97c
commit 2aea6df678
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@ all: grid mesh processing
.PHONY: grid .PHONY: grid
grid: build/grid grid: build/grid
@(cd build/grid;make -j4 all install;) @(cd build/grid;make -j${DAMASK_NUM_THREADS} all install;)
.PHONY: spectral .PHONY: spectral
spectral: grid spectral: grid
.PHONY: mesh .PHONY: mesh
mesh: build/mesh mesh: build/mesh
@(cd build/mesh; make -j4 all install;) @(cd build/mesh; make -j${DAMASK_NUM_THREADS} all install;)
.PHONY: FEM .PHONY: FEM
FEM: mesh FEM: mesh