Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The LLVM_VERSION_SUFFIX is not reflected in Clang's version #53825

Closed
zmodem opened this issue Feb 14, 2022 · 0 comments · Fixed by #74469
Closed

The LLVM_VERSION_SUFFIX is not reflected in Clang's version #53825

zmodem opened this issue Feb 14, 2022 · 0 comments · Fixed by #74469
Labels
clang Clang issues not falling into any other category cmake Build system in general and CMake in particular

Comments

@zmodem
Copy link
Collaborator

zmodem commented Feb 14, 2022

For example, the current trunk version is 15.0.0git:

$ ./opt --version
LLVM (http://llvm.org/):
  LLVM version 15.0.0git
  Optimized build with assertions.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: broadwell

however, this isn't reflected in Clang's --version output:

$ ./clang --version
clang version 15.0.0 (https://github.com/llvm/llvm-project 52dbee98212c7594852730f671303ecf7d51b7ba)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /work/llvm.monorepo/build.release/bin/.

This is confusing, as it looks to users like the Clang version is the final 15.0.0 release, while it's really not.

@EugeneZelenko EugeneZelenko added clang Clang issues not falling into any other category and removed new issue labels Feb 14, 2022
jyknight added a commit to jyknight/llvm-project that referenced this issue Dec 5, 2023
This causes current mainline to now report "18.0.0git" instead of
"18.0.0".

Fixes llvm#53825
jyknight added a commit that referenced this issue Dec 5, 2023
This causes current mainline to now report "18.0.0git" instead of
"18.0.0".

Fixes #53825
@EugeneZelenko EugeneZelenko added the cmake Build system in general and CMake in particular label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category cmake Build system in general and CMake in particular
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants