JonChesterfield added a comment. In D104904#2916943 <https://reviews.llvm.org/D104904#2916943>, @ye-luo wrote:
> Unforuantely I hit error on my ubuntu 20.04 system. > > #include <complex> > int main() > { } Given that ^ in fail.cpp and an invocation on a machine that doesn't have cuda or an nvidia card (it had built nvptx devicertl, probably doesn't matter for this) `$HOME/llvm-install/bin/clang++ -fopenmp -fopenmp-targets=nvptx64 fail.cpp -nocudalib` I also get a failure. This time on libstdc++ 10, various failures, starting from In file included from /home/amd/llvm-install/lib/clang/14.0.0/include/openmp_wrappers/complex:26: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/complex:45: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/sstream:38: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/istream:38: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ios:40: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/char_traits.h:216:7: error: no member named 'copy' in namespace 'std'; did you mean simply 'copy'? std::copy(__s2, __s2 + __n, __s1); ^~~~~ Reverting replaces that error with the expected "ptxas" doesn't exist. Therefore reverting this change, will reapply once the unexpected change of behaviour on nvptx is understood and avoided. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D104904/new/ https://reviews.llvm.org/D104904 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits