diff options
author | Carl Dong <contact@carldong.me> | 2019-10-15 19:28:49 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2020-06-19 14:35:48 -0400 |
commit | b3394ab235b93937321ffd08b8924e57855aac38 (patch) | |
tree | 128da05d8670701e89f2de6e242bfd3a8f7b2ed4 /ci/test/00_setup_env_native_valgrind.sh | |
parent | febe5823b4ae0de5cd0e6da3f69555acd0724267 (diff) |
contrib: macdeploy: Correctly generate macOS SDK
Previously, we did not include the macOS SDK libc++ headers in our SDK
creation process and instead used whichever libc++ headers shipped with
the clang package we downloaded in depends.
This change adds a script (which works on both GNU/Linux and macOS) to
correctly generate the macOS SDK including the libc++ headers. This can
be thought of as a simplified rewrite of tpoechtrager's script:
https://github.com/tpoechtrager/osxcross/blob/d3392f4eae78f3fa3f1fd065fa423f2712825102/tools/gen_sdk_package.sh
The location within the SDK where we place the libc++ headers is chosen
such that clang's search path detection logic for sysroots would pick up
the headers properly.
We also document this change.
Diffstat (limited to 'ci/test/00_setup_env_native_valgrind.sh')
0 files changed, 0 insertions, 0 deletions