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

George Rokos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 9 07:36:02 PST 2018

grokos added inline comments.

Comment at: test/Driver/openmp-offload-gpu.c:150
+/// bitcode library and add it to the LIBRARY_PATH.
+// RUN:   touch %T/libomptarget-nvptx-sm_60.bc
+// RUN:   env LIBRARY_PATH=%T %clang -### -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda \
ABataev wrote:
> Create empty `libomptarget-nvptx-sm_60.bc` in `Driver/lib` directory and use it in the test rather create|delete it dynamically.
I'm also in favour of this approach. On some systems /tmp is not accessible and the regression test fails.

  rC Clang


More information about the cfe-commits mailing list