[llvm] 7f828c4 - [gn] Add dummy build file for SPIRVTests

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 12:54:59 PST 2024


Author: Nico Weber
Date: 2024-02-02T15:53:49-05:00
New Revision: 7f828c4a2b7d9508ba369efff4dc259974eba048

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

LOG: [gn] Add dummy build file for SPIRVTests

sync_source_lists_from_cmake.py checks that every unittest in CMake
also exists in the GN build. 7b08b4360b48 added SPRIVTests, but the GN
build doesn't include the SPIRV target. So add a dummy target for this
to placate the check.

See also VETests in the gn build, which has the same setup.

Added: 
    llvm/utils/gn/secondary/llvm/unittests/Target/SPIRV/BUILD.gn

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/unittests/Target/SPIRV/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Target/SPIRV/BUILD.gn
new file mode 100644
index 0000000000000..3736a7fceabcc
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/Target/SPIRV/BUILD.gn
@@ -0,0 +1,4 @@
+# FIXME: If we add the SPIRV target to the GN build, add SPRIVTests here.
+group("dummy") {
+  sources = [ "SPIRVConvergenceRegionAnalysisTests.cpp" ]
+}


        


More information about the llvm-commits mailing list