Skip to content

Introduce [suffix] optional parameter - #162

Closed
tmpsantos wants to merge 1 commit into
masterfrom
tmpsantos-cxx11abi
Closed

tmpsantos wants to merge 1 commit into
masterfrom
tmpsantos-cxx11abi

Conversation

@tmpsantos

@tmpsantos tmpsantos commented Apr 29, 2016 •

Copy link
Copy Markdown
Contributor

Append a suffix on any package, so you can build/install
different binaries of packages with the same version like:

foobar-1.0-cxx11abi
foobar-1.0-gcc4.9
foobar-1.0-patch1
foobar-1.0-whatever

Normal usage remains:

$ mason build foobar 1.0
$ mason publish foobar 1.0

Or:

$ mason build foobar 1.0 cxx11abi
$ mason publish foobar 1.0 cxx11abi

Fixes #157

Append a suffix on any package, so you can build/install
different binaries of packages with the same version like:

foobar-1.0-cxx11abi
foobar-1.0-gcc4.9
foobar-1.0-patch1
foobar-1.0-whatever

Normal usage remains:

$ mason build foobar 1.0
$ mason install foobar 1.0

Or:

$ mason build foobar 1.0 cxx11abi
$ mason install foobar 1.0 cxx11abi

Fixes #157
@tmpsantos

Copy link
Copy Markdown
Contributor Author

👀 @jfirebaugh

@jfirebaugh

Copy link
Copy Markdown
Contributor

Can we have the suffix be part of the version instead? 1.0-cxx11abi, 1.0-gcc4.9, etc. I think this will work already without any changes to mason internals.

@tmpsantos

Copy link
Copy Markdown
Contributor Author

I tried that first, but that would require to create a new suffixed copy of
the package script instead of reusing the existing one. Would that be OK?

.../gtest/1.7.0/
.../gtest/1.7.0-cxx11abi/
On Apr 29, 2016 6:42 PM, "John Firebaugh" [email protected] wrote:

Can we have the suffix be part of the version instead? 1.0-cxx11abi,
1.0-gcc4.9, etc. I think this will work already without any changes to
mason internals.

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#162 (comment)

@jfirebaugh

Copy link
Copy Markdown
Contributor

Yeah, I think that's fine. In the long term we should plan on transitioning to building new packages and new versions of existing packages with cxx11abi by default, and without a suffix, so the need for separate scripts will decrease over time.

@tmpsantos

tmpsantos commented May 2, 2016 •

Copy link
Copy Markdown
Contributor Author

@springmeyer @jfirebaugh what should I do about this one? Should we support arbitrary prefixes or copy and paste packages scripts for adding prefixes and keep mason scripts unchanged?

I'm fine with both. Asking again because of: #157 (comment)

@tmpsantos

Copy link
Copy Markdown
Contributor Author

To be clear, the alternative suggested would be this 5a52cb7

@jfirebaugh

Copy link
Copy Markdown
Contributor

Let's go with creating custom package scripts as suggested in #157 (comment) and not make mason internal changes.

@jfirebaugh jfirebaugh closed this May 2, 2016
@tmpsantos
tmpsantos deleted the tmpsantos-cxx11abi branch May 3, 2016 13:03
@tmpsantos

Copy link
Copy Markdown
Contributor Author

Let's go with creating custom package scripts as suggested in #157 (comment) and not make mason internal changes.

👍

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.

Plan for dealing with libstdc++ ABI break

2 participants