You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] set __SYCL_COMPILER_VERSION from CMake variable or git commit timestamp (#19845)
This PR changes the way CMake sets `__SYCL_COMPILER_VERSION` from using
the date of compilation to:
- using `-DSYCL_COMPILER_VERSION=...` if set
- otherwise, running git to get the timestamp of the latest commit, and
using that
- falling back to the old behavior if the first two fail
See #19692 for the rationale behind this. TL;DR: Make
`__SYCL_COMPILER_VERSION` reproducible. Closes#19692.
0 commit comments