3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers
William Roe d51340f27f zig: fix build
It looks like https://github.com/NixOS/nixpkgs/pull/88248 broke the
build for zig.

The error you get when building zig on the current master branch is:

```
Scanning dependencies of target zig_build_libstage2
: CommandLine Error: Option 'polly' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
make[2]: *** [CMakeFiles/zig_build_libstage2.dir/build.make:77: CMakeFiles/zig_build_libstage2] Error 1
make[1]: *** [CMakeFiles/Makefile2:252: CMakeFiles/zig_build_libstage2.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
```

The patch that added polly into some build args was likely necessary
only for LLVM 10.0.0 and when that was updated to 10.0.1 it stopped
working or became unnecessary. With this patch removed, zig builds fine
and passes the tests.
2020-08-03 13:17:40 +01:00
..
abcl abcl: 1.7.0 -> 1.7.1 2020-07-20 18:17:51 +00:00
acme acme: fix darwin build 2020-03-27 19:59:43 -07:00
adoptopenjdk-bin adoptopenjdk: 8u242 -> 8u252 and other updates 2020-07-02 17:20:33 +02:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: 1.8.3 -> 1.8.4 2020-06-14 04:42:03 +00:00
aldor treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
aliceml aliceml: do not use aliases 2020-05-16 23:12:57 +02:00
apache-flex-sdk treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
arachne-pnr treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
asn1c treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
aspectj treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ats treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ats2 treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
avian treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
avra treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
bigloo treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
binaryen binaryen: 94 -> 95 2020-07-23 22:26:44 +00:00
bluespec bluespec: Fix build without ghc 844 2020-07-24 17:02:47 +02:00
bs-platform bs-platform: 7.3.1 -> 7.3.2 2020-05-14 21:00:31 -07:00
bupc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
carp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ccl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
chez treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
chicken treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
ciao ciao: init at 1.19.0 2020-05-24 12:26:29 +03:00
clasp treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
clean treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
closure closurecompiler: 20200517 -> 20200614 (#91912) 2020-07-01 05:01:03 -05:00
cmdstan treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
cmucl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
colm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
compcert compcert: 3.6 -> 3.7 2020-04-01 10:06:48 +00:00
computecpp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
coreclr coreclr: get clang from llvmPackages 2020-04-13 15:55:16 +02:00
crystal Merge pull request #85445 from manveru/crystal-all-llvm 2020-05-07 07:49:03 -04:00
cudatoolkit cudatoolkit_7*: build w/gcc6 2020-01-28 20:11:01 +01:00
dale treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dasm dasm: init at 2.20.13 2020-06-18 04:32:25 +02:00
dev86 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dmd Patch bash in test6952.d 2020-04-29 07:31:52 +08:00
dotnet dotnetCorePackages: build-dotnet: lint 2020-07-19 17:42:35 -07:00
dtc dtc: 1.5.1 -> 1.6.0 2020-05-25 15:38:07 +01:00
ecl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
edk2 ed2k/OVMF: Put URLs in quotes 2020-05-04 16:00:37 +02:00
eli treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
elm elm.Packages: Regenerate elm packages 2020-07-18 20:32:12 +02:00
emscripten emscripten: Don't always clain to have a GCC 2020-06-22 00:17:03 -04:00
eql treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
factor-lang treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fasm fasm: 1.73.23 -> 1.73.24 2020-05-04 21:13:50 -07:00
flutter flutterPackages.beta: 1.19.0-4.3.pre -> 1.20.0-7.2.pre, flutterPackages.dev: 1.20.0-3.0.pre -> 1.21.0-1.0.pre 2020-07-29 16:56:22 +02:00
flux flux: init at 2013-09-20 2019-08-18 23:17:58 -04:00
fpc lazarus: Fix eval 2020-05-27 18:35:04 +02:00
fsharp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fsharp41 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
fstar fstar: install completions 2020-04-29 04:20:00 -05:00
gambit gambit-unstable: 2020-05-15 -> 2020-07-29 2020-08-02 12:29:28 -04:00
gavrasm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gcc redox: add as target 2020-07-21 13:11:36 -07:00
gcc-arm-embedded gcc-arm-embedded: remove old versions of the package (4.x, 5.0) 2019-12-08 15:24:12 +01:00
gcl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gerbil gerbilPackages-unstable.gerbil-ethereum: init at 2020-08-02 2020-08-02 13:28:55 -04:00
gforth treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
ghc ghc 8.8.4/8.10.1: fix PEBKAC 2020-08-01 16:27:12 +02:00
ghcjs-ng ghcjs: mark build as broken 2020-05-15 21:19:10 +02:00
ghdl ghdl: init at 0.37 2020-04-20 14:41:22 +02:00
gleam gleam: 0.8.0 -> 0.10.1 2020-07-23 20:43:25 +02:00
glslang glslang: 7.11.3214 -> 8.13.3559 2020-02-11 19:11:32 +01:00
gnatboot gnat: init at 9.3.0 2020-04-20 14:41:22 +02:00
gnu-cobol treewide: remove the-kenny from maintainers 2020-05-09 10:28:57 +01:00
gnu-smalltalk treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
go Merge branch 'master' into staging 2020-07-18 17:50:23 +02:00
go-jsonnet go-jsonnet: add jsonnetfmt binary (#91953) 2020-07-02 18:29:43 -05:00
gprolog treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
graalvm treewide: use ffmpeg_3 explicitly if not wanted otherwise 2020-06-12 11:55:31 -07:00
gwt treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
halide treewide: use blas and lapack 2020-04-17 16:24:09 -05:00
haxe treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hhvm treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
hop treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
iasl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
idris2 idris2: fix build on macOS (#89548) 2020-06-07 18:06:35 -04:00
inform6 inform6: init at 6.34-6.12.2 2020-07-30 10:27:25 -04:00
inform7 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
intel-graphics-compiler intel-graphics-compiler: 1.0.4062 -> 1.0.4241 2020-07-03 18:56:15 +00:00
intercal treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ios-cross-compile
ispc ispc: 1.10.0 -> 1.13.0, cleanup, (co)maintain 2020-04-24 12:08:43 -05:00
jasmin jasmin: init at 2.4 2019-11-06 15:43:29 +01:00
javacard-devkit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jetbrains-jdk jetbrains.jdk: 11.0.6-b774 -> 11.0.7-b64 (#92837) 2020-07-11 18:46:49 +02:00
jsonnet jsonnet: 0.15.0 -> 0.16.0 2020-05-24 21:51:22 +00:00
julia julia: fix missing LDlib lapack 2020-05-31 13:50:36 -07:00
jwasm jwasm: 2017-11-12 -> 2.13 2020-04-02 16:24:38 +00:00
kotlin kotlin: 1.3.71 -> 1.3.72 2020-05-02 13:16:07 +00:00
ldc ldc: 1.17.0 -> 1.20.1 2020-04-29 07:31:53 +08:00
llvm llvm: setup some symlinks for compatibility with binutils 2020-07-28 15:08:46 -05:00
manticore treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
matter-compiler treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mcpp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mercury mercury: 20.01.2 -> 20.06 2020-07-09 22:32:11 +00:00
meta-environment/meta-build-env treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mezzo treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
microscheme treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mint mint: 0.7.1 -> 0.9.0 2020-04-22 17:30:22 +08:00
mit-scheme treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mkcl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mlkit mlkit: init at 4.5.0 2020-06-23 08:30:20 +02:00
mlton treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mono mono5: fixup build by using older gnumake 2020-07-06 11:10:36 +02:00
mosml treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mozart Revert "Merge pull request #94090 from sikmir/fix-cmake-hook" 2020-07-29 18:20:56 -05:00
mruby mruby: 2.1.0 -> 2.1.1 2020-06-26 11:53:54 +02:00
nasm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
neko treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nextpnr nextpnr: fix build on macOS 2020-07-13 15:45:40 +02:00
nim nim: 1.2.0 -> 1.2.4 2020-07-01 13:37:47 +05:30
nvidia-cg-toolkit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
obliv-c treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ocaml ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+β1 → 4.11.0+β2 2020-07-17 20:44:39 +02:00
opa treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
open-watcom-bin open-watcom-bin: fix EOVERFLOW on stat() calls 2020-05-08 17:29:38 +02:00
opendylan treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
openjdk Merge pull request #94548 from bachp/openjdk14-14.0.2 2020-08-02 11:37:27 -04:00
openspin treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
oraclejdk oraclejdk8: update jce hash 2020-08-02 23:33:59 +02:00
orc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
osl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
owl-lisp owl-lisp: 0.1.16 -> 0.1.19 2019-08-21 13:39:24 +08:00
pakcs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
pforth treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
picat treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
polyml polyml: 5.8 -> 5.8.1 2020-07-25 18:31:43 +10:00
ponyc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
purescript purescript: add cdepillabout as maintainer 2020-06-15 21:10:29 +09:00
qbe qbe: unstable-2019-05-15 -> unstable-2019-07-11 2019-07-29 16:21:00 +02:00
rasm rasm: init at 0.116 2019-12-16 11:28:34 -08:00
reason treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rgbds rgbds: 0.4.0 -> 0.4.1 2020-07-31 00:49:01 -07:00
rust rls: fix build 2020-07-25 12:00:00 +00:00
sagittarius-scheme sagittarius-scheme: init at 0.9.6 2019-08-11 21:47:41 +05:30
sbcl sbcl: add option to disable immobile space 2020-05-30 17:23:21 -07:00
scala scala: 2.13.2 -> 2.13.3 2020-07-07 11:52:19 +00:00
scas scas: init at 0.4.6 2020-08-01 08:30:38 +07:00
sdcc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
seexpr treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
serpent treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
shaderc shaderc: 2019.0 -> 2019.1 2020-02-11 19:11:32 +01:00
smlnj treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
solc solc: 0.5.15 -> 0.6.8 2020-05-15 19:18:11 -04:00
souffle souffle: 1.7.1 -> 2.0.0 2020-06-30 15:49:49 +02:00
spirv-llvm-translator treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
squeak treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
stalin treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
swi-prolog swiProlog: fix build on darwin 2019-10-14 22:30:00 -05:00
swift swift: fix cflags for finding C++ headers 2020-07-29 09:43:22 +02:00
terra treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
teyjus treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tinycc tinycc: fixup perms for generated .pc file 2019-10-12 14:45:17 +02:00
tinygo buildGoModule packages: editorconfig fixes 2020-07-31 13:58:04 +10:00
unison unison-ucm: 1.0.M1j-alpha -> 1.0.M1l-alpha 2020-04-28 12:04:40 -07:00
urn treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
urweb urweb: 20190217 -> 20200209 2020-02-12 13:28:40 -06:00
vala vala: 0.48.1 -> 0.48.7 2020-07-07 11:15:51 -04:00
vlang vlang: Propagate build inputs, add $LDFLAGS (#70466) 2019-10-07 00:02:34 -04:00
wcc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
wla-dx wla-dx: 9.8 -> 9.11 2020-07-27 08:48:24 +00:00
x11basic treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
yap treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
yasm treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
yosys yosys: 2020.06.19 -> 2020.07.07 2020-07-09 09:12:41 -05:00
z88dk z88dk-unstable: 2019-05-09 -> 2020-01-27, fix build w/glibc-2.30 2020-01-28 14:07:58 +01:00
zasm zasm: Init at 4.2.6 2020-03-24 18:29:53 +01:00
zig zig: fix build 2020-08-03 13:17:40 +01:00
zulu treewide: use ffmpeg_3 explicitly if not wanted otherwise 2020-06-12 11:55:31 -07:00
zz zz: 2020-03-02 -> 0.1 2020-05-28 04:20:00 -05:00