Commit 7304faba authored by lovedheart's avatar lovedheart Committed by GitHub

Create liblapack.rb

LAPACK is a linear algebra package.
parent 245a4284
require 'package'
class Liblapack < Package # The first character of the class name must be upper case
description 'Lapack is a linear algebra package.'
homepage 'http://www.netlib.org/lapack/#_lapack_version_3_8_0'
version '3.8.0'
source_url 'http://www.netlib.org/lapack/lapack-3.8.0.tar.gz'
source_sha256 'deb22cc4a6120bff72621155a9917f485f96ef8319ac074a7afbc68aab88bcf6' # Use the command
"sha256sum"
depends_on 'cmake' => :build
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system "cmake .." # recommended for default cmake setting
system "make"
end
end
def self.install
Dir.chdir 'build' do
system "make install" # recommended for default installation directory
end
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