-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Build] Broken build with Xcode 15.3 #19899
Comments
Looks like C++20 added on ostream operator<< for std::chrono::duration and the date library also provides it. https://en.cppreference.com/w/cpp/chrono/duration/operator_ltlt The date library doesn't seem to be C++20 aware as I don't see any checks in date.h for ORT generally uses C++17, with the macOS build being the exception and using C++20. @jchen351 is using C++20 ORT build required on macOS? #16187 has changes to test code only so not sure if that is an optional change. If we need to use C++20 in the macOS ORT build we might need to patch date.h to exclude that operator<< implementation for a C++20 build. |
We would like to upgrade our C++ standard to C++20. It is working in progress. |
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details. |
hello, are there any news? |
Since the author said: "I'm really not in a position to develop and maintain such a project." We should consider stopping using the lib. |
seems to be fixed in |
Update: Fix should be available in 1.17.3 |
Describe the issue
ONNX runtime build is broken after updating XCode from 15.2 to 15.3.
After installing side by side the Xcode 15.2 and switching to it, it builds successfully again.
Xcode 15.3 clang version info:
Xcode 15.2 clang version info:
Urgency
No response
Target platform
Mac OS X
Build script
I'm using this ONNX runtime build wrapper
https://github.com/supertone-inc/onnxruntime-build
without it, just run some default build
Error / output
Build error:
Visual Studio Version
No response
GCC / Compiler Version
Apple clang version 15.0.0 (clang-1500.3.9.4)
The text was updated successfully, but these errors were encountered: