Skip to content

[libomp][AIX] Ensure only libomp.a is published on AIX #109016

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
Sep 18, 2024

Conversation

xingxue-ibm
Copy link
Contributor

For libomp on AIX, we build shared object libomp.so first and then archive it into libomp.a. Due to a CMake for AIX problem, the install step also tries to publish libomp.so. While we use a script to build libomp.a out-of-tree for Clang and avoided the problem, this chokes the in-tree build for Flang. The issue will be reported to CMake but before a fixed CMake is available, this patch ensures only libomp.a is published.

@xingxue-ibm xingxue-ibm added the openmp:libomp OpenMP host runtime label Sep 17, 2024
@xingxue-ibm xingxue-ibm self-assigned this Sep 17, 2024
Copy link
Contributor

@DanielCChen DanielCChen left a comment

Choose a reason for hiding this comment

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

LGTM.

@xingxue-ibm xingxue-ibm merged commit bde51d9 into llvm:main Sep 18, 2024
8 checks passed
tmsri pushed a commit to tmsri/llvm-project that referenced this pull request Sep 19, 2024
For `libomp` on AIX, we build shared object `libomp.so` first and then
archive it into `libomp.a`. Due to a CMake for AIX problem, the install
step also tries to publish `libomp.so`. While we use a script to build
`libomp.a` out-of-tree for Clang and avoided the problem, this chokes
the in-tree build for Flang. The issue will be reported to CMake but
before a fixed CMake is available, this patch ensures only `libomp.a` is
published.
@xingxue-ibm xingxue-ibm deleted the publish-libomp-only branch April 1, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomp OpenMP host runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants