ivanradanov wrote: ``` clang --verbose -foffload-via-llvm --cuda-path=/usr/local/cuda input.o -o a.out ``` Gives me ``` "clang-linker-wrapper" "--host-triple=x86_64-unknown-linux-gnu" "--cuda-path=/usr/local/cuda" "--linker-path=/usr/bin/ld" "-z" ..... "clang" --no-default-config -o /tmp/a.out.nvptx64.sm_89-954e0b.img --target=nvptx64-nvidia-cuda -march=sm_89 /tmp/input-nvptx64-nvidia-cuda-sm_89-945b9a.o ``` so the child of `clang-linker-wrapper` does not get the `--cuda-path`.
https://github.com/llvm/llvm-project/pull/149107 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits