[PATCH] D43197: [OpenMP] Add flag for linking runtime bitcode library

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 14 08:21:38 PST 2018


gtbercea marked an inline comment as done.
gtbercea added inline comments.


================
Comment at: test/Driver/openmp-offload-gpu.c:150
+/// bitcode library that will be found via the LIBRARY_PATH.
+// RUN:   touch /tmp/libomptarget-nvptx-sm_60.bc
+// RUN:   LIBRARY_PATH=/tmp %clang -### -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda \
----------------
Hahnfeld wrote:
> This should not be in `/tmp` but probably `%T`.
I don't think this would have worked since I need to create a file with a specific name in a folder somewhere and the separator is OS specific. I moved the test to a new file where I limit OS to linux.


Repository:
  rC Clang

https://reviews.llvm.org/D43197





More information about the cfe-commits mailing list