Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ brew install openblas
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BLAS and LAPACK in the Accelerate framework.

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/openblas/lib
    CPPFLAGS: -I/usr/local/opt/openblas/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /usr/local/opt/openblas/lib/pkgconfig
$ gem install numo-linalg -- --with-openblas-dir=/usr/local/opt/openblas
require "numo/linalg/use/openblas"
@sonots

This comment has been minimized.

Copy link
Owner Author

@sonots sonots commented Apr 16, 2019

Ubuntu

sudo apt install libopenblas-dev

$ git clone https://github.com/ruby-numo/numo-narray

$ export LDFLAGS="-L/usr/lib/x86_64-linux-gnu $LDFLAGS"
$ export CPPFLAGS="-I/usr/include/x86_64-linux-gnu $CPPFLAGS"

$ gem install numo-linalg -- --with-narray-include=$PWD/numo-narray/ext/numo/narray
@sonots

This comment has been minimized.

Copy link
Owner Author

@sonots sonots commented Apr 16, 2019

How can I install with bundler??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.