@@ -57,20 +57,25 @@ SET(NGRAPH_TBB_LIB ${NGRAPH_LIB_DIR}/${NGRAPH_TBB_LIB_NAME})
57
57
ExternalProject_Add (
58
58
${NGRAPH_PROJECT}
59
59
${EXTERNAL_PROJECT_LOG_ARGS}
60
- DEPENDS ${MKLDNN_PROJECT} ${MKLML_PROJECT}
61
- GIT_REPOSITORY ${NGRAPH_GIT_REPO}
62
- GIT_TAG ${NGRAPH_GIT_TAG}
63
- PREFIX ${NGRAPH_SOURCES_DIR}
64
- UPDATE_COMMAND ""
65
- CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${NGRAPH_INSTALL_DIR}
66
- CMAKE_ARGS -DNGRAPH_UNIT_TEST_ENABLE=FALSE
67
- CMAKE_ARGS -DNGRAPH_TOOLS_ENABLE=FALSE
68
- CMAKE_ARGS -DNGRAPH_INTERPRETER_ENABLE=FALSE
69
- CMAKE_ARGS -DNGRAPH_DEX_ONLY=TRUE
70
- CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
71
- CMAKE_ARGS -DMKLDNN_INCLUDE_DIR=${MKLDNN_INC_DIR}
72
- CMAKE_ARGS -DMKLDNN_LIB_DIR=${MKLDNN_INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}
73
- CMAKE_ARGS -DMKLML_LIB_DIR=${MKLML_INSTALL_DIR}/lib
60
+ DEPENDS ${MKLDNN_PROJECT} ${MKLML_PROJECT}
61
+ GIT_REPOSITORY ${NGRAPH_GIT_REPO}
62
+ GIT_TAG ${NGRAPH_GIT_TAG}
63
+ PREFIX ${NGRAPH_SOURCES_DIR}
64
+ UPDATE_COMMAND ""
65
+ CMAKE_GENERATOR ${CMAKE_GENERATOR}
66
+ CMAKE_GENERATOR_PLATFORM ${CMAKE_GENERATOR_PLATFORM}
67
+ CMAKE_GENERATOR_TOOLSET ${CMAKE_GENERATOR_TOOLSET}
68
+ CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
69
+ CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
70
+ CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${NGRAPH_INSTALL_DIR}
71
+ CMAKE_ARGS -DNGRAPH_UNIT_TEST_ENABLE=FALSE
72
+ CMAKE_ARGS -DNGRAPH_TOOLS_ENABLE=FALSE
73
+ CMAKE_ARGS -DNGRAPH_INTERPRETER_ENABLE=FALSE
74
+ CMAKE_ARGS -DNGRAPH_DEX_ONLY=TRUE
75
+ CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
76
+ CMAKE_ARGS -DMKLDNN_INCLUDE_DIR=${MKLDNN_INC_DIR}
77
+ CMAKE_ARGS -DMKLDNN_LIB_DIR=${MKLDNN_INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}
78
+ CMAKE_ARGS -DMKLML_LIB_DIR=${MKLML_INSTALL_DIR}/lib
74
79
)
75
80
76
81
add_dependencies (ngraph ${NGRAPH_PROJECT} )
0 commit comments