Common components for OPM, in particular build system (cmake).
Go to file
Markus Blatt ff9792e31c Work around issues of Boost >=1.70.0 and CMake 3.18.4
With that combination the first search seems to happen in CONFIG mode
but subsequent searches will use MODULE mode. This will result in the
following warning:

CMake Warning at /usr/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
  cmake/Modules/OpmFind.cmake:135 (find_package)
  cmake/Modules/OpmFind.cmake:230 (find_and_append_package_to)
  cmake/Modules/OpmLibMain.cmake:83 (find_and_append_package_list_to)
  CMakeLists.txt:222 (include)

Also the variable Boost_LIBRARIES will look quite messed up by
occurrences of optimized and debug:
Boost_LIBRARIES=optimized;/usr/lib/x86_64-linux-gnu/libboost_system.so.1.74.0;debug;/usr/lib/x86_64-linux-gnu/libboost_system.so;optimized;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so.1.74.0;debug;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so

Which will make the modules unusable because of CMake errors during
linking:

CMake Error at /usr/share/dune/cmake/modules/DuneMacros.cmake:991 (target_link_libraries):
  The "debug" argument must be followed by a library.
Call Stack (most recent call first):
  src/CMakeLists.txt:2 (target_link_dune_default_libraries)
-- Configuring incomplete, errors occurred!

Note this fix is only needed for Boost versions 1.70 and higher.
Older versions do not provide cmake package configuration
files (BoostConfig.cmake) and hence there can be no mixup.

Note also that the alternative approach of setting
CMAKE_FIND_PACKAGE_PREFER_CONFIG does not work for OPM as with this
e.g. the Dune module versions would not be set correctly.
2021-06-15 21:04:41 +02:00
cmake Work around issues of Boost >=1.70.0 and CMake 3.18.4 2021-06-15 21:04:41 +02:00
debian Removed pandas dep also from supporting files.. 2021-05-13 10:53:03 +02:00
docs Added manpages for all executables. 2021-04-06 22:56:59 +02:00
etc tab completors: be quiet even if the which command would like to complain 2019-03-07 09:33:15 +01:00
examples Add missing <sstream> include. 2021-05-06 11:34:47 +02:00
external Embed fmtlib source code 2020-09-18 11:23:30 +02:00
jenkins upadte-opm-tests: supply access token in header 2021-06-10 10:25:54 +02:00
msim Make Aquifer Data a First Class RestartValue 2021-05-28 17:41:29 +02:00
opm Add json output for data::Group 2021-06-15 07:38:41 +02:00
python Removed pandas dep also from supporting files.. 2021-05-13 10:53:03 +02:00
redhat fix redhat packaging 2021-04-08 09:06:38 +02:00
src/opm Merge pull request #2504 from joakim-hove/rename-wellrates 2021-06-14 18:21:33 +02:00
test_util Updating class ERst 2020-12-01 23:06:44 +01:00
tests Add Json output from output::Wells 2021-06-15 07:38:34 +02:00
.clang-format Add .clang-format specification. 2019-09-18 14:15:21 +02:00
.gitignore Sunbeam will be compiled with setuptools. 2019-08-09 10:40:33 +02:00
.gitmodules removed submodules pycmake and pybind11. 2019-06-14 14:32:08 +02:00
changelog.md Add bullet point about Eclipse restart capabilities 2019-10-29 16:32:08 +01:00
CMakeLists_files.cmake Remove stale class TimeMap 2021-06-10 14:12:12 +02:00
CMakeLists.txt fix building python bindings (with lto) 2021-04-09 11:56:25 +02:00
CopyHeaders.cmake Make the Builtin class available from Python 2021-03-09 12:22:39 +01:00
dune.module Bump version number 2021-04-27 09:59:50 +02:00
ExtraTests.cmake Refactor the NNC input class 2020-11-11 19:57:06 +01:00
GenerateKeywords.cmake Avoid spurious dependencies if Python is not enabled 2021-03-10 15:44:43 +01:00
LICENSE Initial commit 2015-03-18 01:59:50 -05:00
opm-common-prereqs.cmake Do not use the imported Python3 library directly. 2021-03-16 20:32:50 +01:00
README.md remove travis build status from README.md 2018-01-04 12:07:46 +01:00

opm-common

Contains common components used throughout all of OPM, in particular CMake modules for the build system.