3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

11 commits

Author SHA1 Message Date
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
Christine Dodrill 24b3158efc zig: apply suggestion from @cole-h 2020-04-13 18:56:41 -04:00
Christine Dodrill f94bd95368
Update pkgs/development/compilers/zig/default.nix
Co-Authored-By: Andrew Kelley <andrew@ziglang.org>
2020-04-13 18:44:34 -04:00
Christine Dodrill 841089817d development/compilers/zig: upgrade to 0.6.0 2020-04-13 18:37:09 -04:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Mario Rodas 9e522a736d
zig: 0.4.0 -> 0.5.0
Release Notes: https://ziglang.org/download/0.5.0/release-notes.html
2019-09-30 20:00:00 -05:00
Will Dietz 1a8328b126 zig: 0.3.0 -> 0.4.0
Bump to use LLVM8, but just guessing ;).
2019-04-09 00:51:35 -05:00
Andrew Kelley f2fe5f7709
zig: 0.2.0 -> 0.3.0 2018-09-29 15:18:57 -04:00
Andrew Kelley dc3b791854 zig: 0.1.1 -> 0.2.0 2018-03-20 13:32:10 -04:00
Daiderd Jordan db7e0aeb42
llvm-packages: cleanup 2018-02-06 23:38:46 +01:00
Andrew Kelley 835201e814 zig: init at 0.1.1 2017-10-21 12:45:54 -04:00