Commit Graph

16658 Commits

Author SHA1 Message Date
github-actions[bot]
6a669d1ab2
Merge staging-next into staging 2023-11-09 18:01:27 +00:00
Martin Weinelt
c17ba56fe9
Merge pull request #266321 from lilyinstarlight/fix/llvm-16-wasi
[staging-next] llvmPackages: 12 -> 16 on wasm
2023-11-09 16:07:25 +01:00
github-actions[bot]
5725d489f3
Merge staging-next into staging 2023-11-09 12:01:36 +00:00
github-actions[bot]
2d73797da4
Merge master into staging-next 2023-11-09 12:01:04 +00:00
Thiago Kenji Okada
ea71f1713f
Merge pull request #266337 from znaniye/put-name
put name on maintainers list
2023-11-09 10:25:06 +00:00
Alyssa Ross
e3e57b8f18 lib.systems: elaborate Rust metadata
We need this stuff to be available in lib so make-derivation.nix can
access it to construct the Meson cross file.

This has a couple of other advantages:

 - It makes Rust less special.  Now figuring out what Rust calls a
   platform is the same as figuring out what Linux or QEMU call it.

 - We can unify the schema used to define Rust targets, and the schema
   used to access those values later.  Just like you can set "config"
   or "system" in a platform definition, and then access those same
   keys on the elaborated platform, you can now set "rustcTarget" in
   your crossSystem, and then access "stdenv.hostPlatform.rustcTarget"
   in your code.

"rustcTarget", "rustcTargetSpec", "cargoShortTarget", and
"cargoEnvVarTarget" have the "rustc" and "cargo" prefixes because
these are not exposed to code by the compiler, and are not
standardized.  The arch/os/etc. variables are all named to match the
forms in the Rust target spec JSON.

The new rust.target-family only takes a list, since we don't need to
worry about backwards compatibility when that name is used.

The old APIs are all still functional with no warning for now, so that
it's possible for external code to use a single API on both 23.05 and
23.11.  We can introduce the warnings once 23.05 is EOL, and make them
hard errors when 23.11 is EOL.
2023-11-09 10:02:24 +01:00
github-actions[bot]
fecd99b105
Merge staging-next into staging 2023-11-09 06:01:40 +00:00
Weijia Wang
e49468c266
Merge pull request #266162 from reckenrode/chicken-fix
chickenPackages_4.chicken: fix build on x86_64-darwin
2023-11-09 06:43:38 +01:00
Weijia Wang
83bfbf0213
Merge pull request #265490 from alyssais/compiler-rt-16-freebsd
llvmPackages_16.compiler-rt: fix FreeBSD build
2023-11-09 06:12:20 +01:00
github-actions[bot]
50249cdaf2
Merge staging-next into staging 2023-11-09 00:02:40 +00:00
github-actions[bot]
00a0662a3c
Merge master into staging-next 2023-11-09 00:02:14 +00:00
znaniye
8b2821da58 odin: add znaniye as maintainer 2023-11-08 20:14:54 -03:00
Someone Serge
4e4bbb01eb cudaPackages: redist: EULA notice in the description
...to be displayed on search.nixos.org &c; this is the same notice as
included by conda-forge per agreement with nvidia; cf. comments in
https://github.com/NixOS/nixpkgs/pull/76233
2023-11-08 19:06:44 -03:00
Someone Serge
47209852a9 cudaPackages: redist: mark as prebuilt binary 2023-11-08 19:06:44 -03:00
Someone Serge
6cd3e9ce1a cudaPackages: redist components: per-package license url 2023-11-08 19:06:44 -03:00
Tyler Benster
dae1e0d49a cudatoolkit: add NVIDIA license 2023-11-08 19:06:44 -03:00
Thiago Kenji Okada
023b99e916
Merge pull request #266314 from znaniye/update-odin
odin: dev-2023-08 -> dev-2023-11
2023-11-08 20:38:48 +00:00
Wael Nasreddine
abdb350e04
Merge pull request #266181 from qowoz/go120 2023-11-08 12:16:15 -08:00
Lily Foster
e58eaa0ee9
llvmPackages_{15,16}: fix libcxxabi -fno-exceptions build for wasm 2023-11-08 13:51:49 -05:00
znaniye
378de6ae1c odin: dev-2023-08 -> dev-2023-11 2023-11-08 15:15:34 -03:00
github-actions[bot]
d49b3ff9e3
Merge staging-next into staging 2023-11-08 12:02:19 +00:00
github-actions[bot]
263a89fa08
Merge master into staging-next 2023-11-08 12:01:20 +00:00
Adam Joseph
a738046341 Update pkgs/development/compilers/gcc/patches/default.nix 2023-11-08 10:50:07 +00:00
Randy Eckenrode
299c06a0f5 gcc{48,49,6,7,8,9,10}: improve cctools-llvm compatibility
darwin.cctools defaults to `llvm-strip` when the version of LLVM in the
stdenv is 12 or newer. This strip implementation does not support the
`-c` flag required by older versions of GCC. Use the cctools-port
version for compatibility when building older versions of GCC.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
bec14225ab gcc{48,49,6,7,8,9,10}: fix missing symbol errors on x86_64-darwin
The x86_64-darwin build fails with the following symbol errors when
building gencondmd:

    Undefined symbols for architecture x86_64:
      "_ix86_excess_precision", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_ix86_fpmath", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_ix86_isa_flags", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_ix86_unsafe_math_optimizations", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o
      "_target_flags", referenced from:
          ___cxx_global_var_init.101 in gencondmd.o

This commit applies a workaround posted to the GCC BugZilla.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92061.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
93153208cc gcc{8,9}: don’t pass --gstabs to clang assembler
Darwin uses the clang integrated assembler, which does not support
`--gstabs`. While the `configure` script detects whether the assembler
supports it, Darwin passes `--gstabs` unconditionally. This patch is
backported to make the bootstrap only use it when supported.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
d4f8aac2c5 gcc{48,49,6}: don’t use -pipe with clang assembler
Older versions of GCC use `-pipe` on Darwin due to compatibility
problems with older cctools assemblers. Darwin now uses the clang
integrated assembler. While it is possible to pipe input into it, the
wrapper used in nixpkgs is not set up for it.

Fixing the wrapper would cause all of Darwin to rebuild, which is not
desirable, so just disable `-pipe` in the bootstrap configuration. The
clang integrated assembler doesn’t have the bug anyway.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
e06f05d23c gcc11: fix build on aarch64-darwin
The libgcc configure script was middetecting aarch64-darwin and trying
to use a deployment target of 10.5, which is not valid for that
platform. The build was failing because the linker was looking for stubs
that don’t exist (neither as part of the source releases nor as part of
the official SDK from Apple).

Backporting the `config.host` check and `t-darwin-rpath` from GCC 12
allows GCC 11 to build again on aarch64-darwin.
2023-11-08 10:50:07 +00:00
Randy Eckenrode
b09f87fb0d gcc48: disable on x86_64-darwin
According to Hydra, the last time GCC 4.8 successfully built on Darwin
was October 2014. It is possible to make the first stage build
successfully with clang, but the resulting GCC is not capable of reading
the Darwin SDK headers due to their use of `__can_include`.

It’s been broken for almost a decade, so just disable it.
2023-11-08 07:32:47 +00:00
zowoq
e7ef0556e6 go_1_20: 1.20.10 -> 1.20.11
Changelog: https://go.dev/doc/devel/release#go1.20
2023-11-08 13:54:20 +10:00
Randy Eckenrode
c9575b19aa
chickenPackages_4.chicken: fix build on x86_64-darwin
Use the `@executable_path` because the full path to the store is too long.

Also add the target prefix to `install_name_tool`.
2023-11-07 18:50:29 -05:00
github-actions[bot]
d0018c61ff
Merge staging-next into staging 2023-11-07 18:01:28 +00:00
github-actions[bot]
1505981287
Merge master into staging-next 2023-11-07 18:00:55 +00:00
Peder Bergebakken Sundt
44018d1c4f
Merge pull request #266066 from onemoresuza/hare
hare: add onemoresuza as the maintainer
2023-11-07 17:51:52 +02:00
OTABI Tomoya
5670eccbf8
Merge pull request #265874 from Delta456/update_vlang
vlang: 2023.42 -> 2023.44
2023-11-08 00:32:56 +09:00
Gustavo Coutinho de Souza
e3bac87a89
hare: add onemoresuza as the maintainer
Since harec is part of its bootstrapping and it's also orphaned, also
add onemoresuza as its maintainer.
2023-11-07 11:04:35 -03:00
github-actions[bot]
599850da55
Merge staging-next into staging 2023-11-07 12:01:25 +00:00
github-actions[bot]
bed56440cb
Merge master into staging-next 2023-11-07 12:00:57 +00:00
Adam Joseph
b9c6f5b754 gcc: move version iteration out of all-packages.nix
This resolves a TODO previously in all-packages.nix.
2023-11-07 09:57:54 +00:00
Adam Joseph
78706a9184 gcc: move version information to gcc/versions.nix 2023-11-07 09:57:54 +00:00
Alyssa Ross
772a2502f1
llvmPackages_16.compiler-rt: fix FreeBSD build
The clang_rt.crt* files are only built on Linux (see the
COMPILER_RT_HAS_CRT CMake variable).
2023-11-07 10:01:10 +01:00
Weijia Wang
7eb07191a5
Merge pull request #265967 from reckenrode/llvm-fix
llvmPackages_10.llvm: fix build with clang 16
2023-11-07 09:33:32 +01:00
Weijia Wang
8012034692 Merge branch 'staging-next' into staging 2023-11-07 03:41:49 +01:00
Randy Eckenrode
01d3b7449c
llvmPackages_10.llvm: fix build with clang 16
Add missing isl includes needed to build with Polly support enabled.
2023-11-06 19:15:25 -05:00
github-actions[bot]
38bc2a577e
Merge master into staging-next 2023-11-07 00:02:31 +00:00
Dmitry Kalinkin
93b63a2cab
Merge pull request #265514 from xworld21/treewide-texlive-with-packages
treewide: switch to texlive.withPackages
2023-11-06 16:47:04 -05:00
matt-savvy
498a954c4e Gleam: 0.31.0 -> 0.32.2
https://github.com/gleam-lang/gleam/blob/v0.32.0/CHANGELOG.md
2023-11-06 18:30:55 +00:00
Swastik
9b7de1e642 vlang: add delta231 as maintainer 2023-11-06 21:52:27 +05:30
Swastik
3f269391c5 vlang: 2023.42 -> 2023.44 2023-11-06 21:46:22 +05:30
github-actions[bot]
b23f12e076
Merge master into staging-next 2023-11-06 00:02:12 +00:00