Nightly homebrew check#2426
Nightly homebrew check#2426martin-frbg merged 3 commits intoOpenMathLib:developfrom zbeekman:nightly-homebrew-check
Conversation
|
Is this using gcc or clang? |
This is using whatever the instructions in the latest Homebrew formula are for openblas and building the Currently/historically this was using the latest stable GCC and will continue to do so until Homebrew/homebrew-core#50252 is merged into homebrew-core, at which point it will switch to native apple clang (unless the maintainers thing there is a good reason to stay with GCC, at which point we'll apply the patch you committed fixing the aarch64 issue or wait for the next release of OpenBLAS). This nightly testing is effectively a light-weight emulation of our binary build process in Homebrew prior to releasing a new version of a package. |
|
Once these workflows finish running on my fork, and I can see that they didn't have any issues I'll remove the draft status of this PR and mark ready for review. |
|
If that's the case, then issues like #2421 will not be uncovered right? |
Also, add comments to clarify what the test is testing
Guess I'll just refrain from causing such issues in the future if I can , one kind of useful nightly build is certainly much better than none. (And the original issue behind what caused #2421 was ultimately related to iOS compilation, which I think this PR does not address anyway) |
Definitely. I think if both |
I am not sure I understand what you're asking. This PR is designed to test
As I explained above, my primary goal was to detect when there might be an otherwise undetected interaction between changes in OpenBLAS with Homebrew packaging and distribution of OpenBLAS, or upstream dependency or Homebrew issues breaking OpenBLAS. Nevertheless, if you really want me to, I can add an additional nightly test that builds OpenBLAS' So, assuming we decide to merge Homebrew/homebrew-core#50252 as is and switch to using Apple Clang, then the tests I added as they currently stand will automatically switch to using what Homebrew uses. If you really want me to, I can add testing that is similar to this, but builds OpenBLAS with either the latest stable GCC---assuming the OpenBLAS upgrade PR goes through in its current state---or Apple Clang if it is decided that Homebrew wants to keep building OpenBLAS with GCC for some reason. i.e., what is here now tests the way homebrew builds OpenBLAS and I'll add a build using homebrew with whatever the other C compiler would be. Note that all Fortran is built with gfortran. Let's wait and see what happens with Homebrew/homebrew-core#50252. If it goes through in its current state and you would like me to add macOS testing of OpenBLAS built with the latest GCC using the homebrew "formula" then I will add it at that time. |
|
The action running on my branch looks good: https://github.com/zbeekman/OpenBLAS/actions/runs/40818440 I'll mark this as ready for review to remove the draft status. Once it's running, I can submit a PR to add a status badge, if that's of interest. |
|
@zbeekman I was just quoting isuruf's comment , that was not a question from me. |
|
PPC test failure on Travis-CI, but it must have been present before since I did not touch any code. |
|
Yep, that is a pre-existing bug uncovered by a new test merged earlier today. #2427 will take care of it. |
|
Appveyor seems to be sleeping but would not be affected by this commit anyway, so merging now. |
|
Unfortunately the homebrew check is now failing with "Error: your xcode(11.3.1) is outdated" and I have no idea how to fix this as xcode itself is not mentioned anywhere in the script @zbeekman ? |
|
Tried to address this in 4412ee1 by setting the DEVELOPER_DIR variable to the latest version (11.4) that is installed rather than the default 11.3.1, so hopefully fixed for now (but will probably happen again) |
Test PRs into develop and nightly test of develop built using the Homebrew formula.Nightly tests of develop built on macOS using Homebrew's build "formula" for OpenBLAS. This emulates the Homebrew binary build and distribution process so you will know if changes in Homebrew adversely impact OpenBLAS, and if changes in OpenBLAS will impede a quick release in Homebrew before minting a new release.