<div dir="auto"><div>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.<div dir="auto"><br></div><div dir="auto">James</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun., Nov. 15, 2020, 19:27 Andreas Beckmann, <<a href="mailto:anbe@debian.org">anbe@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tag -1 upstream<br>
<br>
oclgrind FTBFS with both LLVM 10 and LLVM 11.<br>
<br>
First errors:<br>
<br>
In file included from /usr/lib/llvm-10/include/llvm/ADT/StringRef.h:12,<br>
                 from /usr/lib/llvm-10/include/llvm/IR/DiagnosticHandler.h:15,<br>
                 from /usr/lib/llvm-10/include/llvm/IR/LLVMContext.h:18,<br>
                 from /build/oclgrind-19.10/src/core/Context.cpp:21:<br>
/usr/lib/llvm-10/include/llvm/ADT/STLExtras.h:559:49: error: 'std::index_sequence' has not been declared<br>
  559 |   template <size_t... Ns> value_type deref(std::index_sequence<Ns...>) const {<br>
      |                                                 ^~~~~~~~~~~~~~<br>
<br>
In file included from /usr/lib/llvm-11/include/llvm/ADT/Hashing.h:49,<br>
                 from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:12,<br>
                 from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18,<br>
                 from /build/oclgrind-19.10/src/core/common.cpp:18:<br>
/usr/lib/llvm-11/include/llvm/Support/SwapByteOrder.h:152:13: error: 'enable_if_t' in namespace 'std' does not name a template type<br>
  152 | inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) {<br>
      |             ^~~~~~~~~~~<br>
/usr/lib/llvm-11/include/llvm/Support/SwapByteOrder.h:152:8: note: 'std::enable_if_t' is only available from C++14 onwards<br>
  152 | inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) {<br>
      |        ^~~<br>
<br>
<br>
Andreas<br>
<br>
_______________________________________________<br>
Pkg-opencl-devel mailing list<br>
<a href="mailto:Pkg-opencl-devel@alioth-lists.debian.net" target="_blank" rel="noreferrer">Pkg-opencl-devel@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-opencl-devel" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-opencl-devel</a></blockquote></div></div></div>