From ced74d68f60a10577ea2d27e8fa1e9529fc67da0 Mon Sep 17 00:00:00 2001 From: melhindi Date: Fri, 26 Aug 2022 08:53:16 +0200 Subject: [PATCH] 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 --- external/dnnl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/dnnl/Makefile b/external/dnnl/Makefile index dc0e4040..1b385b52 100644 --- a/external/dnnl/Makefile +++ b/external/dnnl/Makefile @@ -89,7 +89,7 @@ else endif $(LIBDNNL):$(CHECK_SOURCE) - 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 + 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) .PHONY: clean clean: