Skip to content

Conversation

@mdtoguchi
Copy link
Contributor

Under certain testing conditions, the nvptx and amdgcn based libspirv libraries are not generated, causing a failure in the driver test sycl-offload-new-driver.c. Update the test to not depend on these libraries as they are not important for the test.

Test fails with: clang: error: cannot find 'remangled-l64-signed_char.libspirv-nvptx64-nvidia-cuda.bc'; provide path to libspirv library via '-fsycl-libspirv-path', or pass '-fno-sycl-libspirv' to build without linking with libspirv

Test updated to use -fno-sycl-libspirv to prevent the inclusion of the libs.

Under certain testing conditions, the nvptx and amdgcn based libspirv
libraries are not generated, causing a failure in the driver test
sycl-offload-new-driver.c.  Update the test to not depend on these libraries
as they are not important for the test.

Test fails with: clang: error: cannot find 'remangled-l64-signed_char.libspirv-nvptx64-nvidia-cuda.bc'; provide path to libspirv library via '-fsycl-libspirv-path', or pass '-fno-sycl-libspirv' to build without linking with libspirv

Test updated to use `-fno-sycl-libspirv` to prevent the inclusion of the libs.
@mdtoguchi
Copy link
Contributor Author

Testing failure is not related to my change @intel/llvm-gatekeepers , can this be merged?

@bader bader merged commit fd898e7 into intel:sycl Nov 22, 2025
31 of 33 checks passed
@mdtoguchi mdtoguchi deleted the wrapper-test-fix branch November 24, 2025 23:28
luszczewskakasia1 pushed a commit to luszczewskakasia1/llvm that referenced this pull request Nov 28, 2025
Under certain testing conditions, the nvptx and amdgcn based libspirv
libraries are not generated, causing a failure in the driver test
sycl-offload-new-driver.c. Update the test to not depend on these
libraries as they are not important for the test.

Test fails with: clang: error: cannot find
'remangled-l64-signed_char.libspirv-nvptx64-nvidia-cuda.bc'; provide
path to libspirv library via '-fsycl-libspirv-path', or pass
'-fno-sycl-libspirv' to build without linking with libspirv

Test updated to use `-fno-sycl-libspirv` to prevent the inclusion of the
libs.
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