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

append MASON_STDLIB_VERSION to binary if MASON_CXX_PACKAGE == true #115

Closed
wants to merge 3 commits into from

Conversation

mikemorris
Copy link
Contributor

Prospective solution to #111, packages with stdlib ABI compatibility issues can opt-in to publishing/fetching compiler-specific versions.

  • Add documentation for the new variable(s) to README.md.

/cc @danpat @springmeyer

@mikemorris
Copy link
Contributor Author

Anyone have a good regex handy for trimming a version like 4.2.1 or 4.8 to major.minor regardless of whether a patch number is present?

Using actual stdlib version string instead.

@jfirebaugh
Copy link
Contributor

Please add documentation for the new variable(s) to README.md.

Needs @springmeyer 👀 for the general approach.

MASON_CXX_DUMPVERSION=`${CXX} -dumpversion`
else
MASON_CXX_DUMPVERSION=`c++ -dumpversion`
fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we shorten this block to ${CXX:-c++} -dumpversion and directly use it below?

@mikemorris mikemorris changed the title append MASON_CXX_VERSION to binary if MASON_CXX_PACKAGE == true append MASON_STDLIB_VERSION to binary if MASON_CXX_PACKAGE == true Oct 2, 2015
@mikemorris
Copy link
Contributor Author

On hold per #111 (comment)

@mikemorris mikemorris force-pushed the mason-cxx-version branch 2 times, most recently from 49448b7 to f402ccc Compare October 2, 2015 20:26
@jfirebaugh jfirebaugh closed this Mar 10, 2016
@springmeyer springmeyer deleted the mason-cxx-version branch November 9, 2016 23:19
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