Commit b0b78f81 authored by Lukas Riedel's avatar Lukas Riedel 🎧
Browse files

Add libyaml-cpp-dev to Docker image.

Add find_package(yaml-cpp) to CMake configuration. yaml-cpp is a
required package now.
parent b7cf2b50
......@@ -3,19 +3,24 @@
# find all required packages
FIND_PACKAGE (HDF5 REQUIRED)
if(NOT HDF5_IS_PARALLEL)
message(SEND_ERROR "Parallel HDF5 must be installed!")
message(SEND_ERROR "Parallel HDF5 must be installed!")
endif()
add_definitions(-DHDF5_PARALLEL)
FIND_PACKAGE (FFTW REQUIRED)
FIND_PACKAGE (SuperLU REQUIRED)
FIND_PACKAGE (MPI REQUIRED)
find_package (yaml-cpp 0.5.2 REQUIRED)
FIND_PACKAGE (METIS)
FIND_PACKAGE (ParMETIS)
include_directories(${FFTW_INCLUDES})
include_directories(${HDF5_INCLUDE_DIRS})
include_directories(${FFTW_INCLUDES}
${HDF5_INCLUDE_DIRS}
${YAML_CPP_INCLUDE_DIR})
set(DUNE_LIBS ${DUNE_LIBS} ${FFTW_LIBRARIES} ${HDF5_LIBRARIES})
list (APPEND DUNE_LIBS
${FFTW_LIBRARIES}
${HDF5_LIBRARIES}
${YAML_CPP_LIBRARIES})
MESSAGE(STATUS "DUNE Libraries: ${DUNE_LIBS}")
......@@ -25,6 +25,7 @@ RUN apt-get clean && apt-get update && apt-get install -y \
libparmetis-dev \
libsuperlu-dev \
libxft-dev \
libyaml-cpp-dev \
locales \
python3-dev \
python3-pip \
......
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