Skip to content

[SYCL][Driver][Test] Clean up sysroot in driver tests for amd and nv - #23557

Open
jinge90 wants to merge 1 commit into
intel:syclfrom
jinge90:clean_up_sysroot_for_nv_amd
Open

jinge90 wants to merge 1 commit into
intel:syclfrom
jinge90:clean_up_sysroot_for_nv_amd

Conversation

@jinge90

@jinge90 jinge90 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

nogpulib and nocudalib are alias of no-offloadlib, devicelibs are not involved, we can safely remove the sysroot usage.
For other usage of sysroot in these amd, nv tests, we replace them with 'ccc-install-dir'.

@jinge90
jinge90 requested a review from a team as a code owner October 20, 2026 07:18
@jinge90
jinge90 requested a balanced review from Copilot October 20, 2026 07:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused test-only changes preserve required fixture lookup, with no unresolved findings.

No open issues 🎉

What changed in this PR

Simplifies SYCL driver tests for AMD and NVIDIA GPUs by removing unnecessary sysroot settings.

Changes:

  • Removes sysroot overrides where device libraries are disabled.
  • Uses -ccc-install-dir to retain fixture lookup where needed.
File Description
clang/​test/​Driver/​sycl-offload-new-driver.cpp Cleans up sysroot options and preserves CUDA fixture lookup.
clang/​test/​Driver/​sycl-nvptx-link.cpp Replaces required sysroot overrides with install-directory settings.
clang/​test/​Driver/​sycl-hip-driver-args.cpp Removes an unnecessary sysroot override.

Review effort: Balanced

@jinge90

jinge90 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Hi, @intel/llvm-gatekeepers
Could you help merge this PR? The pre-ci failures are all e2e tests, this PR just updates driver lit tests.
Thanks very much.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants