-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Use VersionNumber for libllvm_version #21898
Conversation
bump |
Also should |
@@ -55,7 +55,7 @@ else | |||
endif | |||
@echo "const libfftw_name = \"$(LIBFFTWNAME)\"" >> $@ | |||
@echo "const libfftwf_name = \"$(LIBFFTWFNAME)\"" >> $@ | |||
@echo "const libllvm_version = \"$$($(LLVM_CONFIG_HOST) --version)\"" >> $@ | |||
@echo "const libllvm_version_string = \"$$($(LLVM_CONFIG_HOST) --version)\"" >> $@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if possible to avoid occupying two names in base, would be better to do the VersionNumber conversion here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I agree, but there isn't a way to do this without making unnecessary changes/shuffling of files. VERSION_STRING
follows the same strategy as in this PR.
Any opinions on the uppercasing (in regards to consistency) ?
On second thought I think it's probably better to not touch the the uppercasing (at least for this PR) |
bump |
Meant to squash, but clicked twice by accident. |
thanks! Both comments are valid so I think it's fine |
To me it looks like every usage of
libllvm_version
is better of if it was an actualVersionNumber
Same with packages that use this which also just end up wrapping the string in a
VersionNumber
.This makes things more convenient.