[all-commits] [llvm/llvm-project] 41d5f4: [offload] Add CUDA_ROOT to path for unit tests (#2...

Nick Sarnie via All-commits all-commits at lists.llvm.org
Wed Aug 5 10:25:52 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41d5f4c5e6701938079b7ffc5748f612d151f51c
      https://github.com/llvm/llvm-project/commit/41d5f4c5e6701938079b7ffc5748f612d151f51c
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M offload/test/unit/lit.cfg.py
    M offload/test/unit/lit.site.cfg.in

  Log Message:
  -----------
  [offload] Add CUDA_ROOT to path for unit tests (#214282)

We need this to fix the test added in
https://github.com/llvm/llvm-project/pull/212860. Right now it errors
saying it can't find `ptxas`.
We already have code doing this for the e2e tests, but we also need it
for the unit tests.
We had a similar fix for AMDGPU in
https://github.com/llvm/llvm-project/pull/213149.
Locally reproduced the issue and verified the fix.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>



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