[mlir][vulkan-runner] Remove duplicated/uncessary link libraries
authorLei Zhang <antiagainst@google.com>
Thu, 7 May 2020 14:31:19 +0000 (10:31 -0400)
committerLei Zhang <antiagainst@google.com>
Thu, 7 May 2020 17:57:26 +0000 (13:57 -0400)
vulkan-runtime-wrappers does not need MLIRSPIRVSerialization,
which is used by the ConvertGpuLaunchFuncToVulkanLaunchFunc pass
under the hood.

Differential Revision: https://reviews.llvm.org/D79577

mlir/tools/mlir-vulkan-runner/CMakeLists.txt

index 2b45a93..1b99104 100644 (file)
@@ -45,8 +45,6 @@ if (MLIR_VULKAN_RUNNER_ENABLED)
 
   target_link_libraries(vulkan-runtime-wrappers
     PUBLIC
-    LLVMSupport
-    MLIRSPIRVSerialization
     LLVMCore
     LLVMSupport
     ${Vulkan_LIBRARY}
@@ -59,11 +57,11 @@ if (MLIR_VULKAN_RUNNER_ENABLED)
     ${conversion_libs}
     LLVMCore
     LLVMSupport
-    MLIRJitRunner
     MLIRAnalysis
     MLIREDSC
     MLIRExecutionEngine
     MLIRIR
+    MLIRJitRunner
     MLIRLLVMIR
     MLIRParser
     MLIRSPIRVTransforms