bazel-contrib / toolchains_llvm

LLVM toolchain for bazel
Apache License 2.0
296 stars 213 forks source link

Include OpenMP shared libraries #339

Open jsharpe opened 3 months ago

jsharpe commented 3 months ago

Include the OpenMP shared libraries that are needed if you compile with -fopenmp or OpenMP target offload enabled.

jsharpe commented 3 months ago

Sure, I'll look to putting a test together for this. IIRC where we use this may also need the addition of a -B flag to properly find the bundler executables from the toolchain (we currently set this via .bazelrc) but this test will highlight whether this is required for a general case.