Skip to content

Instantly share code, notes, and snippets.

@ngcrawford
Last active December 20, 2015 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngcrawford/6205554 to your computer and use it in GitHub Desktop.
Save ngcrawford/6205554 to your computer and use it in GitHub Desktop.
require 'formula'
class Openblas64Julia < Formula
homepage 'http://xianyi.github.com/OpenBLAS/'
# Maintainers, remember to update the LAPACK url in OpenblasLapack above.
# See the "LAPACK_URL" in the openblas Makefile for the right version.
url 'http://github.com/xianyi/OpenBLAS/zipball/v0.2.8'
sha1 'c62ab98dae8ac6d49c367235033180ef72dd7bbd'
head "https://github.com/xianyi/OpenBLAS.git", :branch => "develop"
# OS X provides the Accelerate.framework, which is a BLAS/LAPACK impl.
keg_only :provided_by_osx
def install
ENV.fortran
# Must call in two steps
system "make", "FC=#{ENV['FC']}", "INTERFACE64=1"
system "make", "PREFIX=#{prefix}", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment