Homebrew's CUTEst Tap
brew tap optimizers/cutest
brew install cutest
brew install mastsif # If you want the whole SIF collection.
cat "$(brew --prefix mastsif)/mastsif.bashrc" >> ~/.bashrc
This Homebrew tap allows you to install CUTEst and related tools inside the control of Homebrew. This has advantages and disadvantages.
- One simple command to install each tool:
brew install tool - Precompiled binaries are available for Linux and macOS
- No need to tweak your
PATH,LD_LIBRARY_PATH,MANPATHand so forth libcutest_double,libcutest_singleandlibcutest_quadrupleare available directly in/opt/homebrew/libso linking them in is a simple matter of adding-lcutest_double,-lcutest_singleorlibcutest_quadruple
- Only OSX and Linux are supported
- Only one architecture of SIFDecode and CUTEst can be built
- Cannot easily select esoteric compilers
Brew taps are repositories of Homebrew formulae. In order to use this one, you first need to tap it:
brew tap optimizers/cutest
Now we can install CUTEst and, at your option, the entire SIF collection:
brew install cutest
brew install mastsif # If you want the whole SIF collection.
brew install maros_mezaros #If you want the Maros-Mezaros collection
brew install netlib #If you want the NETLIB LP collection
The mastsif, maros_mezaros and netlib formulae only install data files.
You can check that everything works as intended using:
brew test sifdecode
brew test cutest
Every time the formulae are updated, brew update will let you know. You may then reinstall them using brew reinstall sifdecode, etc.
If you so desire, you may build directly from the latest sources in the GitHub repositories. All that is required is to pass the --HEAD option to each build command, e.g., brew install sifdecode --HEAD.
You can install only sifdecode or only mastsif using the
command
brew install <formula>
Enjoy!