[llvm] [SYCL] Add property set types and JSON representation (PR #147321)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 20:50:53 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/22430

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
2.134 [2/9/708] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
2.138 [2/8/709] Linking CXX executable unittests/XRay/XRayTests
2.139 [2/7/710] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
2.167 [2/6/711] Linking CXX executable unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests
2.179 [2/5/712] Linking CXX executable unittests/Transforms/Utils/UtilsTests
2.190 [2/4/713] Linking CXX executable unittests/IR/IRTests
2.227 [2/3/714] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
2.603 [2/2/715] Linking CXX executable unittests/Support/SupportTests
5.489 [2/1/716] Building CXX object unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o
5.861 [1/1/717] Linking CXX executable unittests/Frontend/LLVMFrontendTests
FAILED: unittests/Frontend/LLVMFrontendTests 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold     -Wl,--gc-sections unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/HLSLBindingTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/HLSLRootSignatureDumpTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/HLSLRootSignatureRangesTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenACCTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPContextTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPIRBuilderTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPParsingTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPCompositionTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPDecompositionTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPDirectiveNameTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPDirectiveNameParserTest.cpp.o unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o -o unittests/Frontend/LLVMFrontendTests  -Wl,-rpath,/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/lib  lib/libLLVMFrontendOpenACC.so.22.0git  lib/libLLVMPasses.so.22.0git  lib/libllvm_gtest_main.so.22.0git  lib/libLLVMTestingSupport.so.22.0git  lib/libLLVMFrontendOpenMP.so.22.0git  lib/libLLVMFrontendDirective.so.22.0git  lib/libLLVMTransformUtils.so.22.0git  lib/libLLVMAnalysis.so.22.0git  lib/libLLVMFrontendHLSL.so.22.0git  lib/libLLVMCore.so.22.0git  lib/libLLVMTargetParser.so.22.0git  lib/libllvm_gtest.so.22.0git  lib/libLLVMSupport.so.22.0git  -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/lib && :
unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o:PropertySetRegistryTest.cpp:function PropertySetRegistryTest_IllFormedJSON_Test::TestBody() [clone .localalias]:(.text._ZN42PropertySetRegistryTest_IllFormedJSON_Test8TestBodyEv+0xea): error: undefined reference to 'llvm::offloading::readPropertiesFromJSON[abi:cxx11](llvm::MemoryBufferRef)'
unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o:PropertySetRegistryTest.cpp:function PropertySetRegistryTest_IllFormedJSON_Test::TestBody() [clone .localalias]:(.text._ZN42PropertySetRegistryTest_IllFormedJSON_Test8TestBodyEv+0x244): error: undefined reference to 'llvm::offloading::readPropertiesFromJSON[abi:cxx11](llvm::MemoryBufferRef)'
unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o:PropertySetRegistryTest.cpp:function PropertySetRegistryTest_IllFormedJSON_Test::TestBody() [clone .localalias]:(.text._ZN42PropertySetRegistryTest_IllFormedJSON_Test8TestBodyEv+0x610): error: undefined reference to 'llvm::offloading::readPropertiesFromJSON[abi:cxx11](llvm::MemoryBufferRef)'
unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o:PropertySetRegistryTest.cpp:function PropertySetRegistryTest_IllFormedJSON_Test::TestBody() [clone .localalias]:(.text._ZN42PropertySetRegistryTest_IllFormedJSON_Test8TestBodyEv+0x839): error: undefined reference to 'llvm::offloading::readPropertiesFromJSON[abi:cxx11](llvm::MemoryBufferRef)'
unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/PropertySetRegistryTest.cpp.o:PropertySetRegistryTest.cpp:function checkSerialization(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> > > > > > > > const&) [clone .localalias]:(.text._Z18checkSerializationRKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES_IS5_St7variantIJjN4llvm11SmallVectorIhLj0EEEEESt4lessIS5_ESaISt4pairIKS5_SA_EEESC_SaISD_ISE_SH_EEE+0xcb): error: undefined reference to 'llvm::offloading::writePropertiesToJSON(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::variant<unsigned int, llvm::SmallVector<unsigned char, 0u> > > > > > > > const&, llvm::raw_ostream&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/147321


More information about the llvm-commits mailing list