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

Issue 549 #550

Merged
merged 3 commits into from
Dec 14, 2018
Merged

Issue 549 #550

merged 3 commits into from
Dec 14, 2018

Conversation

nerdvegas
Copy link
Contributor

2.26.0 Build System Detection Fixes

Addressed Issues

  • #549 '--build-system' rez-build option not always
    available

Notes

To fix this issue:

COMPATIBILITY ISSUE!

Unfortunately, the 'cmake' build system had its own '--build-system' commandline option also. This
was possible because previous rez versions suppressed the standard '--build-system' option if only
one valid build system was present for a given package working directory. This option has been
changed to '--cmake-build-system'
.

ajohns added 3 commits December 14, 2018 15:52
-always provide rez-build --build-system option
-PLEASE NOTE: cmake had --build-system opt that had to change to --cmake-build-system
@nerdvegas nerdvegas merged commit 9487131 into master Dec 14, 2018
@nerdvegas nerdvegas deleted the issue_549 branch March 15, 2019 09:05
@@ -75,8 +75,8 @@ def bind_cli(cls, parser):
type=str, choices=cls.build_targets,
default=settings.build_target,
help="set the build target (default: %(default)s).")
parser.add_argument("--bs", "--build-system", dest="build_system",
type=str, choices=cls.build_systems.keys(),
parser.add_argument("--bs", "--cmake-build-system",
Copy link

Choose a reason for hiding this comment

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

this needs
dest="cmake_build_system",

If not when running with --bs it won't be picked in line 96

@nerdvegas
Copy link
Contributor Author

nerdvegas commented Apr 22, 2019 via email

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.

None yet

2 participants