Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update macOS instructions in Numo docs #199

Merged
merged 3 commits into from
Aug 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ Note that LSI will work without these libraries, but as soon as they are install

* Install [LAPACKE](https://www.netlib.org/lapack/lapacke.html)
* Ubuntu: `apt-get install liblapacke-dev`
* macOS: (Help wanted to verify installation steps) https://stackoverflow.com/questions/38114201/installing-lapack-and-blas-libraries-for-c-on-mac-os
* macOS: `brew install lapack`
* Install [OpenBLAS](https://www.openblas.net/)
* Ubuntu: `apt-get install libopenblas-dev`
* macOS: (Help wanted to verify installation steps) https://stackoverflow.com/questions/38114201/installing-lapack-and-blas-libraries-for-c-on-mac-os
* Install the [Numo::NArray](https://ruby-numo.github.io/narray/) and [Numo::Linalg](https://ruby-numo.github.io/linalg/) gems
* `gem install numo-narray numo-linalg`
* macOS: `brew install openblas`
* Install the [Numo::NArray](https://ruby-numo.github.io/narray/) and [Numo::Linalg](https://ruby-numo.github.io/linalg/) gems. If you're using Bundler, add `numo-narray` and `numo-linalg` to your Gemfile. (If using Bundler on macOS, you should set the build config like `bundle config set --global build.numo-linalg --with-openblas-dir=$(brew --prefix openblas) --with-lapack-lib="$(brew --prefix lapack)/lib"`.)
* Ubuntu: `gem install numo-narray numo-linalg`
* macOS: `gem install numo-narray`, `gem install numo-linalg -- --with-openblas-dir=$(brew --prefix openblas) --with-lapack-lib="$(brew --prefix lapack)/lib"

### Install GSL Gem

Expand All @@ -85,7 +86,7 @@ The [GNU Scientific Library (GSL)](http://www.gnu.org/software/gsl) is an altern

* Install the [GNU Scientific Library](http://www.gnu.org/software/gsl)
* Ubuntu: `apt-get install libgsl-dev`
* Install the [Ruby/GSL Gem](https://rubygems.org/gems/gsl) (or add it to your Gemfile)
* Install the [Ruby/GSL Gem](https://rubygems.org/gems/gsl). If you're using Bundler, add `gsl` to your Gemfile.
* `gem install gsl`


Expand Down