nixpkgs-suyu/pkgs/development/compilers
Luke Granger-Brown 9aa8ae999a 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.
2021-04-17 01:55:53 +00:00
..
4th 4th: fix darwin build 2021-03-03 19:19:07 +07:00
abcl
acme
adoptopenjdk-bin adoptopenjdk: add 16.0.0 2021-03-22 01:18:50 +03:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: 1.8.5 -> 1.8.6 2021-02-28 07:40:36 +00:00
aldor treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
aliceml
apache-flex-sdk
arachne-pnr arachne-pnr: patchPhase -> postPatch, cleanup 2021-03-05 16:22:00 +01:00
asn1c
aspectj
ats
ats2
avian
avra
bigloo
binaryen
bluespec bluespec: unstable-2021.02.14 -> 2021.03.29 2021-04-03 09:58:05 -05:00
bs-platform bs-platform: remove myself from maintainers 2021-03-21 11:21:10 -07:00
bupc
cakelisp
carp carp: 0.3.0 -> 0.5.0 (#113376) 2021-02-19 18:51:52 +01:00
cc65
ccl
chez
chicken chickenPackages_{4,5}: recurseIntoAttrs 2021-03-03 13:40:47 +01:00
ciao ciao: 1.19.0 -> 1.20.0 2021-04-10 06:44:18 +00:00
clasp
clean clean: change to bsd2 license 2021-03-17 15:07:48 +01:00
closure
cmdstan cmdstan: use python3 2021-03-25 11:48:24 +01:00
cmucl
colm
compcert
computecpp
copper
coreclr
crystal crystal: init at 1.0.0 2021-04-01 11:12:47 +08:00
crystal2nix crystal2nix: 0.1.0 -> 0.1.1 2021-03-29 18:12:25 +08:00
cudatoolkit cudatoolkit-{6,6_5,7,7_5,8}: remove 2021-02-14 11:58:00 +01:00
dale
dasm
dev86
dmd dmd: mark unbroken (#119647) 2021-04-16 21:33:08 +02:00
dotnet dotnetCorePackages.sdk_5_0: 5.0.200 -> 5.0.202 2021-04-15 19:44:38 +08:00
dtc dtc: add yaml support and enable tests (#118700) 2021-04-09 02:02:36 +02:00
ecl ecl: add changelog 2021-04-01 17:59:49 +02:00
edk2 edk2: 202011 -> 202102 2021-03-30 02:20:31 +02:00
eli
elm elmPackages.elm-format: fix build 2021-03-23 11:47:29 +01:00
emscripten
eql
factor-lang treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
fasm
fasmg
flasm flasm: fix cross-compilation 2021-02-16 16:35:04 +07:00
flutter flutter: remove patchelf 2021-03-23 21:00:23 +01:00
flux
fpc lazarus: 2.0.10-2 -> 2.0.12 2021-02-26 11:45:51 +00:00
fsharp
fsharp41
fstar
gambit gambit: fix compiler paths 2021-03-22 10:58:48 -04:00
gavrasm
gcc Merge pull request #113747 from r-burns/nixpkgs-gcc-decfloat 2021-03-21 13:27:43 -04:00
gcc-arm-embedded
gcl
gerbil gambit: refactor (#113405) 2021-03-09 10:52:26 +01:00
gforth
ghc ghc: drop obsolete compiler version 8.10.3 2021-03-12 21:23:15 +01:00
ghcjs-ng
ghdl
gleam gleam: 0.14.3 -> 0.14.4 (#118120) 2021-04-02 21:13:02 +02:00
glslang
gnatboot
gnu-cobol
gnu-smalltalk treewide: gnome2.gtk -> gtk2 2021-03-17 00:00:16 +01:00
go go_1_16: 1.16.2 -> 1.16.3 2021-04-17 06:11:56 +10:00
go-jsonnet
gprolog gprolog: expand platforms to unix 2021-03-03 19:19:07 +07:00
graalvm lzma: deprecate alias 2021-04-04 19:49:52 +02:00
gwt treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
halide
haxe haxe*: set licenses according to upstream opam file 2021-03-25 22:11:00 +01:00
hhvm
hop
iasl
idris2
inform6
inform7
intel-graphics-compiler intel-graphics-compiler: use python3 2021-04-03 17:06:10 +02:00
intercal
ios-cross-compile
ispc ispc: 1.13.0 -> unstable-2021-04-02 2021-04-03 19:44:36 +02:00
jasmin
javacard-devkit
jetbrains-jdk jetbrains.jdk: 11.0.10-b37 -> 11.0.10-b1427 2021-04-14 21:54:58 +02:00
jsonnet
julia julia: use system blas only when not darwin 2021-03-28 17:46:05 +07:00
juniper juniper: init at 2.3.0 2021-04-11 14:51:54 -04:00
jwasm
koka koka: init at 2.1.1 2021-03-30 12:28:57 +02:00
kotlin treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
ldc ldc: 1.24.0 -> 1.25.1 2021-03-18 17:29:49 +02:00
llvm llvmPackages_12.llvm: fix building on older CPUs 2021-04-17 01:55:53 +00:00
lobster
manticore
matter-compiler
mcpp
mercury treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
meta-environment/meta-build-env
mezzo
microscheme microscheme: refactor, fix build on darwin and cross-compilation 2021-02-17 15:50:52 +07:00
mint mint: 0.9.0 -> 0.11.0 2021-04-01 11:12:47 +08:00
miranda miranda: add meta.platforms 2021-03-03 19:19:07 +07:00
mit-scheme
mkcl
mlkit mlkit: 4.5.6 -> 4.5.7 2021-02-11 19:43:27 +00:00
mlton
mono
mosml treewide: drop conditional makeFlag for darwin when specifiying cross-compiler 2021-02-20 01:02:08 +07:00
mozart treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
mruby mruby: 2.1.2 -> 3.0.0 2021-03-12 03:10:25 +00:00
muon muon: fix darwin build 2021-03-03 19:19:08 +07:00
nasm
neko neko: try to list applying licenses more accurately 2021-03-25 22:11:00 +01:00
nextpnr
nim nim: cross-compilation fixes 2021-03-26 11:36:38 +01:00
nvidia-cg-toolkit
obliv-c
ocaml Merge pull request #114526 from bobrik/ivan/ocaml-4.10.2 2021-03-22 21:31:23 +01:00
opa opa: build with OCaml 4.04 2021-03-12 08:51:50 +01:00
open-watcom-bin
opendylan
openjdk jdk: update darwin to 16 as well 2021-04-15 23:12:11 +02:00
openspin
ophis ophis: init at 2019-04-13 2021-02-15 15:41:16 -03:00
oraclejdk treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
orc
osl
owl-lisp treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
paco
pakcs
pforth
picat
polyml
ponyc Merge pull request #111161 from r-ryantm/auto-update/corral 2021-03-21 21:18:17 +01:00
purescript purescript: 0.13.8 -> 0.14.0 2021-02-26 14:55:45 +09:00
qbe
rasm rasm: fix darwin build 2021-03-03 19:19:08 +07:00
reason reason: 3.6.2 → 3.7.0 2021-04-07 20:34:26 +02:00
rgbds
roslyn roslyn: regenerate deps 2021-04-15 19:44:38 +08:00
rust rust: 1.50.0 -> 1.51.0 2021-04-02 06:03:40 +10:00
sagittarius-scheme
sbcl sbcl: init 2.1.2, default 2.0.8 -> 2.1.2 2021-03-28 16:41:53 +02:00
scala Merge master into staging-next 2021-02-26 10:25:13 +01:00
sdcc
seexpr
serpent serpent: fix darwin build 2021-03-03 22:35:06 +07:00
shaderc
sjasmplus sjasmplus: init at 1.18.2 2021-03-18 18:33:35 +00:00
smlnj treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
solc solc: make linux only 2021-03-14 17:06:47 -07:00
souffle
spasm-ng
spirv-llvm-translator
squeak
stalin
swi-prolog swiProlog: fix and document pack install 2021-03-16 17:25:38 +11:00
swift
terra
teyjus
tinycc
tinygo treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
tvm
unison
urn urn: all platforms 2021-03-22 15:05:16 +07:00
urweb
vala vala_0_50: init at 0.50.4 2021-03-11 18:30:03 +01:00
vlang
vyper python38Packages.vyper: 0.2.8 -> 0.2.11 2021-03-10 09:30:27 +00:00
wcc
wla-dx
x11basic
xa dxa: add fallback download url 2021-04-14 07:45:10 +02:00
yap
yasm
yosys yosys: 0.9+3962 -> 0.9+4052 2021-03-31 23:11:34 +02:00
z88dk
zasm
zig
zulu adoptopenjdk-bin, zulu, graalvm11-ce: do not wrap jspawnhelper 2021-02-27 19:23:55 +09:00
zz Merge pull request #115361 from SuperSandro2000/fix-collection24 2021-03-08 02:23:48 +01:00