================ @@ -2829,10 +2829,13 @@ void tools::addOpenMPDeviceRTL(const Driver &D, LibraryPaths.emplace_back(LibPath); OptSpecifier LibomptargetBCPathOpt = - Triple.isAMDGCN() ? options::OPT_libomptarget_amdgpu_bc_path_EQ - : options::OPT_libomptarget_nvptx_bc_path_EQ; + Triple.isAMDGCN() ? options::OPT_libomptarget_amdgpu_bc_path_EQ ---------------- jhuber6 wrote:
Is there a patch for the DeviceRTL build? I've been meaning to gut a lot of that starting with https://github.com/llvm/llvm-project/pull/119091 and soon removing the whole bundling thing so it's more like `libc.a`. ideally we'd have `lib/spirv64-intel-unknown/libomp.a` and the driver just passes `-Xoffload-linker -lomp`. https://github.com/llvm/llvm-project/pull/120145 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits