Skip to content

optimizers/homebrew-cutest

Repository files navigation

Homebrew's CUTEst Tap

brew test-bot

For the Impatient

brew tap optimizers/cutest
brew install cutest
brew install mastsif  # If you want the whole SIF collection.
cat "$(brew --prefix mastsif)/mastsif.bashrc" >> ~/.bashrc

What's This?

This Homebrew tap allows you to install CUTEst and related tools inside the control of Homebrew. This has advantages and disadvantages.

Advantages

  • 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, MANPATH and so forth
  • libcutest_double, libcutest_single and libcutest_quadruple are available directly in /opt/homebrew/lib so linking them in is a simple matter of adding -lcutest_double, -lcutest_single or libcutest_quadruple

Disadvantages

  • Only OSX and Linux are supported
  • Only one architecture of SIFDecode and CUTEst can be built
  • Cannot easily select esoteric compilers

Installing

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.

Testing

You can check that everything works as intended using:

brew test sifdecode
brew test cutest

Updating

Every time the formulae are updated, brew update will let you know. You may then reinstall them using brew reinstall sifdecode, etc.

Development Builds

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.

Partial Installs

You can install only sifdecode or only mastsif using the command

brew install <formula>

Enjoy!

About

Homebrew's CUTEst Tap

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages