[llvm-bugs] [Bug 48907] New: OpenMP compilation broken on non-CUDA system
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 27 14:13:05 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=48907
Bug ID: 48907
Summary: OpenMP compilation broken on non-CUDA system
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: Runtime Library
Assignee: unassignedbugs at nondot.org
Reporter: tianshilei1992 at gmail.com
CC: llvm-bugs at lists.llvm.org
https://reviews.llvm.org/D95466 dropped CUDA to build NVPTX deviceRTL and
enabled it by default. However, the building requires some libraries that are
not available on non-CUDA system by default, which could break the compilation.
```
[ 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.
```
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210127/40db6820/attachment.html>
More information about the llvm-bugs
mailing list