[Openmp-commits] [PATCH] D95466: [OpenMP][NVPTX] Drop dependence on CUDA to build NVPTX `deviceRTLs`

Krzysztof Parzyszek via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 27 10:18:45 PST 2021


kparzysz added a comment.

I don't have CUDA on my system, and now the build is broken:

  [ 38%] Building LLVM bitcode target_impl.cu-cuda_80-sm_80.bc
  In file included from /w/src/llvm.org/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu:14:
  In file included from /w/src/llvm.org/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h:15:
  In file included from /usr/include/assert.h:35:
  /usr/include/features.h:424:12: fatal error: 'sys/cdefs.h' file not found
  #  include <sys/cdefs.h>
             ^~~~~~~~~~~~~
  1 error generated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95466/new/

https://reviews.llvm.org/D95466



More information about the Openmp-commits mailing list