Commit Graph

13514 Commits

Author SHA1 Message Date
Mario Rodas
c04afffe37
Merge pull request #208918 from wegank/zig-darwin
zig: fix build on darwin
2023-01-05 08:15:59 -05:00
zowoq
19a8a0ad21 go_1_20: 1.20rc1 -> 1.20rc2 2023-01-05 18:45:41 +10:00
7c6f434c
ad101a313a
Merge pull request #209023 from hraban/sbcl-2.3.0
sbcl: 2.2.11 -> 2.3.0
2023-01-05 01:38:15 +00:00
maralorn
3b1869aa95 Merge branch 'master' into haskell-updates 2023-01-05 00:18:05 +01:00
Jan Tojnar
b1a2373aa8
Merge pull request #208384 from BenediktBroich/blueprint-compiler
blueprint-compiler: refactor
2023-01-04 23:27:20 +01:00
John Ericson
b92fb601c2
Merge pull request #208947 from sternenseemann/ghc-head-js-backend-try-1
haskell.compiler.ghcHEAD: support JS backend
2023-01-04 09:12:10 -05:00
Yureka
0319a561ec pkgsMusl.gccgo: fix build 2023-01-04 13:21:20 +01:00
Hraban Luyat
2ad09632e7 sbcl: 2.2.11 -> 2.3.0 2023-01-04 12:05:38 +01:00
github-actions[bot]
20d97c0508
Merge master into haskell-updates 2023-01-04 00:12:52 +00:00
Weijia Wang
c8df1da271 zig: fix build on darwin 2023-01-04 00:06:36 +01:00
sternenseemann
6392c21c1f haskell.compiler.ghcHEAD: allow building the JavaScript backend
This is now possible by building a cross compiler for js-unknown-ghjs
using `pkgsCross.ghcjs.buildPackages.haskell.compiler.ghcHEAD`.

To allow this, the following things needed to be done:

* Disable dependencies that wouldn't work:

  - Don't pull in ncurses for terminfo
  - Don't pull in libffi
  - Don't pull in libiconv
  - Don't enable the LLVM backend
  - Enable gmp-less native-bignum backend

* Use emscripten instead of a C compiler. The way this works is inspired
  by emscriptenPackages, but avoids the following flaws:

  - Instead of using a custom configurePhase, just set
    `configureScript = "emconfigure ./configure";` which is much simpler.

  - Create writable EM_CACHE before configuring, as configure scripts
    want to compile test programs.

  Additionally, we need to disable the targetCC check, as it is not
  applicable with emscripten which never appears as part of stdenv.

* Use generic $configureScript in installPhase to be able to work with
  our emconfigure trick.

Note that the corresponding Haskell package set does not work yet. Cabal
doesn't seem to like GHC 9.7 yet and the generic-builder is clueless
about the JS backend.
2023-01-04 00:02:29 +01:00
sternenseemann
b711b52d15 jre, temurin-bin: fix eval in pkgsCross.ghcjs.buildPackages
Since #200337 gobject-introspection propagates itself via
depsTargetTargetPropagated, so one doesn't have to add it to every
derivation twice. The problem is that gobject-introspection still is in
a lot of buildInputs and will thus propagate itself again for target,
breaking evaluation unnecessarily if gobject-introspection doesn't
evaluate on whatever the target platform turns out to be.

temurin-bin and openjdk19 caused such a situation via gtk3 which GHC's
JavaScript backend depends on. To fix evaluation of those packages in
pkgsCross.ghcjs.buildPackages, we'll just disable the features pulling
in gtk3 until this is fixed properly.
2023-01-04 00:02:29 +01:00
sternenseemann
de8e0bfaa7 haskell.compiler: also check targetPlatform for gmp compat
gmp is part of buildInputs _and_ depsTargetTarget, so we need to check
the host and target platform to be correct. In practice this doesn't
change much though, as gmp.meta.platforms is _quite_ liberal.
2023-01-04 00:01:25 +01:00
sternenseemann
12af3ee5c5 emscripten: fake cc-wrapper-esque passthru attrs for GHC
For the GHC JavaScript backend, we'll use emscripten in place of
targetCC. To avoid having too much special logic for this, we'll make
the emscripten derivation look like the result of wrapCC as far as GHC
is concerned, i.e. we need targetPrefix and bintools.

For bintools, we'll just reexpose emscripten, as it has emar, the only
relevant bintools. That the other ones are missing doesn't matter in
practice, as the GHC build system won't attempt to use them.

targetPrefix can immediately be (ab)used to make sure GHC will correctly
call emcc etc. instead of plain cc.
2023-01-03 22:45:05 +01:00
Robert Scott
11e43555d5
Merge pull request #208716 from wegank/osl-aarch64-linux
osl: unbreak on aarch64-linux
2023-01-03 21:32:17 +00:00
Mario Rodas
2ccd8932c1
Merge pull request #208854 from NickCao/julia-typo
julia_18: fix typo in JULIA_CPU_TARGET
2023-01-03 09:39:58 -05:00
sternenseemann
3665c429d3 haskell.compiler.ghcHEAD: 9.5.20220921 -> 9.7.20221224
Finally building a cross compiler using hadrian is possible, but there
are some outstanding issues regarding external libraries in the package
db which causes issues with ghc-bignum.
2023-01-03 15:23:53 +01:00
markuskowa
e00766c170
Merge pull request #208397 from Munksgaard/ispc-platforms
ispc: Add aarch64-linux and aarch64-darwin platforms
2023-01-03 14:47:31 +01:00
Pavol Rusnak
73f6ea95a2
Merge pull request #208857 from prtzl/gcc-arm-embedded
gcc-arm-embedded-12: init at 12.2.rel1
2023-01-03 13:10:45 +01:00
prtzl
18d4d8224a gcc-arm-embedded-12: init at 12.2.rel1 2023-01-03 10:08:13 +01:00
Nick Cao
9e949edd9a
julia_18: fix typo in JULIA_CPU_TARGET 2023-01-03 16:48:16 +08:00
Philip Munksgaard
7b0c8a8318
ispc: Add aarch64-linux and aarch64-darwin platforms
According to https://ispc.github.io/ispc.html#selecting-the-compilation-target,
aarch64 is supported.
2023-01-03 09:35:25 +01:00
Dmitry Kalinkin
de3d57875d llvmPackages_9.lldb: fix darwin build
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-01-03 01:36:48 -05:00
Dmitry Kalinkin
a8f6f12879 llvmPackages_8.lldb: fix darwin build
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-01-03 01:36:48 -05:00
Anderson Torres
64d2ee501c
Merge pull request #208794 from wegank/tcc-darwin
tinycc: unbreak on x86_64-darwin
2023-01-02 22:19:27 -03:00
Weijia Wang
9144942aa3 tinycc: unbreak on x86_64-darwin 2023-01-02 23:33:08 +01:00
Thiago Kenji Okada
dccf78e57a
Merge pull request #206756 from Ralith/shaderc-2022.4
shaderc: 2021.0 -> 2022.4
2023-01-02 21:26:38 +00:00
Weijia Wang
15ef0c2a76 osl: unbreak on aarch64-linux 2023-01-02 07:46:37 +01:00
Alyssa Ross
ad049483af edk2: don't hardcode OSes in meta.platforms
There's nothing about edk2 specific to the host OS, and it builds fine
with e.g. a NetBSD toolchain, so we should only restrict
meta.platforms by architecture, not by OS.
2023-01-02 03:58:58 +00:00
zowoq
3cc18bf489 go_1_20: init at 1.20rc1 2023-01-02 12:18:07 +10:00
Benjamin Saunders
b03bf9b29e shaderc: 2021.0 -> 2022.4 2022-12-31 15:41:58 -08:00
Benedikt Broich
c558d50b45
blueprint-compiler: refactor
Some improvements discussed [here](https://github.com/NixOS/nixpkgs/pull/208157) after the first merge.
2022-12-31 00:20:06 +01:00
sternenseemann
0c761f74f0 haskell.compiler.ghcjs: allow building with transformers-compat-0.7
ghcjs's dependency optparse-applicative 0.15.1.0 restricts
transformers-compat to < 0.7 which is unnecessary.
2022-12-30 12:47:20 +01:00
sternenseemann
00ca09719c haskell.compiler.ghcjs: drop stale override for webdriver
webdriver-0.10.0.0 incorporated the changes we are interested.
2022-12-30 12:46:53 +01:00
github-actions[bot]
70598b7796
Merge master into haskell-updates 2022-12-30 00:12:38 +00:00
Sandro
7592c5142f
Merge pull request #208157 from BenediktBroich/blueprint-compiler
Closes https://github.com/NixOS/nixpkgs/pull/190223
2022-12-29 16:22:35 +01:00
sternenseemann
9e8a483770 haskell.compiler.ghc94: 9.4.2 -> 9.4.4
https://www.haskell.org/ghc/blog/20221103-ghc-9.4.3-released.html
https://www.haskell.org/ghc/blog/20221224-ghc-9.4.4-released.html
2022-12-29 13:49:47 +01:00
sternenseemann
fb32148a96 carp: patch for GHC 9.2 and Stackage LTS-20 2022-12-29 13:35:15 +01:00
Benedikt Broich
d34338eaf0
blueprint-compiler: 0.2.0 -> 0.6.0 2022-12-29 09:03:42 +01:00
Vincent Laporte
9aa77715b7
Merge pull request #205005 from ulrikstrid/ligo--0_57
ligo: 0.55.0 -> 0.58.0
2022-12-28 14:11:43 +01:00
Nick Cao
bdd401e65b
julia_18: 1.8.3 -> 1.8.4 2022-12-26 14:37:48 +08:00
Nick Cao
40ce918da3
julia_18-bin: 1.8.3 -> 1.8.4 2022-12-26 09:51:28 +08:00
Dennis Gosnell
4a7f2c3238
carp: mark broken 2022-12-24 13:46:39 +09:00
Ulrik Strid
75e915659b ligo: 0.55.0 -> 0.58.0 2022-12-22 20:47:14 +01:00
github-actions[bot]
f7723173d1
Merge master into haskell-updates 2022-12-22 00:12:46 +00:00
Artturi
3061b3b209
Merge pull request #205355 from alyssais/llvm-libpfm 2022-12-21 20:29:17 +02:00
github-actions[bot]
1e83653904
Merge master into haskell-updates 2022-12-21 00:11:59 +00:00
Lucas Franceschino
762426b0dc fstar: 2022.01.15 -> 2022.11.19 2022-12-20 11:32:57 +01:00
Lucas Franceschino
5c3b11677a fstar: add update script 2022-12-20 11:32:57 +01:00
github-actions[bot]
741b781910
Merge master into haskell-updates 2022-12-20 00:12:47 +00:00