[clang] [llvm] [OpenMP] Remove 'libomptarget.devicertl.a' fatbinary and use static library (PR #126143)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 9 19:05:41 PST 2025


jhuber6 wrote:

> Hope the bot will be happy as well

I need to fix one thing unfortunately, there's this `--nvptx-lower-global-ctor-dtor` option that we pass for these 'direct' GPU compilations on NVPTX. That's defined in the NVPTX backend so if the user didn't build with it, then it is an error. It's an opt-in thing since CUDA can't handle it and they wanted it to remain an error. I'm thinking the easiest solution is to just define it somewhere in LLVM so it's always there. Don't know where a good spot would be though.

https://github.com/llvm/llvm-project/pull/126143


More information about the llvm-commits mailing list