Debian Patches

Status for opm-common/2022.10+ds-7

Patch Description Author Forwarded Bugs Origin Last update
0015-Split-Builtin.hpp-into-multiple-compile-units-for-g-.patch Split Builtin.hpp into multiple compile units for g++-12.
g++-12 needs quite some memory and time to compile it.
We now use several Builtin*.cpp for the imlementations for different
starting letters of eclipse keywords to use less resources for
compiling.
Markus Blatt <markus@dr-blatt.de> no 2023-03-08
0016-Added-missing-include-to-ParserTests.cpp.patch Added missing include to ParserTests.cpp Markus Blatt <markus@dr-blatt.de> no 2023-03-08
0009-cmake-Also-search-for-Alberta-with-pkgconfig-to-be-D.patch [cmake] Also search for Alberta with pkgconfig to be DUNE compliant
If OPM modules are used as DUNE modules then CMake otherwise
complains about missing targets:

```
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/dune-grid/dune-grid-targets.cmake:78 (set_target_properties):
The link interface of target "dunealbertagrid1d" contains:

PkgConfig::Alberta1d

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

```
Markus Blatt <markus@dr-blatt.de> no 2022-12-23
0011-Make-sure-copy_python-is-run-before-CopyHeaders-Clos.patch Make sure copy_python is run before CopyHeaders
CopyHeaders checks whether python/cxx exists in the build directory,
which is created by the copy_python target. Without this compilation
failed for serial builds because the python sources were not there when
we compiled.
Markus Blatt <markus@dr-blatt.de> no 2023-01-28
0011-python-Use-assertEqual-instead-of-deprecated-assertE.patch [python] Use assertEqual instead of deprecated assertEquals-
Prevents warnings like
```
1: test_faults (tests.test_state.TestState2.test_faults) ... /<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/python/tests/test_state.py:124: DeprecationWarning: Please use assertEqual instead.
1: self.assertEquals([], self.state.faultNames())
```
On Debian unstable.
Markus Blatt <markus@dr-blatt.de> no 2023-01-13
0012-python-Prevent-ResourceWarning-unclosed-file-_io.Tex.patch [python] Prevent "ResourceWarning: unclosed file <_io.TextIOWrapper Markus Blatt <markus@dr-blatt.de> no 2023-01-13
0013-python-Run-unit-tests-directly-and-not-via-setup.py-.patch [python] Run unit tests directly and not via setup.py (deprecated).
Thus we get rid of the warning:

a future version. Users looking for a generic test entry point
independent of test runner are encouraged to use tox.
Markus Blatt <markus@dr-blatt.de> no 2023-01-13
0014-Refactored-ParserInit.cpp-to-reduce-ram-needed-for-c.patch Refactored ParserInit.cpp to reduce ram needed for compilation Markus Blatt <markus@dr-blatt.de> no 2023-01-20
0008-cmake-Limit-dimensions-for-Alberta.patch [cmake] Limit dimensions for Alberta
Default is now 3 as in DUNE but user can request more via variable
ALBERTA_MAX_WORLD_DIM.
Markus Blatt <markus@dr-blatt.de> no 2022-12-23
0001-Install-cmake-package-configuration-to-correct-locat.patch Install cmake package configuration to correct location with lib.
If we ship a library than we are architecture dependent and should
allow for installations for multiple architectures. For this to work
the package configuration files need to be installed in an
architecture aware location (e.g. lib/arch/cmake/module_name on
Debian). Just like the pkg-config files. This is done with this patch.
Markus Blatt <markus@dr-blatt.de> no 2021-03-31
0003-Always-install-pkg-config-files-in-multiarch-library.patch Always install pkg-config files in multiarch library directory.
Even if we do not ship a library, our pkg-config file will include
architecture dependent library paths and libraries that we depend on.
Hence we still need to install into the multiarch library directory.
Markus Blatt <markus@dr-blatt.de> no 2021-04-15
0008-Allow-more-deviations-when-calculating-volume-to-fix.patch Allow more deviations when calculating volume to fix tests on i386.
Apparently round off errors are different and the values we test for
are the values we get when computing on amd64.
Markus Blatt <markus@dr-blatt.de> no 2021-05-25
0009-Prevent-32bit-overflow-when-testing-OpmLog.patch Prevent 32bit overflow when testing OpmLog. Markus Blatt <markus@dr-blatt.de> no 2021-05-25
0010-Use-BOOST_CHECK_CLOSE-for-floating-point-comparisons.patch Use BOOST_CHECK_CLOSE for floating point comparisons.
BOOST_CHECK_EQUAL will only reliably work if the computations on the
left and right hand side were made in the exact same order, which is
often not the case.
Markus Blatt <markus@dr-blatt.de> no 2021-05-25
0006-Make-test_ESmry.cpp-usable-for-autopkgtests.patch Make test_ESmry.cpp usable for autopkgtests.
In 2021.10 it uses the header tests/WorkArea.cpp that gets copied
to the same directory as tests/test_ESMry.cpp and we need to make in includable
from the same source directory (which will not be tests but the
uppermost source directory).
Markus Blatt <markus@dr-blatt.de> no 2021-11-15
0007-Added-missing-include-for-g-11.2.0.patch Added missing include for g++-11.2.0.
Won't compile without it.
Markus Blatt <markus@dr-blatt.de> no 2022-01-21

All known versions for source package 'opm-common'

Links