forked from translunar/nmatrix
-
Notifications
You must be signed in to change notification settings - Fork 133
/
nmatrix-lapacke.gemspec
29 lines (23 loc) · 1.16 KB
/
nmatrix-lapacke.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'nmatrix/version'
Gem::Specification.new do |gem|
gem.name = "nmatrix-lapacke"
gem.version = NMatrix::VERSION::STRING
gem.summary = "general LAPACK backend for nmatrix using LAPACKE interface"
gem.description = "For using linear algebra fuctions provided by LAPACK and BLAS"
gem.homepage = 'http://sciruby.com'
gem.authors = ['Will Levine', 'John Woods']
gem.email = ['[email protected]']
gem.license = 'BSD-3-Clause'
gem.files = ["lib/nmatrix/lapacke.rb","lib/nmatrix/lapack_ext_common.rb"]
gem.files += `git ls-files -- ext/nmatrix_lapacke`.split("\n")
gem.files += `git ls-files -- ext/nmatrix | grep ".h$"`.split("\n") #need nmatrix header files to compile
gem.test_files = `git ls-files -- spec`.split("\n")
gem.test_files -= `git ls-files -- spec/plugins`.split("\n")
gem.test_files += `git ls-files -- spec/plugins/lapacke`.split("\n")
gem.extensions = ['ext/nmatrix_lapacke/extconf.rb']
gem.require_paths = ["lib"]
gem.required_ruby_version = '>= 1.9'
gem.add_dependency 'nmatrix', NMatrix::VERSION::STRING
end