Add installing libyaml-cpp-dev to docker/Dockerfile.base #291

Open
matthewgiarra wants to merge 1 commits from matthewgiarra/dockerfile.base-add-libyaml-cpp-dev into master
matthewgiarra commented 2022-06-19 05:40:20 +02:00 (Migrated from github.com)

When building docker base image (from docker/Dockerfile.base), cmake was failing with the following:

CMake Error at CMakeLists.txt:91 (find_package):
  By not providing "Findyaml-cpp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "yaml-cpp",
  but CMake did not find one.

  Could not find a package configuration file provided by "yaml-cpp" with any
  of the following names:

    yaml-cppConfig.cmake
    yaml-cpp-config.cmake

  Add the installation prefix of "yaml-cpp" to CMAKE_PREFIX_PATH or set
  "yaml-cpp_DIR" to a directory containing one of the above files.  If
  "yaml-cpp" provides a separate development package or SDK, be sure it has
  been installed.

Adding RUN apt-get update && apt-get install -y libyaml-cpp-dev to Dockerfile.base fixed the issue.

When building docker base image (from `docker/Dockerfile.base`), cmake was failing with the following: ```bash CMake Error at CMakeLists.txt:91 (find_package): By not providing "Findyaml-cpp.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "yaml-cpp", but CMake did not find one. Could not find a package configuration file provided by "yaml-cpp" with any of the following names: yaml-cppConfig.cmake yaml-cpp-config.cmake Add the installation prefix of "yaml-cpp" to CMAKE_PREFIX_PATH or set "yaml-cpp_DIR" to a directory containing one of the above files. If "yaml-cpp" provides a separate development package or SDK, be sure it has been installed. ``` Adding `RUN apt-get update && apt-get install -y libyaml-cpp-dev` to `Dockerfile.base` fixed the issue.
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmr/tkDNN#291