-
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
base: main
Are you sure you want to change the base?
Enable C++20 for more builds #27178
Conversation
…ore/providers/vitisai/imp/global_api.cc
| --cmake_extra_defines onnxruntime_BUILD_UNIT_TESTS=OFF | ||
| # Job 7: Extended minimal build with NNAPI EP for Android(arm64-v8a) and skip tests. | ||
| # NOTE: Keeping this as direct docker run due to custom volume mounts needed for Android SDK/NDK |
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-deps from the NDK for the particular configuration of:
- Linux build with Docker container
- C++20
- Ninja generator
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
| android_cpu_ep: |
I just simplified this to make it consistent instead of debugging further for now.
Description
Enable C++20 for more builds. Previously, it was limited to MacOS builds. Now, it is enabled for all builds except for ones with the CUDA EP enabled.
Motivation and Context
Working towards updating to the C++20 standard to enable use of new language and standard library features.