[llvm] [SPIR-V] Add SPIRV to LLVM_ALL_TARGETS (PR #119653)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 19 15:10:19 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` running on `clang-debian-cpp20` while building `.github,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/8309
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
119.923 [3467/17/2482] Building SystemZGenSubtargetInfo.inc...
121.248 [3466/17/2483] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVCommandLine.cpp.o
121.391 [3465/17/2484] Building RISCVGenInstrInfo.inc...
125.096 [3464/17/2485] Building RISCVGenGlobalISel.inc...
125.769 [3463/17/2486] Building AMDGPUGenRegisterInfo.inc...
126.365 [3462/17/2487] Building AMDGPUGenRegisterBank.inc...
128.128 [3461/17/2488] Building RISCVGenDAGISel.inc...
128.936 [3460/17/2489] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVInstrInfo.cpp.o
131.889 [3459/17/2490] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVMetadata.cpp.o
131.927 [3458/17/2491] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o
ccache /usr/bin/clang++-17 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/SPIRV -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include -Wno-deprecated-enum-enum-conversion -Wno-deprecated-declarations -Wno-deprecated-anon-enum-enum-conversion -Wno-ambiguous-reversed-operator -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++20 -fvisibility=hidden -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o -c /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp:538:8: error: no member named 'memory_order_relaxed' in 'std::memory_order'; did you mean 'std::memory_order_relaxed'?
538 | case std::memory_order::memory_order_relaxed:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::memory_order_relaxed
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:72:33: note: 'std::memory_order_relaxed' declared here
72 | inline constexpr memory_order memory_order_relaxed = memory_order::relaxed;
| ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp:540:8: error: no member named 'memory_order_acquire' in 'std::memory_order'; did you mean 'std::memory_order_acquire'?
540 | case std::memory_order::memory_order_acquire:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::memory_order_acquire
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:74:33: note: 'std::memory_order_acquire' declared here
74 | inline constexpr memory_order memory_order_acquire = memory_order::acquire;
| ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp:542:8: error: no member named 'memory_order_release' in 'std::memory_order'; did you mean 'std::memory_order_release'?
542 | case std::memory_order::memory_order_release:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::memory_order_release
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:75:33: note: 'std::memory_order_release' declared here
75 | inline constexpr memory_order memory_order_release = memory_order::release;
| ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp:544:8: error: no member named 'memory_order_acq_rel' in 'std::memory_order'; did you mean 'std::memory_order_acq_rel'?
544 | case std::memory_order::memory_order_acq_rel:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::memory_order_acq_rel
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:76:33: note: 'std::memory_order_acq_rel' declared here
76 | inline constexpr memory_order memory_order_acq_rel = memory_order::acq_rel;
| ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp:546:8: error: no member named 'memory_order_seq_cst' in 'std::memory_order'; did you mean 'std::memory_order_seq_cst'?
546 | case std::memory_order::memory_order_seq_cst:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::memory_order_seq_cst
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:77:33: note: 'std::memory_order_seq_cst' declared here
77 | inline constexpr memory_order memory_order_seq_cst = memory_order::seq_cst;
| ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp:615:15: error: invalid operands to binary expression ('std::memory_order' and 'unsigned int')
615 | if (Order == Semantics) {
```
</details>
https://github.com/llvm/llvm-project/pull/119653
More information about the llvm-commits
mailing list