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

Allow installing multiple versions of rgbds #1090

Open
Rangi42 opened this issue Oct 3, 2022 · 3 comments
Open

Allow installing multiple versions of rgbds #1090

Rangi42 opened this issue Oct 3, 2022 · 3 comments
Labels
builds This affects the build process or release artifacts enhancement Typically new features; lesser priority than bugs meta This isn't related to the tools directly: repo organization, maintainership...

Comments

@Rangi42
Copy link
Contributor

Rangi42 commented Oct 3, 2022

make install could name its executables as rgbasm0.6.0, rgblink0.6.0, etc, and symlink rgbasm, rgblink, etc to the latest version. This would let older projects continue to use old rgbds without having to keep a local copy somewhere.

@Rangi42 Rangi42 added enhancement Typically new features; lesser priority than bugs meta This isn't related to the tools directly: repo organization, maintainership... labels Oct 3, 2022
@ISSOtm
Copy link
Member

ISSOtm commented Oct 3, 2022

Sounds more like a job for the distro packager.

This would not let old projects work without specifying e.g. make RGBASM=... RGBLINK=... explicitly, at which point you don't even need make install anyway.

@aaaaaa123456789
Copy link
Member

I think it's a bit more conventional to do rgbasm-0.6.0, etc.

@mid-kid
Copy link
Contributor

mid-kid commented Oct 3, 2022

I agree this should be left up to the distro pacakger, but it'd be nice to have an upstream convention. Many autotools projects allow passing a --program-suffix=-$VERSION flag, to help with this.
Personally I'm torn between both installing the bins in a separate directory and using different names, might do both.

EDIT: I guess cmake allows a -DCMAKE_EXECUTABLE_SUFFIX=-$VERSION but I haven't tested this yet.

@Rangi42 Rangi42 added the builds This affects the build process or release artifacts label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds This affects the build process or release artifacts enhancement Typically new features; lesser priority than bugs meta This isn't related to the tools directly: repo organization, maintainership...
Projects
None yet
Development

No branches or pull requests

4 participants