Andrew Childs
3e47747657
libxml2: cap MACOSX_DEPLOYMENT_TARGET at 10.16
...
libxml2 is used in bootstrapping, so the alternates solution of
running libtoolize is tricky here.
2021-05-17 00:27:03 +09:00
Andrew Childs
aadc07a3d9
mc: fix code signature on aarch64-darwin
2021-05-17 00:27:03 +09:00
Andrew Childs
755d980440
darwin: use "11.0" as sdk and minimum version on aarch64-darwin
2021-05-17 00:27:03 +09:00
Andrew Childs
79e34294bd
nukeReferences: fix code signatures on aarch64-darwin
2021-05-17 00:27:03 +09:00
Andrew Childs
f067102afe
removeReferencesTo: fix code signatures on aarch64-darwin
2021-05-17 00:27:03 +09:00
Ivan Babrou
6815776cb0
python3Packages.cryptography: ignore test_openssl_memleak.py on aarch64-darwin
...
The test fails due to dependency on W+X memory, which is forbidden as of 11.2.
2021-05-17 00:27:03 +09:00
Ivan Babrou
da3ae0231a
apple-source-releases: make it compile on aarch64
2021-05-17 00:27:03 +09:00
Ivan Babrou
2eb97f2ddd
darwin.developer_cmds: wrap clang -E from clang-wrapped as clang-cpp
2021-05-17 00:27:03 +09:00
Ivan Babrou
bac1418031
xcbuild: allow building arm64 binaries
...
File paths are copied from XCode 12.
2021-05-17 00:27:03 +09:00
Andrew Childs
23cae56ca7
lib/systems/platforms: add Apple M1
2021-05-17 00:27:03 +09:00
Andrew Childs
c99904e113
clang_11: revert -fno-common default
2021-05-17 00:27:02 +09:00
Andrew Childs
1a45df1f7f
ctags: fix build with newer darwin libraries
2021-05-17 00:27:02 +09:00
Andrew Childs
d2c9670339
darwin: add CoreFoundation to the build when explicitly required
2021-05-17 00:27:02 +09:00
Moritz Angermann
3a3df3146e
Add crossPkgs.aarch64-darwin
2021-05-17 00:27:02 +09:00
Vladimír Čunát
1a2cb94c82
hydra jobset support for aarch64-darwin
2021-05-17 00:27:02 +09:00
Matthew Bauer
3e7034abb9
darwin/xcode: provide libc++ from XCode toolchain
...
We could use our own libc++ here, but it is probably best to use the
provided one to ensure consistency. This fixes some C++ programs when
running aarch64-apple-ios-clang++.
2021-05-17 00:27:02 +09:00
Matthew Bauer
a6753d0c42
lib/systems: add aarch64-darwin to mesaPlatforms
2021-05-17 00:27:02 +09:00
Matthew Bauer
33b59b8940
flake.nix: add aarch64-darwin
2021-05-17 00:27:02 +09:00
Andrew Childs
768aae66ef
stdenv/darwin: Apple Silicon support
2021-05-17 00:27:02 +09:00
Andrew Childs
3eacdfe24a
stdenv/darwin: bootstrap tools for Apple Silicon
2021-05-17 00:27:02 +09:00
Andrew Childs
772b66531a
darwin: wrap strip and install_name_tool to codesign modified files
...
Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
2021-05-17 00:27:02 +09:00
Andrew Childs
7eb1e3695d
darwin.signingUtils: init
...
Helper scripts for code signing on darwin.
2021-05-17 00:27:02 +09:00
Andrew Childs
bfd9a7784e
darwin.postLinkSignHook: init
2021-05-17 00:27:02 +09:00
Andrew Childs
4c890ce9aa
darwin.sigtool: init
2021-05-17 00:27:02 +09:00
Andrew Childs
a7bcb6b936
darwin cross: include CoreFoundation in stdenv
2021-05-17 00:27:01 +09:00
Andrew Childs
9e05276949
bash: provide a working binutils
...
Why does bash need binutils at all? What's wrong with stdenv?
This avoids a broken ld wrapper, since binutils is binutils wrapped
for linux, even though it's only required on darwin.
2021-05-17 00:27:01 +09:00
Andrew Childs
c696fcdacb
fixDarwinDylibNames: set name of install_name_tool
2021-05-17 00:27:01 +09:00
Andrew Childs
9fb8924389
darwin: integrate macOS 11 sdk
2021-05-17 00:27:01 +09:00
Andrew Childs
fe0d5a54c1
darwin/apple-sdk-11.0: inject an sdk for macOS 11
2021-05-17 00:27:01 +09:00
Andrew Childs
0ba7a04743
darwin/binutils: include codesign_allocate
2021-05-17 00:27:01 +09:00
Andrew Childs
15637fe621
bintools-wrapper: support post linker hooks
2021-05-17 00:27:01 +09:00
Andrew Childs
eb8f8afac7
libtapi: cross compilation
2021-05-17 00:27:01 +09:00
Andrew Childs
b7abec31d4
rewrite-tbd: init
2021-05-17 00:27:01 +09:00
Andrew Childs
257cb1c8e8
print-reexports: rehome, tbd4 support, cross compilation
2021-05-17 00:27:01 +09:00
Andrew Childs
1182552332
gmp: disable assembly on Apple Silicon
2021-05-17 00:27:01 +09:00
Andrew Childs
314c92c542
curl: disable gssSupport for Apple Silicon
2021-05-17 00:27:00 +09:00
Andrew Childs
bd4a45f5d4
cctools: drop suspicious dependency
2021-05-17 00:27:00 +09:00
Andrew Childs
e44dd84664
libtool2: macOS 11 support
2021-05-17 00:27:00 +09:00
Andrew Childs
5ed7e55167
groff: fix build with clang >= 9
2021-05-17 00:27:00 +09:00
Andrew Childs
c9af80e44a
fontconfig: backport atomics fixes for aarch64-darwin
2021-05-17 00:27:00 +09:00
Andrew Childs
48a1e1cb22
pcre2: disable jit on Apple Silicon
2021-05-17 00:27:00 +09:00
Andrew Childs
8e33b341a3
pcre: disable jit on Apple Silicon
2021-05-17 00:27:00 +09:00
Andrew Childs
cbe172fa67
darwin.ICU: cross compilation
2021-05-17 00:27:00 +09:00
Andrew Childs
aa3361326b
darwin.adv_cmds: fix cross compilation
2021-05-17 00:27:00 +09:00
Andrew Childs
24a378c070
zlib: fix cross compilation on darwin
2021-05-17 00:27:00 +09:00
Andrew Childs
9088e445fe
glib: fix build
...
It's not clear why this is required, but glib includes CoreServices
headers and calls CoreServices functions, so it's reasonable to link
against the framework explicitly.
2021-05-17 00:27:00 +09:00
Andrew Childs
1fc0499569
xar: fix cross compilation
2021-05-17 00:27:00 +09:00
Andrew Childs
2931a2e1d5
pbzx: fix cross compilation
2021-05-17 00:27:00 +09:00
Andrew Childs
9ad03b1ed9
flex: fix cross compilation
2021-05-17 00:27:00 +09:00
Andrew Childs
4e09c26ea1
openssh: disable kerberos on Apple Silicon
2021-05-17 00:26:59 +09:00