GEOS-DEV / thirdPartyLibs

Repository to build the GEOSX third party libraries
3 stars 12 forks source link

Use brew's tap to install precise version of open-mpi #194

Closed TotoGaz closed 2 years ago

TotoGaz commented 2 years ago

This fixes the build failure on Mac OSX. I've been modified the way we install open-mpi using brew and its taps. A strong difference is that from now brew recompiles open-mpi, which takes ~5 more minutes for GEOSX or TPL builds.

I also must confess that I do not know anything about brew and that I simply stack command lines there.

Related to https://github.com/GEOSX/GEOSX/pull/2008

My approach is based on https://blog.sandipb.net/2021/09/02/installing-a-specific-version-of-a-homebrew-formula/