Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • James Willenbring
  • Trilinos
  • Issues
  • #1093
Closed
Open
Issue created Feb 24, 2017 by James Willenbring@jmwilleOwner

MueLu, yaml-cpp, Boost, Unit test failures

Created by: jjellio

When building with TPLs yaml-cpp and boost, MueLu's unit tests will fail to build, because CMake will fail to find yaml-cpp files during configuration.

Should this tests be in MueLu still? Perhaps it belongs in Teuchos, or is it redundant?

packages/muelu/test/unit_tests/CMakeLists.txt has:

IF (TPL_ENABLE_yaml-cpp AND TPL_ENABLE_Boost)
  INCLUDE_DIRECTORIES(${yaml-cpp_INCLUDE_DIRS})
  INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../src/Interface/YamlParameterList)
  APPEND_SET(SOURCES yaml/YamlParameterList.cpp)
  TRIBITS_COPY_FILES_TO_BINARY_DIR(MueLu_Yaml_cp
    SOURCE_DIR ${MueLu_SOURCE_DIR}/test/unit_tests/yaml/
    DEST_DIR ${CMAKE_CURRENT_BINARY_DIR}/yaml/
    SOURCE_FILES Match1.yaml Match1.xml Match2.yaml Match2.xml Match3.yaml Match3.xml Match4.yaml Match4.xml Arrays.yaml IllegalKeyString.yaml IntVsDouble.xml IntVsDouble.yaml MueLuConfig.yaml MueLuConfig.xml InconsistentArray.yaml input_restingHydrostatic_RK4.xml plasma_oscillation_rtc.xml
  )
ENDIF()

YamlParameterList lives in Teuchos now:

[jjellio@mutrino:~/src/Tril...nos-jjellio/packages] find -name "*YamlParameterList*"
./teuchos/comm/src/Teuchos_YamlParameterListHelpers.cpp
./teuchos/comm/src/Teuchos_YamlParameterListHelpers.hpp
./teuchos/parameterlist/src/Teuchos_YamlParameterListCoreHelpers.hpp
./teuchos/parameterlist/test/yaml/YamlParameterList.cpp

@trilinos/muelu @trilinos/teuchos

Assignee
Assign to
Time tracking