forked from SciRuby/nmatrix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
nmatrix-atlas.gemspec
29 lines (23 loc) · 1.11 KB
/
nmatrix-atlas.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-atlas"
gem.version = NMatrix::VERSION::STRING
gem.summary = "ATLAS backend for nmatrix"
gem.description = "For using linear algebra fuctions provided by ATLAS"
gem.homepage = 'http://sciruby.com'
gem.authors = ['Will Levine', 'John Woods']
gem.email = ['[email protected]']
gem.license = 'BSD-3-Clause'
gem.files = ["lib/nmatrix/atlas.rb","lib/nmatrix/lapack_ext_common.rb"]
gem.files += `git ls-files -- ext/nmatrix_atlas`.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/atlas`.split("\n")
gem.extensions = ['ext/nmatrix_atlas/extconf.rb']
gem.require_paths = ["lib"]
gem.required_ruby_version = '>= 1.9'
gem.add_dependency 'nmatrix', NMatrix::VERSION::STRING
end