[clang] [Clang] - Add libclangSerialization to clang driver unittests (PR #109329)

Pranav Bhandarkar via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 19 13:19:52 PDT 2024


https://github.com/bhandarkar-pranav created https://github.com/llvm/llvm-project/pull/109329

This PR is a fix for issue [#109328](https://github.com/llvm/llvm-project/issues/109328). libclangSerializaton.so is needed for building clang driver unittests after
https://github.com/llvm/llvm-project/pull/76838 was merged.

>From e81b6f5ad0ad987a8b6478d19335cc428f3fa635 Mon Sep 17 00:00:00 2001
From: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: Thu, 19 Sep 2024 15:16:18 -0500
Subject: [PATCH] [Clang] - Add libclangSerialization to clang driver unittests

This PR is a fix for issue #109328. libclangSerializaton.so is
needed for building clang driver unittests after
https://github.com/llvm/llvm-project/pull/76838 was merged.
---
 clang/unittests/Driver/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/unittests/Driver/CMakeLists.txt b/clang/unittests/Driver/CMakeLists.txt
index 752037f78fb147..efdd07ea238890 100644
--- a/clang/unittests/Driver/CMakeLists.txt
+++ b/clang/unittests/Driver/CMakeLists.txt
@@ -22,4 +22,5 @@ clang_target_link_libraries(ClangDriverTests
   clangDriver
   clangBasic
   clangFrontend # For TextDiagnosticPrinter.
+  clangSerialization
   )



More information about the cfe-commits mailing list