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

Different clang versions need different compiler options #139

Open
tpatki opened this issue Mar 13, 2024 · 0 comments
Open

Different clang versions need different compiler options #139

tpatki opened this issue Mar 13, 2024 · 0 comments

Comments

@tpatki
Copy link
Member

tpatki commented Mar 13, 2024

Newer clang versions, e.g. clang-14 onward have a New Pass Manager. As a result, we need to pass different compiler flags to load the LLVM pass. Understand and document the details here, and make appropriate changes to PFA CMake to check for clang versions.

clang-14: add -flegacy-pass-manager to CMAKE_CXX_FLAGS

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

1 participant