[sycl-rel-7_0] Cherry-pick version-related patches#21703
Open
KornevNikita wants to merge 5 commits intointel:sycl-rel-7_0from
Open
[sycl-rel-7_0] Cherry-pick version-related patches#21703KornevNikita wants to merge 5 commits intointel:sycl-rel-7_0from
KornevNikita wants to merge 5 commits intointel:sycl-rel-7_0from
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.