(Translated by https://www.hiragana.jp/)
[CMake] Fix install failure with CMAKE_SLANG_FRONTEND_ENABLED enabled by cepheus69 · Pull Request #7437 · llvm/circt · GitHub
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

[CMake] Fix install failure with CMAKE_SLANG_FRONTEND_ENABLED enabled #7437

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

cepheus69
Copy link

Slang compiler relies on the third-party libraries like unordered_dense and fmt library. The fmt library provides two ways to integrated it:
1.Headers-only
2.Seperately compiled
The main purpose of this commit is to avoid installation failure of CIRCT project due to finding fmt header file in wrong path which is in circt include directory when CMake_slang_Frontend_enabled is turned on. We hope to not install header files coming from fmt library.

Slang compiler relies on the third-party libraries like unordered_dense and fmt
library. The fmt library provides two ways to integrated it:
  1.Headers-only
  2.Seperately compiled
The main purpose of this commit is to avoid installation failure of CIRCT project due
to finding fmt header file in wrong path which is in circt `include` directory when
CMake_slang_Frontend_enabled is turned on. We hope to not install header files coming
from fmt library.
@cepheus69
Copy link
Author

This problem is mentioned previously in #7188

Copy link
Contributor

@fabianschuiki fabianschuiki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Can we do the same thing for unordered_dense?

@cepheus69
Copy link
Author

Very nice! Can we do the same thing for unordered_dense?

Okay! I ‘ll add it😉

@hailongSun2000 hailongSun2000 merged commit 930aabe into llvm:main Aug 6, 2024
4 checks passed
@cepheus69 cepheus69 deleted the buyun/failed_slang_installation branch August 6, 2024 05:49
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

Successfully merging this pull request may close these issues.

3 participants