Skip to content

[sycl-rel-7_0] Cherry-pick version-related patches#21703

Open
KornevNikita wants to merge 5 commits intointel:sycl-rel-7_0from
KornevNikita:version-macros
Open

[sycl-rel-7_0] Cherry-pick version-related patches#21703
KornevNikita wants to merge 5 commits intointel:sycl-rel-7_0from
KornevNikita:version-macros

Conversation

@KornevNikita
Copy link
Copy Markdown
Contributor

Cherry-pick patches adding version macros:
#21570
#21572
#21610
#21702

And also remove some info from the workflow file, since it's placed in the source code now.

elizabethandrews and others added 5 commits April 8, 2026 18:56
DPC++ Version Information is now stored in compiler source. clang
--version will continue to display build information when local CI is
used (i.e. SYCL_BUILD_INFO is defined), but will display in-source
version otherwise.

cmake/Modules/DPCPPVersion.cmake should be updated to hold version
information for each release.

Example Output:
```
DPC++ compiler 6.3.0 build based on:
clang version 23.0.0git (https://github.com/intel/llvm.git 5947c2a)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: */releasebuild/bin
Build config: +assertion
```

Fixes: intel#21510
Adds DPC++ compiler self-identification macros to differentiate
intel/llvm compiler from upstream Clang and enable version detection for
intel/llvm releases.
Fixes:intel#21509
Depends on: intel#21570
This is a follow-up PR after- intel#21572
to add pre-release indicator to the text of the __VERSION__ macro so
that it matches the --version output.
This patch allows to disable PRE_RELEASE tag by -DPRE_RELEASE=0 when
configuring the project.
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