[llvm] [Offload] Don't check in generated files (PR #141982)

Callum Fare via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 07:03:12 PDT 2025


================
@@ -32,6 +32,8 @@ function(add_target_library target_name lib_name)
 
     NO_INSTALL_RPATH
     BUILDTREE_ONLY
+
+    DEPENDS LibomptargetOffloadErrcodes
----------------
callumfare wrote:

Yeah this seems weird. I think the `OffloadErrcodes.inc` header should be part of the plugin interface rather than part of `libomptarget`. I'm not sure how `include/Shared` differs from the headers in `plugins-nextgen/common/include` but it makes sense to consider the error codes part of the plugin API rather than belonging to libomptarget.

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


More information about the llvm-commits mailing list