Last active
December 20, 2015 22:29
-
-
Save ngcrawford/6205554 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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