summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2021-04-17 01:29:46 +0000
committerLuke Granger-Brown <git@lukegb.com>2021-04-17 01:55:53 +0000
commit9aa8ae999ad1562e15e3aa2066549e0a0cf7ac3e (patch)
treeafc9b106f5530d0a01b3a924e22945e22a3e547c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parente5cc06a1e806070693add4f231060a62b962fc44 (diff)
llvmPackages_12.llvm: fix building on older CPUs
This commit patches one of the llvm-exegesis tests to swap out whatever CPU model happens to be on the build host for bdver2 (AMD Family 15h/Piledriver), which was picked because it looks like that was the intent of the test author. This provides a more predictable compilation behaviour when running on older (or possibly even newer!) machines. One of the machines that is currently part of the NixOS Hydra build farm, wendy, is using an old AMD Opteron CPU for which LLVM has no scheduling machine model. This causes one of the tests for llvm-exegesis to fail, because it segfaults trying to use the machine model to produce useful analysis results. Note that this particular test only runs on x86-64 build hosts anyway; aarch64 isn't affected. This deliberately only patches LLVM 12 to limit the rebuilds; other LLVM versions are going through staging.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions