Skip to content

Flux v0.11.1 - v0.11.3#13199

Merged
adamjstewart merged 8 commits intospack:developfrom
SteVwonder:flux-v0.11.1-0.13.0
Nov 4, 2019
Merged

Flux v0.11.1 - v0.11.3#13199
adamjstewart merged 8 commits intospack:developfrom
SteVwonder:flux-v0.11.1-0.13.0

Conversation

@SteVwonder
Copy link
Copy Markdown
Member

@SteVwonder SteVwonder commented Oct 11, 2019

Support flux-core versions v0.11.1 to v0.11.3 (and associated flux-sched versions).

Encode the C4 repo model in the url_for_version function to support future patch release (and minor versions once it passes v1.0).

Copy link
Copy Markdown
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

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

Very minor suggestions, otherwise looks good

Flux uses a fork of ZeroMQ's Collective Code Construction Contract
(https://github.com/flux-framework/rfc/blob/master/spec_1.adoc).
This model requires a repository fork for every stable release that has
patch releases.  For example, 0.8.0 and 0.9.0 are both tags within the
main repository, but 0.8.1 and 0.9.5 would be releases on the v0.8 and
v0.9 forks, respectively.
@SteVwonder SteVwonder force-pushed the flux-v0.11.1-0.13.0 branch 2 times, most recently from f7efaec to 030ff28 Compare November 2, 2019 01:59
@SteVwonder
Copy link
Copy Markdown
Member Author

Thanks @adamjstewart. I addressed your three comments.

I tacked on a few extra commits with fixes to issues that I ran into while digging into flux-framework/flux-core#2491 and flux-framework/flux-core#2456. I suspect you'll want to peek at those. They are the optional test dependency, setup_build_environment, and runtime env var commits.

Copy link
Copy Markdown
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

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

I think this is the last change and then we're good to merge!

Replace `when=@:0.11.99` with `when=@:0.11` since the intention is to
include all patch versions of `0.11`.
In spack#13411, `setup_environment` was split into `setup_build_environment`
and `setup_run_environment`, with the `spack_env` and `run_env`
arguments being changed to `env`.  Somehow the flux package was the only
one to not have its `spack_env` references in the function changed to
`env`.
with older versions of Flux (i.e, 0.0:0.13), FLUX_CONNECTOR_PATH must be
set by spack to prevent failures in certain
scenarios (flux-framework/flux-core#2456).

the flux binary also sets some other environment variables, which can be
listed by running `flux -v start`.  I added a few of those just to be
sure that the Spack-installed paths are used, rather than
system-installed ones.
Install optional dependencies to ensure that only spack-installed
software is detected and that all tests are run when `spack install
--test` is used.

Flux's test suite will test for the existance of valgrind, jq, and any
MPI installation.  If it detects them (even if they are system-installed
and outside the spack environment), it will run optional tests against
them.  I noticed on my machine that the valgrind tests were running
against the system-install valgrind.
@SteVwonder SteVwonder changed the title Flux v0.11.1 - v0.13.0 Flux v0.11.1 - v0.11.3 Nov 4, 2019
@SteVwonder
Copy link
Copy Markdown
Member Author

Thanks @adamjstewart for the reviews. Once Travis goes green, I think this PR is ready 😄

@adamjstewart adamjstewart merged commit 1941046 into spack:develop Nov 4, 2019
@SteVwonder SteVwonder deleted the flux-v0.11.1-0.13.0 branch November 4, 2019 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants