Skip to content

Instantly share code, notes, and snippets.

@sonots
Last active May 11, 2020 07:46
Show Gist options
  • Select an option

  • Save sonots/6fadc6cbbb170b9c4a0c9396c91a88e1 to your computer and use it in GitHub Desktop.

Select an option

Save sonots/6fadc6cbbb170b9c4a0c9396c91a88e1 to your computer and use it in GitHub Desktop.

Revisions

  1. sonots revised this gist Apr 23, 2018. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions numo-linalg with openblas at mac.md
    Original file line number Diff line number Diff line change
    @@ -15,3 +15,6 @@ For pkg-config to find this software you may need to set:
    $ gem install numo-linalg -- --with-openblas-dir=/usr/local/opt/openblas
    ```

    ```ruby
    require "numo/linalg/use/openblas"
    ```
  2. sonots revised this gist Apr 23, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion numo-linalg with openblas at mac.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,6 @@ For pkg-config to find this software you may need to set:
    ```

    ```
    $ gem install numo-linalg -- --with-openblas-dir=/usr/local/opt/openbla
    $ gem install numo-linalg -- --with-openblas-dir=/usr/local/opt/openblas
    ```

  3. sonots created this gist Apr 23, 2018.
    17 changes: 17 additions & 0 deletions numo-linalg with openblas at mac.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    ```
    $ 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/openbla
    ```