cavis/libnd4j/tests_cpu/libnd4j_tests/CMakeLists.txt.in

17 lines
578 B
CMake
Raw Normal View History

2019-06-06 14:21:15 +02:00
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 v0.18.1
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/mkldnn-src"
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/mkldnn-build"
CONFIGURE_COMMAND "${CMAKE_CURRENT_BINARY_DIR}/mkldnn-src/scripts/prepare_mkl.sh"
CMAKE_ARGS -DMKLDNN_USE_MKL=ML -G \"Unix Makefiles\" -DMKLDNN_LIBRARY_TYPE=STATIC
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)