-
Notifications
You must be signed in to change notification settings - Fork 929
Fix misc issues evidenced whey building on msys2 arch #6002
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
Conversation
|
@jsquyres could you please review this ? the third commit open-mip/ompi@0289040309efec51628d7ab0e4ebb7cbb8753f28 fixes parallel build ( |
|
The IBM CI (GNU Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/f083c52b6188d8cfcff4183f5d490f03 |
079fd7e to
38e3808
Compare
|
A few ancillary notes:
Per this PR:
|
Signed-off-by: Gilles Gouaillardet <[email protected]>
the 'temp' environment variable is used by default in msys2, so rename it to 'subdir_temp' to make configury a happy panda. Signed-off-by: Gilles Gouaillardet <[email protected]>
add dependencies to fix parallel build when configure'd with --disable-mca-dso Signed-off-by: Gilles Gouaillardet <[email protected]>
instead of #if Signed-off-by: Gilles Gouaillardet <[email protected]>
38e3808 to
688aec3
Compare
|
@jsquyres I made some of the requested changes. It seems I do not have to move the |
|
note the last commit is not meant to be committed. |
|
:bot:aws:retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better, thanks.
Minor quibble: please change the comment from:
# See the comments in opal/mca/common/sm/Makefile.am for the explanations
to (re-flow this as appropriate):
# Common MCA components have complicated requirements and build sequences.
# See the comments in opal/mca/common/sm/Makefile.am for an explanation of
# requirements and building.
Also, please put a comment above the all-local: $(comp_noinst) referring back to sm/Makefile.am (because this is a confusing issue -- it's worth calling out explicitly when people copy-paste to new common Makefile.ams):
# Note that `all-local` needs to depend on $(comp_noinst).
# See opal/mca/common/sm/Makefile.am for an explanation
all-local: $(comp_noinst)
And in opal/mca/common/sm/Makefile.am, add a comment like this before the all-local rule (re-flow it as appropriate):
# all-local needs to depend on $(comp_noinst) to ensure proper ordering in parallel builds.
# Specifically, we need to ensure that the real library $(comp_noist)
# is created before all-local tries to sym link to it.
| ompi__v_LN_SCOMP_0 = @echo " LN_S " `basename $(component_install)`; | ||
|
|
||
| all-local: | ||
| all-local: $(component_noinst) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we're now including Makefile.ompi-rules, I think you need to also change OMPI_V_LN_SCOMP to OMPI_V_LN_S everywhere.
| # $HEADER$ | ||
| # | ||
|
|
||
| include $(top_srcdir)/Makefile.ompi-rules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message on this commit no longer matches what the commit actually does.
I don't know / care if you want to split this into multiple commits:
- Add the dependencies
- Fix the comments
- Use Makefile.ompi-rules
|
@ggouaillardet I added the DNM label so that you don't accidentally merge with that last commit ("note the last commit is not meant to be committed"). |
|
@jsquyres thanks for the review, I will make the requested changes. I just noted that since Unless we choose to make |
|
The IBM CI (GNU/Scale) build failed! Please review the log, linked below. Gist: https://gist.github.com/8226fa70da089f68c8f204ce17635812 |
|
Can one of the admins verify this patch? |
|
@ggouaillardet Do you plan to finish this PR? |
|
The IBM CI (PGI) build failed! Please review the log, linked below. Gist: https://gist.github.com/6d27c9e1e19019490cb6acaffd8162f4 |
|
Closing. Please reopen if needed. |
No description provided.