Skip to content

Fix in-place Python installs#81

Merged
rapids-bot[bot] merged 1 commit intonv-morpheus:branch-24.10from
dagardner-nv:david-fix-python-in-place
Oct 16, 2024
Merged

Fix in-place Python installs#81
rapids-bot[bot] merged 1 commit intonv-morpheus:branch-24.10from
dagardner-nv:david-fix-python-in-place

Conversation

@dagardner-nv
Copy link
Contributor

Description

  • Add the -e flag to pip isntall based on the IS_INPLACE argument rather than the value of the CMAKE_BUILD_TYPE

This is needed to resolve nv-morpheus/Morpheus#1923

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

…not based upon if the build type being performed is a debug build
@dagardner-nv dagardner-nv requested a review from a team as a code owner October 4, 2024 20:09
@dagardner-nv dagardner-nv self-assigned this Oct 4, 2024
@dagardner-nv dagardner-nv added bug Something isn't working non-breaking Non-breaking change 3 - Ready for Review PR/Issue is complete and ready for review by team labels Oct 4, 2024
@AnuradhaKaruppiah
Copy link

LGTM. but the commit is changing the purpose of the flags?

@dagardner-nv
Copy link
Contributor Author

LGTM. but the commit is changing the purpose of the flags?

In my opinion CMAKE_BUILD_TYPE is specific to C and C++ (or I guess other compiled languages).

While MORPHEUS_PYTHON_INPLACE_BUILD is clear and unambiguous.

My guess is that this went un-noticed for a while since many people wanting an in-place build are also performing a debug build.

@mdemoret-nv
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 722c135 into nv-morpheus:branch-24.10 Oct 16, 2024
rapids-bot bot pushed a commit to nv-morpheus/Morpheus that referenced this pull request Oct 16, 2024
* Picks up fix from nv-morpheus/utilities#81

Closes #1923

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Yuchen Zhang (https://github.com/yczhang-nv)

URL: #1952
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for Review PR/Issue is complete and ready for review by team bug Something isn't working non-breaking Non-breaking change

Projects

Archived in project

3 participants