Skip to content

Conversation

Meinersbur
Copy link
Member

@Meinersbur Meinersbur commented Aug 6, 2025

Re-apply "[flang][cmake] Fix bcc dependencies (#125822)"

It was overwritten due to an automatic merge gone wrong for #124416

git cherry-pick f9af5c145f40480d46874b643ca2b1237e9fbb2a applied in 97cf061 ignored the renaming of FortranCommon into FortranSupport after #125822.

Original commit message:

The Fortran libraries are not part of MLIR, so they should use target_link_libraries() rather than mlir_target_link_libraries().
This fixes an issue introduced in #20966.

@Meinersbur Meinersbur requested review from nikic and tstellar August 6, 2025 13:20
Copy link
Contributor

@nikic nikic left a comment

Choose a reason for hiding this comment

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

LGTM

@kiranchandramohan
Copy link
Contributor

kiranchandramohan commented Aug 6, 2025

Nit: bcc -> bbc

@Meinersbur Meinersbur changed the title [flang][cmake] Fix bcc dependencies [flang][cmake] Fix bbc dependencies Aug 6, 2025
@Meinersbur Meinersbur marked this pull request as ready for review August 6, 2025 14:32
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Aug 6, 2025
@Meinersbur Meinersbur merged commit 2bb23d4 into llvm:main Aug 6, 2025
13 checks passed
@tstellar tstellar added this to the LLVM 21.x Release milestone Aug 6, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in LLVM Release Status Aug 6, 2025
@tstellar
Copy link
Collaborator

tstellar commented Aug 6, 2025

/cherry-pick 2bb23d4

@llvmbot
Copy link
Member

llvmbot commented Aug 6, 2025

/pull-request #152364

@llvmbot llvmbot moved this from Needs Triage to Done in LLVM Release Status Aug 6, 2025
tru pushed a commit to llvmbot/llvm-project that referenced this pull request Aug 8, 2025
Re-apply "[flang][cmake] Fix bcc dependencies (llvm#125822)"

It was overwritten due to an automatic merge gone wrong for llvm#124416.

`git cherry-pick f9af5c1` applied in
97cf061 ignored the renaming of
FortranCommon into FortranSupport after llvm#125822.

Original commit message:

The Fortran libraries are not part of MLIR, so they should use
target_link_libraries() rather than mlir_target_link_libraries().
This fixes an issue introduced in llvm#20966.

(cherry picked from commit 2bb23d4)
@Meinersbur Meinersbur deleted the flang_fix-bbc-deps branch August 19, 2025 08:35
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

Development

Successfully merging this pull request may close these issues.

5 participants