tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
swiftPackages.*: build with the default LLVM version
Emily
5 months ago
2153141b
37cad5df
+6
-3
2 changed files
expand all
collapse all
unified
split
pkgs
development
compilers
swift
compiler
default.nix
default.nix
+5
-1
pkgs/development/compilers/swift/compiler/default.nix
···
467
'';
468
469
# > clang-15-unwrapped: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'arm64-apple-macosx10.9.0'
470
-
hardeningDisable = lib.optional stdenv.hostPlatform.isAarch64 "zerocallusedregs";
0
0
0
0
471
472
configurePhase = ''
473
export SWIFT_SOURCE_ROOT="$PWD"
···
467
'';
468
469
# > clang-15-unwrapped: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'arm64-apple-macosx10.9.0'
470
+
# > clang-15-unwrapped: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument]
471
+
hardeningDisable = lib.optionals stdenv.hostPlatform.isAarch64 [
472
+
"zerocallusedregs"
473
+
"stackclashprotection"
474
+
];
475
476
configurePhase = ''
477
export SWIFT_SOURCE_ROOT="$PWD"
+1
-2
pkgs/development/compilers/swift/default.nix
···
4
newScope,
5
darwin,
6
llvmPackages,
7
-
llvmPackages_15,
8
overrideCC,
9
overrideLibcxx,
10
}:
11
12
let
13
-
swiftLlvmPackages = llvmPackages_15;
14
15
self = rec {
16
···
4
newScope,
5
darwin,
6
llvmPackages,
0
7
overrideCC,
8
overrideLibcxx,
9
}:
10
11
let
12
+
swiftLlvmPackages = llvmPackages;
13
14
self = rec {
15