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

flang: support OpenMP, use shared libs on Linux #204626

Merged
merged 2 commits into from
Jan 18, 2025
Merged

Conversation

cho-m
Copy link
Member

@cho-m cho-m commented Jan 17, 2025

A bit of a hack by using LLVM_TOOL_OPENMP_BUILD. It is the same approach used by Fedora1 but they keep copy of omp_lib.{F90,h} rather than generating it on the fly.

Shared libraries should work on Linux. Ideally would want to figure out macOS issue if we ever want to use Flang as a dependency.

Footnotes

  1. https://src.fedoraproject.org/rpms/flang/blob/rawhide/f/flang.spec#_161

@carlocab carlocab added the long build Set a long timeout for formula testing label Jan 17, 2025
@cho-m cho-m marked this pull request as ready for review January 18, 2025 19:24
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jan 18, 2025
@BrewTestBot BrewTestBot enabled auto-merge January 18, 2025 19:29
@BrewTestBot BrewTestBot added this pull request to the merge queue Jan 18, 2025
Merged via the queue into master with commit 13f37fb Jan 18, 2025
15 checks passed
@BrewTestBot BrewTestBot deleted the flang-openmp branch January 18, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. long build Set a long timeout for formula testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants