Skip to content

Commit ced74d6

Browse files
authored
Enable parallelization of build in dnnl make file (#845)
the current Makefile does not use the special `$(MAKE)` command, instead `make` is hard coded. This prevents the use of the `-j` flag, making the build slow. Signed-off-by: Muhammad El-Hindi <muhammad.el-hindi@cs.tu-darmstadt.com>
1 parent e151e2a commit ced74d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/dnnl/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ else
8989
endif
9090

9191
$(LIBDNNL):$(CHECK_SOURCE)
92-
mkdir -p $(DNNL_DIR)/build && cd $(DNNL_DIR)/build && cmake -DCMAKE_CXX_ENCLAVE_FLAGS="$(CXX_ENCLAVE_FLAGS)" -DCMAKE_C_ENCLAVE_FLAGS="$(C_ENCLAVE_FLAGS)" $(DNNL_CONFIG) .. && make
92+
mkdir -p $(DNNL_DIR)/build && cd $(DNNL_DIR)/build && cmake -DCMAKE_CXX_ENCLAVE_FLAGS="$(CXX_ENCLAVE_FLAGS)" -DCMAKE_C_ENCLAVE_FLAGS="$(C_ENCLAVE_FLAGS)" $(DNNL_CONFIG) .. && $(MAKE)
9393

9494
.PHONY: clean
9595
clean:

0 commit comments

Comments
 (0)