swiftPackages.*: build with the default LLVM version

This commit is contained in:
Emily
2025-09-02 04:05:22 +01:00
parent 37cad5dfd5
commit 2153141b51
2 changed files with 6 additions and 3 deletions

View File

@@ -467,7 +467,11 @@ stdenv.mkDerivation {
'';
# > clang-15-unwrapped: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'arm64-apple-macosx10.9.0'
hardeningDisable = lib.optional stdenv.hostPlatform.isAarch64 "zerocallusedregs";
# > clang-15-unwrapped: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument]
hardeningDisable = lib.optionals stdenv.hostPlatform.isAarch64 [
"zerocallusedregs"
"stackclashprotection"
];
configurePhase = ''
export SWIFT_SOURCE_ROOT="$PWD"

View File

@@ -4,13 +4,12 @@
newScope,
darwin,
llvmPackages,
llvmPackages_15,
overrideCC,
overrideLibcxx,
}:
let
swiftLlvmPackages = llvmPackages_15;
swiftLlvmPackages = llvmPackages;
self = rec {