Package: opm-common / 2022.10+ds-7
Metadata
Package | Version | Patches format |
---|---|---|
opm-common | 2022.10+ds-7 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 Install cmake package configuration to correct locat.patch | (download) |
cmake/Modules/OpmInstall.cmake |
2 1 + 1 - 0 ! |
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. |
0003 Always install pkg config files in multiarch library.patch | (download) |
cmake/Modules/OpmProject.cmake |
12 4 + 8 - 0 ! |
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. |
0008 Allow more deviations when calculating volume to fix.patch | (download) |
tests/test_calculateCellVol.cpp |
3 2 + 1 - 0 ! |
allow more deviations when calculating volume to fix tests on i386. |
0009 Prevent 32bit overflow when testing OpmLog.patch | (download) |
tests/test_OpmLog.cpp |
2 1 + 1 - 0 ! |
prevent 32bit overflow when testing opmlog. |
0010 Use BOOST_CHECK_CLOSE for floating point comparisons.patch | (download) |
tests/parser/ScheduleTests.cpp |
4 2 + 2 - 0 ! |
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. |
0006 Make test_ESmry.cpp usable for autopkgtests.patch | (download) |
tests/test_ESmry.cpp |
2 1 + 1 - 0 ! |
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). |
0007 Added missing include for g 11.2.0.patch | (download) |
src/opm/io/eclipse/rst/udq.cpp |
1 1 + 0 - 0 ! |
added missing include for g++-11.2.0. Won't compile without it. |
0008 cmake Limit dimensions for Alberta.patch | (download) |
cmake/Modules/FindAlberta.cmake |
3 2 + 1 - 0 ! |
[cmake] limit dimensions for alberta Default is now 3 as in DUNE but user can request more via variable ALBERTA_MAX_WORLD_DIM. |
0009 cmake Also search for Alberta with pkgconfig to be D.patch | (download) |
cmake/Modules/FindAlberta.cmake |
14 14 + 0 - 0 ! |
[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. ``` |
0011 Make sure copy_python is run before CopyHeaders Clos.patch | (download) |
GenerateKeywords.cmake |
3 2 + 1 - 0 ! |
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. |
0011 python Use assertEqual instead of deprecated assertE.patch | (download) |
python/tests/test_state.py |
2 1 + 1 - 0 ! |
[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. |
0012 python Prevent ResourceWarning unclosed file _io.Tex.patch | (download) |
python/tests/test_time_vector.py |
3 2 + 1 - 0 ! |
[python] prevent "resourcewarning: unclosed file <_io.textiowrapper |
0013 python Run unit tests directly and not via setup.py .patch | (download) |
CMakeLists.txt |
2 1 + 1 - 0 ! |
[python] run unit tests directly and not via setup.py (deprecated). Thus we get rid of the warning: WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. |
0014 Refactored ParserInit.cpp to reduce ram needed for c.patch | (download) |
CMakeLists.txt |
1 1 + 0 - 0 ! |
refactored parserinit.cpp to reduce ram needed for compilation |
0015 Split Builtin.hpp into multiple compile units for g .patch | (download) |
CMakeLists.txt |
1 1 + 0 - 0 ! |
split builtin.hpp into multiple compile units for g++-12. g++-12 needs quite some memory and time to compile it. |
0016 Added missing include to ParserTests.cpp.patch | (download) |
tests/parser/ParserTests.cpp |
3 2 + 1 - 0 ! |
added missing include to parsertests.cpp |