https://bugs.llvm.org/show_bug.cgi?id=46664
Bug ID: 46664
Summary: clang searches filesystem for CUDA installation when
compiling C/C++ code
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: CUDA
Assignee: unassignedclangb...@nondot.org
Reporter: tstel...@redhat.com
CC: llvm-bugs@lists.llvm.org
To reproduce, install strace and run:
echo "int main(){}" | strace ./bin/clang -x c -o /dev/null -
One my system, I get, 10 access() syscalls looking for ptxas, and 4 stat()
syscalls looking for a cuda install.
It would be nice it we could eliminate the filesystem searches, since the
aren't necessary, and can reduce compile time performance especially on systems
with slow or network mounted filesystems.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs