17 lines
516 B
Plaintext
17 lines
516 B
Plaintext
|
cmake_minimum_required(VERSION 2.8.2)
|
||
|
|
||
|
project(mkldnn-download NONE)
|
||
|
|
||
|
include(ExternalProject)
|
||
|
ExternalProject_Add(mkldnn
|
||
|
GIT_REPOSITORY https://github.com/intel/mkl-dnn.git
|
||
|
GIT_TAG v1.0.2
|
||
|
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/mkldnn-src"
|
||
|
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/mkldnn-build"
|
||
|
CONFIGURE_COMMAND ""
|
||
|
CMAKE_ARGS -DMKLDNN_USE_MKL=ML -DMKLDNN_LIBRARY_TYPE=STATIC -G \"Unix Makefiles\"
|
||
|
BUILD_COMMAND ""
|
||
|
INSTALL_COMMAND ""
|
||
|
TEST_COMMAND ""
|
||
|
)
|