Open psibre opened 8 years ago
The homebrew setup is stale and has not been maintained for a long while, I am sorry if it caused you to waste time. If you are knowledgeable enough about homebrew to update it that would be very much appreciated!
Updating it to a more recent version of alugrid with a valid source URL would be enough IMO.
Since I don't have a useful means of testing this (without messing up my computer, I fear) I don't think I can usefully contribute. If you find a url that works, I'll merge the patch.
It seems to me that many of the versions referred to are quite old -- I am not sure how useful it will be as a base for development?
The only tagged release of alugrid is actually v2.4.0. The good news is that it would be possible to update the homebrew formula for alugrid to use the source tarball from there. The bad news is that the installation procedure is fundamentally different -- it now builds with CMake, but depends on current versions of dune-common and dune-grid, so those formulas will need to be rewritten and created, respectively. Add to that further dependencies on MPI, the duplicate, outdated superlu, and various other issues that go beyond this formula, fixing this issue properly would require some yak shaving, which I'm afraid I don't have the time for.
Dear @psibre and @atgeirr , it seems that alugrid.rb
still remains to be fixed to overcome the sha256
problem. I was trying to install OPM here and I got the same error initially posted on this issue thread.
I have solved it locally by curling the formula and generating a sha256
, but got also the broken URL with timeout. Then, the URL needs to be updated as well, right? Some news?
I have not done anything about this since last time, sorry. If the dune recipes are stale, it might be necessary to start there?
Trying to install alugrid results in an error:
The URL redirects to a webpage, which is downloaded and misinterpreted as the source tarball:
The sources have been migrated to https://gitlab.dune-project.org/extensions/dune-alugrid but lacking a
1.52
tag and not knowing which commit corresponds to that version, it's hard to fix the link.