[Openmp-commits] [PATCH] D95466: [OpenMP][NVPTX] Drop dependence on CUDA to build NVPTX `deviceRTLs`
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 27 10:20:22 PST 2021
tianshilei1992 added a comment.
In D95466#2525767 <https://reviews.llvm.org/D95466#2525767>, @kparzysz wrote:
> 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.
`gcc-multilib` is needed.
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