Commit Graph

24752 Commits

Author SHA1 Message Date
sternenseemann
3e8355df84 llvmPackages_{16,17,git}: reenable LLVMgold plugin
See https://github.com/nixos/nixpkgs/issues/123361 for context regarding
the clang patch.

Seems like the https://github.com/llvm/llvm-project/issues/61350 crash
no longer occurs in the test suite and we can reenable the gold plugin
by default.
2023-12-12 17:36:20 +01:00
sternenseemann
6db6c6df7b llvmPackages_*: update name for LLVMgold patch for clang >= 11
It no longer applies to clang >= 16, let's make the name correspond to
the versions it applies to.
2023-12-12 16:49:07 +01:00
Michael Holmes
e6364478be gerbil: fix soname of libgerbil on darwin
The soname/identification of libgerbil on darwin is not correctly fixed up,
resulting in any binaries linked with libgerbil to attempt to link to
libgerbil in the temporary build dir from the gerbil derivation. This
means that any compiled gerbil program won't work as the propagated soname
will result in the binary being unable to correctly link with libgerbil.

Adding an Darwin-only step to use `install_name_tool` to fix up the soname
of libgerbil fixes this issue. We're using realpath here as the qualified
path to `libgerbil` is `$out/gerbil/$version/lib/libgerbil.so` and this is
an easier way to obtain the qualified path.

Fixes NixOS/nixpkgs#272967.
2023-12-12 10:26:12 -05:00
Martin Weinelt
e8dd1cf066 Merge remote-tracking branch 'origin/staging-next' into staging 2023-12-12 14:13:07 +01:00
Pol Dellaiera
dac1e3d3e5 Merge pull request #272208 from r-ryantm/auto-update/fasm
fasm: 1.73.31 -> 1.73.32
2023-12-12 05:34:29 +01:00
Weijia Wang
f6da64f8db llvmPackages_17.libclc: init 2023-12-12 02:28:36 +01:00
Weijia Wang
a143707fc8 Merge pull request #273597 from r-ryantm/auto-update/circt
circt: 1.59.0 -> 1.61.0
2023-12-12 02:22:03 +01:00
Pol Dellaiera
24f6a70f48 fasm: add missing phase hooks
switch to `finalAttrs` pattern
2023-12-11 22:01:24 +01:00
Gustavo Coutinho de Souza
e3b56dd702 harec: migrate to pkgs/by-name 2023-12-11 16:27:55 -03:00
Gustavo Coutinho de Souza
5ee6ca0458 hare: migrate to pkgs/by-name 2023-12-11 16:27:55 -03:00
Will Cohen
c4a686bcb7 emscripten: 3.1.47 -> 3.1.50 2023-12-11 11:48:50 -05:00
Will Cohen
a4daad0caa llvmPackages_17.lld: backport table-base patch
Starting with emscripten-3.1.46, this flag to LLVM is needed.

This is a backport of
93adcb770b.patch,
with additional review at https://reviews.llvm.org/D158892 and
emscripten-core/emscripten#20097.
2023-12-11 11:48:50 -05:00
R. Ryantm
711f215260 circt: 1.59.0 -> 1.61.0 2023-12-11 16:43:06 +00:00
Vladimír Čunát
120a26f8ce Merge #271377: staging-next 2023-12-01 2023-12-11 17:06:16 +01:00
Will Cohen
6a3c46ee38 emscripten: add willcohen to maintainers 2023-12-11 10:54:31 -05:00
Weijia Wang
cc4c44de5c Merge pull request #273478 from jtbx/dmd+dtools-2.106.0
dmd, dtools: 2.105.2 -> 2.106.0
2023-12-11 16:20:26 +01:00
Nick Cao
02293e91b5 Merge pull request #268089 from ereslibre/bump-unison
unison-ucm: M5g -> M5j
2023-12-11 09:53:17 -05:00
Nick Cao
6a25807117 Merge pull request #271379 from pineapplehunter/circt-split-llvm
circt: add shared libs and split llvm
2023-12-11 09:29:57 -05:00
K900
14655c8d9a binaryen: fix build with Node 20 2023-12-11 14:08:45 +03:00
Shogo Takata
fcab3fbd71 circt: Add shared libs and split llvm
This changes adds circt's shared libs and splits the build of llvm.
2023-12-11 13:22:43 +09:00
Jeremy
c275e75b19 dmd: 2.105.2 -> 2.106.0 2023-12-11 16:32:23 +13:00
github-actions[bot]
6b2241ffde Merge staging-next into staging 2023-12-11 00:02:59 +00:00
github-actions[bot]
b826485d29 Merge master into staging-next 2023-12-11 00:02:20 +00:00
Robert Scott
aac4bc376e Merge pull request #259070 from risicle/ris-cc-default-hardening-flags
mkDerivation, bintools-wrapper: move `defaultHardeningFlags` determination to `bintools-wrapper`
2023-12-10 21:53:41 +00:00
Ryan Lahfa
610a958b03 Merge pull request #263625 from sgrb/emscripten-fix 2023-12-10 19:53:32 +01:00
7c6f434c
2f480818d7 Merge pull request #272397 from MuKnIO/devel
Gerbil v0.18.1
2023-12-10 18:14:38 +00:00
github-actions[bot]
19b2e66364 Merge staging-next into staging 2023-12-10 18:01:37 +00:00
github-actions[bot]
1e8386407c Merge master into staging-next 2023-12-10 18:01:10 +00:00
Martin Povišer
1b72831944 yosys: propagate build inputs as need be for plugins 2023-12-10 11:41:14 -06:00
Nick Cao
e2f39cdcf9 Merge pull request #273340 from r-ryantm/auto-update/zig-shell-completions
zig-shell-completions: unstable-2023-08-17 -> unstable-2023-11-18
2023-12-10 11:39:36 -05:00
GenericNerdyUsername
91dc77adaa jetbrains.jdk: fix docs 2023-12-10 16:15:50 +00:00
R. Ryantm
7073d808dd zig-shell-completions: unstable-2023-08-17 -> unstable-2023-11-18 2023-12-10 13:13:32 +00:00
github-actions[bot]
051d0ec1db Merge staging-next into staging 2023-12-10 12:01:43 +00:00
github-actions[bot]
958e403a78 Merge master into staging-next 2023-12-10 12:01:18 +00:00
Sophie Tauchert
3b40e1bd33 buildNimPackage: allow overriding nim package args
Without this, it's impossible to override the lockFile as the default
overrideAttrs is applied after the composition in buildNimPackage has
read the lock file and generated the nim flags from it.
2023-12-10 09:10:02 +00:00
github-actions[bot]
c45194320d Merge staging-next into staging 2023-12-10 06:01:20 +00:00
github-actions[bot]
39d4e1cb18 Merge master into staging-next 2023-12-10 06:00:56 +00:00
OTABI Tomoya
b9cb1d8d5f Merge pull request #271924 from stepbrobd/z3-solver
python3Packages.z3-solver: rename from z3
2023-12-10 12:28:16 +09:00
Robert Scott
1a5bd697ad mkDerivation, bintools-wrapper: move defaultHardeningFlags determination to bintools-wrapper
this makes it a lot easier to create a modified stdenv with a
different set of defaultHardeningFlags and as a bonus allows us
to inject the correct defaultHardeningFlags into toolchain wrapper
scripts, reducing repetition.

while most hardening flags are arguably more of a compiler thing,
it works better to put them in bintools-wrapper because cc-wrapper
can easily refer to bintools but not vice-versa.

mkDerivation can still easily refer to either when it is constructed.

this also switches fortran-hook.sh to use the same defaults for
NIX_HARDENING_ENABLE as for C. previously NIX_HARDENING_ENABLE
defaults were apparently used to avoid passing problematic flags
to a fortran compiler, but this falls apart as soon as mkDerivation
sets its own NIX_HARDENING_ENABLE - cc.hardeningUnsupportedFlags
is a more appropriate mechanism for this as it actively filters
out flags from being used by the wrapper, so switch to using that
instead.

this is still an imperfect mechanism because it doesn't handle a
compiler which has both langFortran *and* langC very well - applying
the superset of the two's hardeningUnsupportedFlags to either
compiler's invocation. however this is nothing new - cc-wrapper
already poorly handles a langFortran+langC compiler, applying two
setup hooks that have contradictory options.
2023-12-09 16:30:45 +00:00
github-actions[bot]
229cde6757 Merge staging-next into staging 2023-12-09 12:01:42 +00:00
github-actions[bot]
870c9dd139 Merge master into staging-next 2023-12-09 12:01:13 +00:00
Weijia Wang
c9e419dee9 Merge pull request #272931 from wegank/llvm-17-bump
llvmPackages_17: 17.0.2 -> 17.0.6
2023-12-09 12:23:13 +01:00
Raito Bezarius
dcf3231563 cairo-lang: 2.3.0 -> 2.4.0
This updates the Cairo (language) compiler to 2.4.0.
https://github.com/starkware-libs/cairo/releases/tag/v2.4.0

The Cargo.lock being not up-to-date, I had to refresh it, see
https://github.com/starkware-libs/cairo/issues/4530.
2023-12-08 23:44:40 +01:00
Weijia Wang
b70fee567d Merge branch 'staging-next' into staging 2023-12-08 22:10:05 +01:00
Weijia Wang
ad7edda3e2 Merge branch 'master' into staging-next 2023-12-08 22:09:49 +01:00
github-actions[bot]
5f3708016c Merge master into staging-next 2023-12-08 18:00:53 +00:00
Dmitry Kalinkin
025a278148 Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/tools/networking/ofono/default.nix
2023-12-08 12:27:28 -05:00
Weijia Wang
99fa28912a llvmPackages_17: 17.0.2 -> 17.0.6 2023-12-08 16:14:54 +01:00
Weijia Wang
5ec25fa1d4 llvmPackages_git: sync with llvmPackages_17 2023-12-08 15:49:21 +01:00
Weijia Wang
1be4693cf2 Merge pull request #258614 from ExpidusOS/feat/llvm-17
llvmPackages_17: init
2023-12-08 15:11:29 +01:00