Skip to content

[CICD] Pass --prefix /usr explicitly in the pip install fallback#36

Open
shiptux wants to merge 1 commit into
flagos-ai:mainfrom
shiptux:fix/pip-prefix-usr
Open

[CICD] Pass --prefix /usr explicitly in the pip install fallback#36
shiptux wants to merge 1 commit into
flagos-ai:mainfrom
shiptux:fix/pip-prefix-usr

Conversation

@shiptux

@shiptux shiptux commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #29 (merged). Same review feedback as flagos-ai/FlagAttention#35: the pip fallback's --root without --prefix relies on the build python's install scheme. Inside rpmbuild the RPM_BUILD_ROOT site patch forces the /usr scheme on Fedora/openEuler, so current builds are correct — but being explicit removes the reliance on that distro patch and costs nothing.

Tested

openEuler 24.03 container build with this change: output unchanged, files under /usr/lib/python3.11/site-packages/flagsparse/, install + import OK.

…back

Same as FlagAttention#35 review feedback: pip's --root without
--prefix relies on the build python's install scheme; inside rpmbuild
the RPM_BUILD_ROOT site patch forces /usr on Fedora/openEuler, but
being explicit removes the dependency on that behavior. Verified:
openEuler 24.03 build unchanged (files under
/usr/lib/python3.11/site-packages).
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.

1 participant