ldc: bump LLVM to 16

This commit is contained in:
materus 2023-10-15 18:21:08 +02:00
parent 7f3bc3c5eb
commit 52f9ea7b3a
No known key found for this signature in database
GPG key ID: 28D140BCA60B4FD1

View file

@ -1,5 +1,5 @@
{ version, sha256 }: { version, sha256 }:
{ lib, stdenv, fetchurl, cmake, ninja, llvm_14, curl, tzdata { lib, stdenv, fetchurl, cmake, ninja, llvm_16, curl, tzdata
, libconfig, lit, gdb, unzip, darwin, bash , libconfig, lit, gdb, unzip, darwin, bash
, callPackage, makeWrapper, runCommand, targetPackages , callPackage, makeWrapper, runCommand, targetPackages
, ldcBootstrap ? callPackage ./bootstrap.nix { } , ldcBootstrap ? callPackage ./bootstrap.nix { }
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
cmake ldcBootstrap lit lit.python llvm_14.dev makeWrapper ninja unzip cmake ldcBootstrap lit lit.python llvm_16.dev makeWrapper ninja unzip
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Foundation darwin.apple_sdk.frameworks.Foundation