boost177: fix on platforms without atomics

backport patch from boost178 to fix compilation when atomics are not available,
e.g. for armv5tel
main
Ryan Burns 2 years ago
parent 796af3ddba
commit b906464824
  1. 9
      pkgs/development/libraries/boost/generic.nix

@ -127,7 +127,14 @@ stdenv.mkDerivation {
extraPrefix = "libs/context/";
})
++ optional (and (versionAtLeast version "1.70") (!versionAtLeast version "1.73")) ./cmake-paths.patch
++ optional (versionAtLeast version "1.73") ./cmake-paths-173.patch;
++ optional (versionAtLeast version "1.73") ./cmake-paths-173.patch
++ optional (version == "1.77.0") (fetchpatch {
url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch";
sha256 = "sha256-KlmIbixcds6GyKYt1fx5BxDIrU7msrgDdYo9Va/KJR4=";
stripLen = 2;
extraPrefix = "";
includes = [ "boost/math/special_functions/detail/bernoulli_details.hpp" ];
});
meta = {
homepage = "http://boost.org/";

Loading…
Cancel
Save