Commit 392eeb3f authored by Sang Ik Lee's avatar Sang Ik Lee Committed by Scott Cyphers

Remove usage of CMAKE_MAKE_PROGRAM as it slows down parallel build (#871)

* Remove usage of CMAKE_MAKE_PROGRAM as it slows down parallel build

* Make make properly propagate to child and add back targeted build.

* Revert "Make make properly propagate to child and add back targeted build."

This reverts commit b4b1d8db0f0d42850e53d4e0f773261c292ccaf6.
parent 0be581c0
......@@ -39,7 +39,6 @@ if(NGRAPH_CPU_ENABLE)
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DCMAKE_INSTALL_PREFIX=${EXTERNAL_PROJECTS_ROOT}/mkldnn
BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} mkldnn
TMP_DIR "${EXTERNAL_PROJECTS_ROOT}/mkldnn/tmp"
STAMP_DIR "${EXTERNAL_PROJECTS_ROOT}/mkldnn/stamp"
DOWNLOAD_DIR "${EXTERNAL_PROJECTS_ROOT}/mkldnn/download"
......@@ -60,7 +59,6 @@ if(NGRAPH_CPU_ENABLE)
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DCMAKE_INSTALL_PREFIX=${EXTERNAL_PROJECTS_ROOT}/mkldnn
BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} mkldnn
TMP_DIR "${EXTERNAL_PROJECTS_ROOT}/mkldnn/tmp"
STAMP_DIR "${EXTERNAL_PROJECTS_ROOT}/mkldnn/stamp"
DOWNLOAD_DIR "${EXTERNAL_PROJECTS_ROOT}/mkldnn/download"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment