astamm / nloptr

nloptr provides an R interface to NLopt, a free/open-source library for nonlinear optimization providing a common interface to a number of different optimization routines which can handle nonlinear constraints and lower and upper bounds for the controls.
https://astamm.github.io/nloptr/
Other
106 stars 34 forks source link

Update cmake installation instructions on Mac with brew #146

Closed rossellhayes closed 1 year ago

rossellhayes commented 1 year ago

Running sudo brew install cmake, as suggested in cmake_config.sh, now results in an error:

Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.

On the other hand, brew install --cask cmake works and allows installation of nloptr.

astamm commented 1 year ago

Thanks @rossellhayes. I will update the script accordingly.