-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Enable C++20 for more builds #27178
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
Open
edgchen1
wants to merge
16
commits into
main
Choose a base branch
from
edgchen1/cpp20
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+111
−135
Open
Enable C++20 for more builds #27178
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
5884637
Update to C++20.
edgchen1 98c31ae
Fix ostream::operator<< usage with wchar_t*.
edgchen1 9171d14
try to fix time_point output operator availability check
edgchen1 92b3334
add back Apple stuff and handle IOS
edgchen1 831ae91
make Timestamp a separate type and implement stream insertion operato…
edgchen1 1e2ad83
move date.h dependency into logging.cc
edgchen1 2213158
Merge remote-tracking branch 'origin/main' into edgchen1/cpp20_fix
edgchen1 dad1617
add exception for MSVC CUDA EP build for now...
edgchen1 7f34d3b
add wostream overloads for Timestamp operator<<
edgchen1 ad1aab8
use std::filesystem::path:string instead of u8string in onnxruntime/c…
edgchen1 848c8b1
don't build android from Docker in minimal build workflow
edgchen1 2c78745
disable C++20 when onnxruntime_USE_CUDA is enabled for all builds, up…
edgchen1 a035d7f
update comment again
edgchen1 d339390
Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
edgchen1 06fec4f
tweak comment
edgchen1 9b1cdb1
Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
edgchen1 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's an error with CMake not finding
clang-scan-depsfrom the NDK for the particular configuration of:it works fine when running outside of Docker. this is what the other Android CI builds do, e.g., here:
onnxruntime/.github/workflows/android.yml
Line 194 in a5dc0f9
I just simplified this to make it consistent instead of debugging further for now.