I've started adding LLVM 11 support upstream today. I will try and get this finished soon and then push out a new upstream release that we can package here.
James On Sun., Nov. 15, 2020, 19:27 Andreas Beckmann, <a...@debian.org> wrote: > 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 > > _______________________________________________ > Pkg-opencl-devel mailing list > pkg-opencl-de...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-opencl-devel