Skip to content

[flang] Add install target to install flang headers #78151

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

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

tblah
Copy link
Contributor

@tblah tblah commented Jan 15, 2024

This makes it more convenient to install flang without using the general ninja install to install everything.

To install flang-new and associated things one needs ninja install-flang-new install-flang-libraries install-flang-headers.

@llvmbot llvmbot added the flang Flang issues not falling into any other category label Jan 15, 2024
@tblah
Copy link
Contributor Author

tblah commented Jan 15, 2024

I wonder if there should be a single overall target covering flang-new, the runtime libraries, and the headers. But I am unsure what should call it. Just install-flang would match clang, but would collide with the target to only install the driver once the driver is renamed.

Copy link
Member

@DavidTruby DavidTruby left a comment

Choose a reason for hiding this comment

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

Do we need a target to only install the driver? I think we should match clang and install everything relevant under install-flang. In that case install-flang-new could be renamed to install-flang-driver in case anyone wants only the driver.

Regardless, that's somewhat a separate conversation. This change looks good to me!

@tblah tblah merged commit 03f260f into llvm:main Jan 16, 2024
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
This makes it more convenient to install flang without using the general
`ninja install` to install everything.

To install flang-new and associated things one needs `ninja
install-flang-new install-flang-libraries install-flang-headers`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants