-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
valgrind: disable mpicc and make Linux only #67341
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
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
mpiccsupport in valgrind, which seems to cause build failures on host systems withmpichor OpenMPI installed. If we ever get a request to add support formpicctovalgrind, we'd probably have to addmpichoropen-mpias a dependency. Additionally the configure argument--build=amd64-darwinshould only be used on macOS.Moved to homebrew-core from https://github.com/Homebrew/linuxbrew-core/pull/21870.