precice: fix boost 1.87 compat

This commit is contained in:
Gaetan Lepage
2025-02-04 09:55:11 +01:00
parent a84be67ec3
commit 0a9f9e1c61
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
gcc,
boost,
@@ -24,6 +25,14 @@ stdenv.mkDerivation rec {
hash = "sha256-KpmcQj8cv5V5OXCMhe2KLTsqUzKWtTeQyP+zg+Y+yd0=";
};
patches = lib.optionals (!lib.versionOlder "3.1.2" version) [
(fetchpatch {
name = "boost-187-fixes.patch";
url = "https://github.com/precice/precice/commit/23788e9eeac49a2069e129a0cb1ac846e8cbeb9f.patch";
hash = "sha256-Z8qOGOkXoCui8Wy0H/OeE+NaTDvyRuPm2A+VJKtjH4s=";
})
];
cmakeFlags = [
"-DPRECICE_PETScMapping=OFF"
"-DBUILD_SHARED_LIBS=ON"