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

Remove unnecessary flags in Legion CMake build #932

Merged

Conversation

elliottslaughter
Copy link
Contributor

@elliottslaughter elliottslaughter commented Jan 26, 2024

The flag --root here is a workaround for buggy behavior in pip install where pip would ignore the --prefix setting when --global-option was supplied. As it turns out, --global-option is deprecated anyway so we removed in Legion. As a result, this is no longer required; the prefix is already set in the upstream project and the need for --root goes away with the removal of --global-option.

See this Legion MR for details:

https://gitlab.com/StanfordLegion/legion/-/merge_requests/1072

I'm not sure which branch to send this patch to so if I'm set the wrong one, let me know and I'll update it.

The flag --root here is a workaround for buggy behavior in `pip install`
where pip would ignore the --prefix setting when --global-option was
supplied. As it turns out, --global-option is deprecated anyway so we
removed in Legion. As a result, this is no longer required; the prefix
is already set in the upstream project and the need for --root goes away
with the removal of --global-option.

See this Legion MR for details:

https://gitlab.com/StanfordLegion/legion/-/merge_requests/1072
Copy link

copy-pr-bot bot commented Jan 26, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@manopapad
Copy link
Contributor

/ok to test

@manopapad manopapad added the category:task PR is a simple task and will not be included in release notes label Jan 26, 2024
@manopapad
Copy link
Contributor

/ok to test

Copy link
Contributor

@manopapad manopapad left a comment

Choose a reason for hiding this comment

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

Tested in on local machine and it seems to work, waiting on CI

@manopapad
Copy link
Contributor

Editable and non-editable installs seem to work still on my local machine. Merging from main branch, to see if that fixes CI...

@manopapad manopapad merged commit 5d74fdc into nv-legate:branch-24.01 Feb 6, 2024
2 checks passed
manopapad added a commit to manopapad/legate.core that referenced this pull request Feb 6, 2024
manopapad added a commit that referenced this pull request Feb 6, 2024
manopapad added a commit to manopapad/legate.core that referenced this pull request Feb 7, 2024
* Remove unnecessary flags in Legion CMake build.

The flag --root here is a workaround for buggy behavior in `pip install`
where pip would ignore the --prefix setting when --global-option was
supplied. As it turns out, --global-option is deprecated anyway so we
removed in Legion. As a result, this is no longer required; the prefix
is already set in the upstream project and the need for --root goes away
with the removal of --global-option.

See this Legion MR for details:

https://gitlab.com/StanfordLegion/legion/-/merge_requests/1072

* Make sure to use the latest Legion

---------

Co-authored-by: Manolis Papadakis <[email protected]>
Co-authored-by: Manolis Papadakis <[email protected]>
manopapad added a commit that referenced this pull request Feb 21, 2024
* Remove unnecessary flags in Legion CMake build (#932)

* Remove unnecessary flags in Legion CMake build.

The flag --root here is a workaround for buggy behavior in `pip install`
where pip would ignore the --prefix setting when --global-option was
supplied. As it turns out, --global-option is deprecated anyway so we
removed in Legion. As a result, this is no longer required; the prefix
is already set in the upstream project and the need for --root goes away
with the removal of --global-option.

See this Legion MR for details:

https://gitlab.com/StanfordLegion/legion/-/merge_requests/1072

* Make sure to use the latest Legion

---------

Co-authored-by: Manolis Papadakis <[email protected]>
Co-authored-by: Manolis Papadakis <[email protected]>

* Try adding back --root to see if it still works under ToT legion

* Revert "Try adding back --root to see if it still works under ToT legion"

This reverts commit d48ebec.

* Bump Legion to get legion!1123

---------

Co-authored-by: Elliott Slaughter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:task PR is a simple task and will not be included in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants