Commit 5f181fcf authored by Nicholas J Meyer's avatar Nicholas J Meyer Committed by Ed Reel

Fix armadillo package (#2197)

* Fix armadillo package

* Remove LIBDIR from armadillo install.
parent 824053cf
......@@ -8,17 +8,20 @@ class Armadillo < Package
source_url 'https://downloads.sourceforge.net/project/arma/armadillo-8.400.0.tar.xz'
source_sha256 '5cb6bc2f457a9d6a0758cfb15c418d48289909daccd79d0e428452029285dd9b'
depends_on 'cmake' => :build
depends_on 'openblas'
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
"-DCMAKE_INSTALL_LIBDIR=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make",
"DESTDIR=#{CREW_DEST_DIR}",
"install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment