Commit 81262ad8 authored by lovedheart's avatar lovedheart Committed by GitHub

Update liblapack.rb

parent 7304faba
......@@ -13,14 +13,14 @@ class Liblapack < Package # The first character of the class nam
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system "cmake .." # recommended for default cmake setting
system "make"
system "cmake ..-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_INSTALL_LIBDIR=#{CREW_DEST_LIB_PREFIX}"
system "make"
end
end
def self.install
Dir.chdir 'build' do
system "make install" # recommended for default installation directory
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
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