Skip to content

Conversation

@ndgrigorian
Copy link
Collaborator

@ndgrigorian ndgrigorian commented Dec 11, 2025

This PR fixes the failing OS compiler workflow, which has been throwing a CMake error

OS compiler versioning output changed, so the Clang version is preceded by another string giving the date and specifying the compiler is the SYCL nightly compiler

This PR modifies dpctl CMake to check if the "Intel SYCL Compiler Nightly" string is in the version string. If so, the next member of the list, containing the Clang version, is used instead

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

@github-actions
Copy link

@coveralls
Copy link
Collaborator

coveralls commented Dec 11, 2025

Coverage Status

coverage: 86.269%. remained the same
when pulling bed074b on fix-intel-sycl-compiler-cmake-os-ci
into c5c82b4 on master.

@ndgrigorian ndgrigorian force-pushed the fix-intel-sycl-compiler-cmake-os-ci branch 3 times, most recently from b4097f7 to 4be2052 Compare December 16, 2025 01:17
@ndgrigorian ndgrigorian force-pushed the fix-intel-sycl-compiler-cmake-os-ci branch from 4be2052 to bed074b Compare December 16, 2025 01:23
@ndgrigorian ndgrigorian marked this pull request as ready for review December 16, 2025 01:29
@github-actions
Copy link

Array API standard conformance tests for dpctl=0.22.0dev0=py310h93fe807_88 ran successfully.
Passed: 1115
Failed: 43
Skipped: 82

1 similar comment
@github-actions
Copy link

Array API standard conformance tests for dpctl=0.22.0dev0=py310h93fe807_88 ran successfully.
Passed: 1115
Failed: 43
Skipped: 82

@github-actions
Copy link

Array API standard conformance tests for dpctl=0.22.0dev0=py310h93fe807_88 ran successfully.
Passed: 1114
Failed: 44
Skipped: 82

MATH(EXPR IDX "${IDX}+1")
endforeach()
list(GET IntelSyclCompiler_VERSION_LIST 0 VERSION_STRING)
if("${VERSION_STRING}" MATCHES "Intel SYCL compiler Nightly")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it make sense to update the libsyclinterface/cmake/modules/FindIntelSyclCompiler.cmake with the latest content from the recent 2025.3 release instead?

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