Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Added missing dependencies to centos build
Browse files Browse the repository at this point in the history
  • Loading branch information
lebeg committed Nov 20, 2018
1 parent befddcc commit c67b942
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/docker/install/centos7_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,14 @@ yum -y install cmake3
yum -y install wget
yum -y install unzip
yum -y install ninja-build
yum -y install zeromq-devel
yum -y install protobuf-devel
yum -y install ninja-build

alternatives --install /usr/local/bin/cmake cmake /usr/bin/cmake3 20 \
--slave /usr/local/bin/ctest ctest /usr/bin/ctest3 \
--slave /usr/local/bin/cpack cpack /usr/bin/cpack3 \
--slave /usr/local/bin/ccmake ccmake /usr/bin/ccmake3 \
--family cmake

alternatives --install /usr/local/bin/ninja ninja /usr/bin/ninja-build 20
2 changes: 2 additions & 0 deletions cmake/DownloadMKLML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ elseif(APPLE)
set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}")

message(STATUS "Setting MKLROOT path to ${MKLROOT}")
include_directories(${MKLROOT}/include)

elseif(UNIX)
set(MKL_NAME "mklml_lnx_${MKLML_RELEASE_FILE_SUFFIX}")
Expand All @@ -67,6 +68,7 @@ elseif(UNIX)
set(MKLROOT "${CMAKE_CURRENT_BINARY_DIR}/mklml/${MKL_NAME}")

message(STATUS "Setting MKLROOT path to ${MKLROOT}")
include_directories(${MKLROOT}/include)

else()
message(FATAL_ERROR "Wrong platform")
Expand Down

0 comments on commit c67b942

Please sign in to comment.