[llvm] b075dad - Add missing link component for Frontend offloading test (#151796)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 22:09:57 PDT 2025
Author: Arvind Sudarsanam
Date: 2025-08-02T01:09:53-04:00
New Revision: b075dadbd3e0e928bdeddb3d36af64e8a383e305
URL: https://github.com/llvm/llvm-project/commit/b075dadbd3e0e928bdeddb3d36af64e8a383e305
DIFF: https://github.com/llvm/llvm-project/commit/b075dadbd3e0e928bdeddb3d36af64e8a383e305.diff
LOG: Add missing link component for Frontend offloading test (#151796)
This change fixes one of the failures in
https://github.com/llvm/llvm-project/pull/147321
/usr/bin/ld:
unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o:
undefined reference to symbol
'_ZN4llvm10offloading21writePropertiesToJSONERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_IS7_St7variantIJjNS_11SmallVectorIhLj0EEEEESt4lessIS7_ESaISt4pairIKS7_SB_EEESD_SaISE_ISF_SI_EEERNS_11raw_ostreamE'
Need to add a missing LLVM link component in CMakeLists.txt.
Thanks
Signed-off-by: Arvind Sudarsanam <arvind.sudarsanam at intel.com>
Added:
Modified:
llvm/unittests/Frontend/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/unittests/Frontend/CMakeLists.txt b/llvm/unittests/Frontend/CMakeLists.txt
index 4d238ecf6f640..cd7abb727735d 100644
--- a/llvm/unittests/Frontend/CMakeLists.txt
+++ b/llvm/unittests/Frontend/CMakeLists.txt
@@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS
Analysis
Core
FrontendHLSL
+ FrontendOffloading
FrontendOpenACC
FrontendOpenMP
Passes
More information about the llvm-commits
mailing list