Commit 7730eb90 authored by Sang Ik Lee's avatar Sang Ik Lee Committed by Scott Cyphers

mkl-dnn: patch update 0.20.2 (#3474)

* mkl-dnn: patch update 0.20.2

* mkl-dnn: Update version patch.

* mkl-dnn: full version naming has changed.
parent 8c2d6c0b
...@@ -18,11 +18,11 @@ include(ExternalProject) ...@@ -18,11 +18,11 @@ include(ExternalProject)
# Includes blas 3.8.0 in mkldnn # Includes blas 3.8.0 in mkldnn
set(NGRAPH_MKLDNN_SHORT_VERSION 0) set(NGRAPH_MKLDNN_SHORT_VERSION 0)
set(NGRAPH_MKLDNN_FULL_VERSION 0.20.0.0) set(NGRAPH_MKLDNN_FULL_VERSION 0.20)
set(NGRAPH_MKLDNN_ASSET_VERSION "v0.20") set(NGRAPH_MKLDNN_ASSET_VERSION "v0.20")
set(NGRAPH_MKLDNN_VERSION "v0.20.1") set(NGRAPH_MKLDNN_VERSION "v0.20.2")
set(NGRAPH_MKLDNN_MKLML_VERSION "2019.0.5.20190502") set(NGRAPH_MKLDNN_MKLML_VERSION "2019.0.5.20190502")
set(NGRAPH_MKLDNN_GIT_TAG "v0.20.1") set(NGRAPH_MKLDNN_GIT_TAG "v0.20.2")
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Fetch and install MKL-DNN # Fetch and install MKL-DNN
......
...@@ -19,11 +19,11 @@ index f10feb20..05f47961 100644 ...@@ -19,11 +19,11 @@ index f10feb20..05f47961 100644
add_library(${LIB_NAME} ${MKLDNN_LIBRARY_TYPE} ${HEADERS} ${SOURCES}) add_library(${LIB_NAME} ${MKLDNN_LIBRARY_TYPE} ${HEADERS} ${SOURCES})
set_property(TARGET ${LIB_NAME} PROPERTY CXX_STANDARD 11) set_property(TARGET ${LIB_NAME} PROPERTY CXX_STANDARD 11)
set_property(TARGET ${LIB_NAME} PROPERTY CXX_STANDARD_REQUIRED ON) set_property(TARGET ${LIB_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
-set_property(TARGET ${LIB_NAME} PROPERTY VERSION "${PROJECT_VERSION}.0") -set_property(TARGET ${LIB_NAME} PROPERTY VERSION "${MKLDNN_VERSION_MAJOR}.${MKLDNN_VERSION_MINOR}")
-set_property(TARGET ${LIB_NAME} PROPERTY SOVERSION "0") -set_property(TARGET ${LIB_NAME} PROPERTY SOVERSION "${MKLDNN_VERSION_MAJOR}")
+if(MKLDNN_LIB_VERSIONING_ENABLE) +if(MKLDNN_LIB_VERSIONING_ENABLE)
+ set_property(TARGET ${LIB_NAME} PROPERTY VERSION "${PROJECT_VERSION}.0") + set_property(TARGET ${LIB_NAME} PROPERTY VERSION "${MKLDNN_VERSION_MAJOR}.${MKLDNN_VERSION_MINOR}")
+ set_property(TARGET ${LIB_NAME} PROPERTY SOVERSION "0") + set_property(TARGET ${LIB_NAME} PROPERTY SOVERSION "${MKLDNN_VERSION_MAJOR}")
+endif() +endif()
set_property(TARGET ${LIB_NAME} PROPERTY PUBLIC_HEADER ${HEADERS}) set_property(TARGET ${LIB_NAME} PROPERTY PUBLIC_HEADER ${HEADERS})
......
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