Skip to content
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

osx issues (llvm 11 on x86 and llvm 11 and 12 on arm) #816

Closed
mcbarton opened this issue Mar 9, 2024 · 4 comments
Closed

osx issues (llvm 11 on x86 and llvm 11 and 12 on arm) #816

mcbarton opened this issue Mar 9, 2024 · 4 comments

Comments

@mcbarton
Copy link
Contributor

mcbarton commented Mar 9, 2024

There appears to be an issue with clad build on osx version 13 using llvm 11 , as seen in

https://github.com/vgvassilev/clad/actions/runs/8209849513/job/22456183203

The error which occurs is

In file included from /Users/runner/work/clad/clad/demos/ErrorEstimation/CustomModel/CustomModel.cpp:3:
In file included from /Users/runner/work/clad/clad/demos/ErrorEstimation/CustomModel/CustomModel.h:11:
In file included from /Users/runner/work/clad/clad/include/clad/Differentiator/EstimationModel.h:4:
In file included from /Users/runner/work/clad/clad/include/clad/Differentiator/VisitorBase.h:14:
In file included from /Users/runner/work/clad/clad/include/clad/Differentiator/Compatibility.h:11:
In file included from /usr/local/opt/llvm@11/include/clang/AST/ASTContext.h:19:
In file included from /usr/local/opt/llvm@11/include/clang/AST/CanonicalType.h:17:
In file included from /usr/local/opt/llvm@11/include/clang/AST/Type.h:20:
In file included from /usr/local/opt/llvm@11/include/clang/AST/DependenceFlags.h:11:
In file included from /usr/local/opt/llvm@11/include/clang/Basic/BitmaskEnum.h:18:
In file included from /usr/local/opt/llvm@11/include/llvm/ADT/BitmaskEnum.h:14:
In file included from /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/utility:277:
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/cstdlib:144:9: error: no member named 'at_quick_exit' in the global namespace
using ::at_quick_exit _LIBCPP_USING_IF_EXISTS;
      ~~^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/cstdlib:145:9: error: no member named 'quick_exit' in the global namespace
using ::quick_exit _LIBCPP_USING_IF_EXISTS;
      ~~^
2 errors generated.

I will attempt to fix as part of PR #807

@mcbarton mcbarton changed the title osx issue llvm 11 build issue osx issue llvm 11 build Mar 9, 2024
@mcbarton mcbarton changed the title osx issue llvm 11 build osx issues (llvm 11 on x86 and llvm 11 and 12 on arm) Mar 10, 2024
@mcbarton
Copy link
Contributor Author

In PR #807
osx14-arm-clang-runtime12 job disabled due to failing test

******************** TEST 'Clad Unit Tests :: Basic/./DifferentiatorHTests/failed_to_discover_tests_from_gtest' FAILED

osx14-arm-clang-runtime11 disabled due to being unable to find llvm

@vgvassilev
Copy link
Owner

In PR #807 osx14-arm-clang-runtime12 job disabled due to failing test

******************** TEST 'Clad Unit Tests :: Basic/./DifferentiatorHTests/failed_to_discover_tests_from_gtest' FAILED

osx14-arm-clang-runtime11 disabled due to being unable to find llvm

There is probably no point in keeping arm builds for llvm 11 and 12.

@mcbarton
Copy link
Contributor Author

@vgvassilev I have commented out them out in the PR. I will remove them when I fix any issues raised in the PRs review. It should get all green ticks now I disabled the 3 failing jobs mentioned in this PR.

@vgvassilev
Copy link
Owner

This issue seems to have been fixed by the proposed PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants