-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
darwin.libcxx: (╯°□°)╯︵ ┻━┻ #398727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
darwin.libcxx: (╯°□°)╯︵ ┻━┻ #398727
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
53ac93d
apple-sdk_15: 15.2 -> 15.5
emilazy e53d316
darwin.libcxx: init at 19.1.2+apple-sdk-15.5
reckenrode 5ea6794
llvmPackages.clang: add `systemLibcxxClang` (primarily for Darwin)
reckenrode c4c5d25
pkgs/stdenv/darwin: switch to using the system libc++ by default
reckenrode 9778e3a
pkgs/stdenv/cross: use the system libc++ by default on Darwin
reckenrode 5d2575c
Revert "apple-sdk: add hack for C++ issues on `x86_64-darwin`"
reckenrode 2245507
overrideLibcxx: drop
emilazy 8db6e71
libtorch-bin: drop libc++ replacement
reckenrode cdb5d3a
doc/stdenv/platform-notes: add section about libc++
reckenrode dc4c975
doc/rl-2511: mention libc++ changes on Darwin
reckenrode b5bbaf2
ovftool: drop libc++ replacement
reckenrode File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| # Use the text-based stubs and headers from the latest SDK (currently 15.x). This is safe because | ||
| # using features that are not available on an older deployment target is a hard error. | ||
| apple-sdk_15, | ||
| stdenvNoCC, | ||
| }: | ||
|
|
||
| stdenvNoCC.mkDerivation (finalAttrs: { | ||
| pname = "libcxx"; | ||
| # Keep this in sync with the corresponding LLVM libc++ version | ||
| # defined as `_LIBCPP_VERSION` in `usr/include/c++/v1/__config`. | ||
| version = "19.1.2+apple-sdk-${apple-sdk_15.version}"; | ||
| inherit (apple-sdk_15) src; | ||
|
|
||
| dontConfigure = true; | ||
| dontBuild = true; | ||
|
|
||
| installPhase = '' | ||
| runHook preInstall | ||
| mkdir -p "$out/include" "$out/lib" | ||
| cp -v usr/lib/libc++abi.tbd usr/lib/libc++.1.tbd "$out/lib" | ||
| ln -s libc++.1.tbd "$out/lib/libc++.tbd" | ||
| cp -rv usr/include/c++ "$out/include" | ||
| runHook postInstall | ||
| ''; | ||
|
|
||
| passthru.isLLVM = true; | ||
| }) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.