Skip to content

mpich 3.4.1#72985

Closed
bourdin wants to merge 1 commit intoHomebrew:masterfrom
bourdin:mpich-3.4.1
Closed

mpich 3.4.1#72985
bourdin wants to merge 1 commit intoHomebrew:masterfrom
bourdin:mpich-3.4.1

Conversation

@bourdin
Copy link
Copy Markdown
Contributor

@bourdin bourdin commented Mar 11, 2021

  • bumped to current upstream version
  • removed make check following brew audit --strict
  • removed real128 and complex 128 fortran 2008 bindings
    on arm64 following upstream's recommendation
  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

@Bo98
Copy link
Copy Markdown
Member

Bo98 commented Mar 11, 2021

Patch seems reasonable given the WIP status of GFortran on arm64 and the patch is what upstream recommends at the moment. The diff could be somewhat smaller and easier to follow if you just remove the lines rather than replace with commented out lines though.

Comment thread Formula/mpich.rb Outdated
@bourdin
Copy link
Copy Markdown
Contributor Author

bourdin commented Mar 11, 2021

Patch seems reasonable given the WIP status of GFortran on arm64 and the patch is what upstream recommends at the moment. The diff could be somewhat smaller and easier to follow if you just remove the lines rather than replace with commented out lines though.

I agree. I left the lines commented out to clearly indicate that this is a temporary fix. I can delete them if that is the preferred approach.

@Bo98
Copy link
Copy Markdown
Member

Bo98 commented Mar 11, 2021

I think the comment given above the patch is sufficient for showing that the patch is temporary. This is where people look first for understanding whether the patch is still necessary.

@carlocab
Copy link
Copy Markdown
Member

==> brew audit mpich --online --git --skip-style
==> FAILED
mpich:
  * 'revision 1' should be removed
Error: 1 problem in 1 formula detected

Comment thread Formula/mpich.rb Outdated
   * bumped to current upstreama version
   * removed make check following brew audit --strict
   * removed real128 and complex 128 fortran 2008 bindings
     on arm64 following upstream's recommendation
@carlocab carlocab added the CI-force-arm [DEPRECATED] Don't pass --skip-unbottled-arm to brew test-bot. label Mar 11, 2021
Copy link
Copy Markdown
Member

@carlocab carlocab left a comment

Choose a reason for hiding this comment

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

Thanks for your first contribution to homebrew/core, @bourdin.

@BrewTestBot
Copy link
Copy Markdown
Contributor

🤖 A scheduled task has triggered a merge.

@carlocab carlocab mentioned this pull request Mar 12, 2021
@wence-
Copy link
Copy Markdown

wence- commented Mar 16, 2021

Was it a deliberate change to flip from clang + gfortran to gcc + gfortran in the formula? It seems like this goes against the usual policy of using the apple toolchain everywhere possible.

@bourdin bourdin mentioned this pull request Mar 16, 2021
5 tasks
@Bo98
Copy link
Copy Markdown
Member

Bo98 commented Mar 16, 2021

Superenv shims should mean that didn't actually happen (gcc-10 can actually invoke clang in the superenv), but I think the CC/CXX stuff should be unnecessary anyway and can be removed.

@wence-
Copy link
Copy Markdown

wence- commented Mar 16, 2021

Superenv shims should mean that didn't actually happen (gcc-10 can actually invoke clang in the superenv),

I think I don't understand what this means.

What I observed was that mpicc -show used to say clang ... and now it says gcc-10 .... So any flags that were configured in clang mode now didn't work.

@Bo98
Copy link
Copy Markdown
Member

Bo98 commented Mar 16, 2021

Oh right, that part could indeed be broken. I was just talking about the actual build of mpich itself rather than runtime usage of mpicc.

@bourdin
Copy link
Copy Markdown
Contributor Author

bourdin commented Mar 16, 2021

Can we reopen this MR or shall I create a new one?

@Bo98
Copy link
Copy Markdown
Member

Bo98 commented Mar 16, 2021

You can't reopen a merged pull request so it will have to be a new one.

@bourdin
Copy link
Copy Markdown
Contributor Author

bourdin commented Mar 16, 2021

OK see mpich: switched back to clang #73269

@github-actions github-actions Bot added the outdated PR was locked due to age label Apr 16, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CI-force-arm [DEPRECATED] Don't pass --skip-unbottled-arm to brew test-bot. outdated PR was locked due to age

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants