-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
valgrind: disable mpicc and make Linux only #67341
Conversation
db0495d
to
7d058ae
Compare
This formula should probably just be linux only because it doesn't run on any of our supported macOS versions |
There also seems to be a version of valgrind that works at least until Catalina: https://github.com/LouisBrunner/valgrind-macos |
Since there is a tap that provides a working version of |
Actually if we make this Linux only, should I close this pull request? Does homebrew-core allow Linux only formulae? |
Yep, for example: #65300 This is how I would convert it to Linux-only: https://gist.github.com/SeekingMeaning/10db0c2f3a8a29fa760b6903ad808671/revisions We might even be able to delete the |
Thanks for the revisions, I'll try removing skip_clean on my Linux install and see if it breaks anything. Everything else looks pretty straightforward. |
Also add |
I agree that this can be made linux-only. Though we also try to disable valgrind support when possible in all other formulae. |
7d058ae
to
9ba96d4
Compare
9ba96d4
to
6e2f8ba
Compare
6e2f8ba
to
9636219
Compare
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?This disables
mpicc
support in valgrind, which seems to cause build failures on host systems withmpich
or OpenMPI installed. If we ever get a request to add support formpicc
tovalgrind
, we'd probably have to addmpich
oropen-mpi
as a dependency. Additionally the configure argument--build=amd64-darwin
should only be used on macOS.Moved to homebrew-core from https://github.com/Homebrew/linuxbrew-core/pull/21870.