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

Use VersionNumber for libllvm_version #21898

Merged
merged 2 commits into from
May 31, 2017
Merged

Conversation

musm
Copy link
Contributor

@musm musm commented May 16, 2017

To me it looks like every usage of libllvm_version is better of if it was an actual VersionNumber

Same with packages that use this which also just end up wrapping the string in a VersionNumber.

This makes things more convenient.

@musm
Copy link
Contributor Author

musm commented May 26, 2017

bump

@musm
Copy link
Contributor Author

musm commented May 28, 2017

Also should libllvm_version be uppercase ?

@@ -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)\"" >> $@
Copy link
Contributor

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

Copy link
Contributor Author

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) ?

@musm
Copy link
Contributor Author

musm commented May 29, 2017

On second thought I think it's probably better to not touch the the uppercasing (at least for this PR)

@musm
Copy link
Contributor Author

musm commented May 31, 2017

bump

@StefanKarpinski StefanKarpinski merged commit 9f76018 into JuliaLang:master May 31, 2017
@StefanKarpinski
Copy link
Member

Meant to squash, but clicked twice by accident.

@musm musm deleted the llvmv branch May 31, 2017 16:51
@musm
Copy link
Contributor Author

musm commented May 31, 2017

thanks! Both comments are valid so I think it's fine

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