Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Conversation

@mike-dubman
Copy link
Member

before:

patch_dir=$PLATFORM.patches

after

./configure --with-platform=FILE --with-platform-patch-dir=DIR
if not specified - use default

master commit: open-mpi/ompi#992

@mike-dubman
Copy link
Member Author

:bot:assign: @jsquyres
:bot🏷️enhancement
:bot:milestone:v1.10.1

@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-v1.8-pr/822/ for details.

@jsquyres
Copy link
Member

jsquyres commented Oct 7, 2015

Why use a magic (undocumented) environment variable instead of a CLI option that would be shown in ./configure --help, like --with-patch-dir (or something like that)?

@mike-dubman
Copy link
Member Author

@jsquyres - please review open-mpi/ompi#992 with proposed approach.

@jsquyres
Copy link
Member

jsquyres commented Oct 8, 2015

@miked-mellanox I saw open-mpi/ompi#992: it's no different than this PR. My question remains the same: why use a magic (and undocumented) variable instead of a --with-foo option (that shows up via configure --help)?

@mike-dubman
Copy link
Member Author

@jsquyres - I pushed fix with your proposal under open-mpi/ompi#993 only. Once it is IN, will populate it into v1.10 and v2.0

@mike-dubman
Copy link
Member Author

ohh, specified wrong PR number in master, here is one for review: open-mpi/ompi#993

before:

patch_dir=$PLATFORM.patches

after

patch_dir can be specified as ./configure <....> patch_dir=/usr/local/site_ompi_v_x.y_patches/
if not specified - use default
@mike-dubman mike-dubman force-pushed the topic/v1.10_build_patch_dir branch from 2479aee to 6fc4dd8 Compare October 8, 2015 09:58
@mike-dubman
Copy link
Member Author

@jsquyres - updated all three PRs w/ same fix

@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-v1.8-pr/824/ for details.

@jsquyres
Copy link
Member

jsquyres commented Oct 8, 2015

Ah! Got it -- 993 looks good. Thanks!

👍

jsquyres added a commit that referenced this pull request Oct 8, 2015
BUILD: allow specifying platform patch_dir from cmd line
@jsquyres jsquyres merged commit 578164c into open-mpi:v1.10 Oct 8, 2015
@jsquyres
Copy link
Member

jsquyres commented Oct 8, 2015

Oops. My mistake; I should have had you update the commit message. Doh. :-(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants