[llvm-branch-commits] [mlir] c5d0172 - [mlir] Add build configuration for Quant unittest

Marius Brehler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 25 13:04:22 PST 2020


Author: Marius Brehler
Date: 2020-11-25T21:59:05+01:00
New Revision: c5d017267dea6c4e84b0e67f043bde94815052ac

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

LOG: [mlir] Add build configuration for Quant unittest

Added: 
    mlir/unittests/Dialect/Quant/CMakeLists.txt

Modified: 
    mlir/unittests/Dialect/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/unittests/Dialect/CMakeLists.txt b/mlir/unittests/Dialect/CMakeLists.txt
index 87eccaae8a30..22f1475a1393 100644
--- a/mlir/unittests/Dialect/CMakeLists.txt
+++ b/mlir/unittests/Dialect/CMakeLists.txt
@@ -6,4 +6,5 @@ target_link_libraries(MLIRDialectTests
   MLIRIR
   MLIRDialect)
 
+add_subdirectory(Quant)
 add_subdirectory(SPIRV)

diff  --git a/mlir/unittests/Dialect/Quant/CMakeLists.txt b/mlir/unittests/Dialect/Quant/CMakeLists.txt
new file mode 100644
index 000000000000..6341ca326447
--- /dev/null
+++ b/mlir/unittests/Dialect/Quant/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_mlir_unittest(MLIRQuantTests
+  QuantizationUtilsTest.cpp
+)
+target_link_libraries(MLIRQuantTests
+  PRIVATE
+  MLIRQuant)


        


More information about the llvm-branch-commits mailing list