Skip to content

[OpenMP] Linking uses a libomptarget with very narrow version tag #136255

Open
@KaruroChori

Description

@KaruroChori

Compiling some demo code with

clang++ main.cpp -fopenmp -g -fopenmp-targets=amd64-linux-unknown

and checking the linked libraries results in these two entries related to OpenMP:

  • libomp.so
  • libomptarget.so.21.0git

The second is using a specific version tag which is quite bad for portability. Is there any good reason why?
The version tested is pretty much the latest commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    openmpquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions