Last active
April 20, 2018 04:16
-
-
Save smdabdoub/33e465fe889df9792cae6cc8e43c6807 to your computer and use it in GitHub Desktop.
fix fastspar homebrew script
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
class Fastspar < Formula | |
desc " Rapid and scalable correlation estimation for compositional data" | |
homepage "https://github.com/scwatts/fastspar" | |
url "https://github.com/scwatts/fastspar/archive/v0.0.5.tar.gz" | |
sha256 "c4cc7682720f566da7587e555b58a688671a97235d00c33d042a7f2cd6cef20a" | |
head "https://github.com/scwatts/fastspar.git" | |
depends_on "armadillo" => :run | |
depends_on "gsl" => :run | |
depends_on "gnu-getopt" => :run | |
depends_on "openblas" => :run | |
needs :openmp | |
def install | |
system "./configure", "CC=gcc-7", | |
"CXX=g++-7", | |
"LDFLAGS=-L/usr/local/opt/openblas/lib", | |
"--prefix=#{prefix}" | |
system "make", "-j", "install" | |
end | |
test do | |
system "false" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment