[Pkg-opencl-devel] Bug#974793: Bug#974793: oclgrind: Please upgrade to llvm-toolchain-11
Andreas Beckmann
anbe at debian.org
Mon Nov 16 00:24:28 GMT 2020
Control: tag -1 upstream
oclgrind FTBFS with both LLVM 10 and LLVM 11.
First errors:
In file included from /usr/lib/llvm-10/include/llvm/ADT/StringRef.h:12,
from /usr/lib/llvm-10/include/llvm/IR/DiagnosticHandler.h:15,
from /usr/lib/llvm-10/include/llvm/IR/LLVMContext.h:18,
from /build/oclgrind-19.10/src/core/Context.cpp:21:
/usr/lib/llvm-10/include/llvm/ADT/STLExtras.h:559:49: error: 'std::index_sequence' has not been declared
559 | template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {
| ^~~~~~~~~~~~~~
In file included from /usr/lib/llvm-11/include/llvm/ADT/Hashing.h:49,
from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:12,
from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18,
from /build/oclgrind-19.10/src/core/common.cpp:18:
/usr/lib/llvm-11/include/llvm/Support/SwapByteOrder.h:152:13: error: 'enable_if_t' in namespace 'std' does not name a template type
152 | inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) {
| ^~~~~~~~~~~
/usr/lib/llvm-11/include/llvm/Support/SwapByteOrder.h:152:8: note: 'std::enable_if_t' is only available from C++14 onwards
152 | inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) {
| ^~~
Andreas
More information about the Pkg-opencl-devel
mailing list