[all-commits] [llvm/llvm-project] 97fe5f: [Driver] Pass `--cuda-path` to test (#117415)

Kai Luo via All-commits all-commits at lists.llvm.org
Mon Nov 25 16:05:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97fe5fa54c2e99dc0fe14fff1940b31bf697eff2
      https://github.com/llvm/llvm-project/commit/97fe5fa54c2e99dc0fe14fff1940b31bf697eff2
  Author: Kai Luo <gluokai at gmail.com>
  Date:   2024-11-26 (Tue, 26 Nov 2024)

  Changed paths:
    M clang/test/Driver/cuda-no-threadsafe-statics.cu

  Log Message:
  -----------
  [Driver] Pass `--cuda-path` to test (#117415)

My local build, on Debian GNU/Linux 12 (bookworm), complains
```
clang: error: GPU arch sm_20 is supported by CUDA versions between 7.0 and 8.0 (inclusive), but installation at /usr/lib/cuda is 11.8; use '--cuda-path' to specify a different CUDA install, pass a different GPU arch with '--cuda-gpu-arch', or pass '--no-cuda-version-check'
```

Fix it by passing `--cuda-path`. Hope this doesn't affect the original
intention of the test.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list