[llvm] 7f7605d - [gn build] Manually port f7b3559c

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 16:56:54 PST 2025


Author: Arthur Eubanks
Date: 2025-02-07T00:56:30Z
New Revision: 7f7605d3856432023a4acbd62fd3474c29da54fe

URL: https://github.com/llvm/llvm-project/commit/7f7605d3856432023a4acbd62fd3474c29da54fe
DIFF: https://github.com/llvm/llvm-project/commit/7f7605d3856432023a4acbd62fd3474c29da54fe.diff

LOG: [gn build] Manually port f7b3559c

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang/test/BUILD.gn
    llvm/utils/gn/secondary/llvm/lib/Frontend/Offloading/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn b/llvm/utils/gn/secondary/clang/test/BUILD.gn
index 1c88d447658ce0c..f333d457a0f996d 100644
--- a/llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -67,6 +67,7 @@ write_lit_config("lit_site_cfg") {
     "ENABLE_SHARED=0",
     "LLVM_EXTERNAL_LIT=",
     "LLVM_HOST_TRIPLE=$llvm_current_triple",
+    "LLVM_INCLUDE_SPIRV_TOOLS_TESTS=",
     "LLVM_LIT_TOOLS_DIR=",  # Intentionally empty, matches cmake build.
     "LLVM_TOOL_LLVM_DRIVER_BUILD=0",  # FIXME: Add actual support for this.
     "LLVM_USE_SANITIZER=",

diff  --git a/llvm/utils/gn/secondary/llvm/lib/Frontend/Offloading/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Frontend/Offloading/BUILD.gn
index 3fa4ffab82cf808..1c839b1f3090ff5 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Frontend/Offloading/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Frontend/Offloading/BUILD.gn
@@ -2,6 +2,7 @@ static_library("Offloading") {
   output_name = "LLVMFrontendOffloading"
   deps = [
     "//llvm/lib/IR",
+    "//llvm/lib/ObjectYAML",
     "//llvm/lib/Support",
     "//llvm/lib/Transforms/Utils",
   ]


        


More information about the llvm-commits mailing list