bio-bwa 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bio-bwa.gemspec +1 -1
- data/ext/mkrf_conf.rb +7 -4
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/bio-bwa.gemspec
CHANGED
data/ext/mkrf_conf.rb
CHANGED
@@ -7,9 +7,12 @@ path = File.expand_path(File.dirname(__FILE__))
|
|
7
7
|
ext = Bio::BWA::Library.lib_extension
|
8
8
|
|
9
9
|
flags = ""
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
compile = ""
|
11
|
+
if ext == "so" then
|
12
|
+
flags = "-shared -Wl,-soname,libbwa.so"
|
13
|
+
compile = " -fPIC"
|
14
|
+
elsif ext == "dylib" then
|
15
|
+
flags = "-bundle -undefined dynamic_lookup -flat_namespace"
|
13
16
|
end
|
14
17
|
|
15
18
|
|
@@ -28,7 +31,7 @@ SRC = FileList.new(source)
|
|
28
31
|
OBJ_SRC = SRC.ext('o')
|
29
32
|
|
30
33
|
rule '.o' => '.c' do |t|
|
31
|
-
sh "gcc -c -g -Wall -O2 -DHAVE_PTHREAD "+t.source+" -o "+t.name
|
34
|
+
sh "gcc#{compile} -c -g -Wall -O2 -DHAVE_PTHREAD "+t.source+" -o "+t.name
|
32
35
|
end
|
33
36
|
|
34
37
|
task :compile_gen => OBJ_GEN do
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: bio-bwa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Francesco Strozzi
|
@@ -193,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
193
|
requirements:
|
194
194
|
- - ">="
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
hash:
|
196
|
+
hash: 4340680635889925371
|
197
197
|
segments:
|
198
198
|
- 0
|
199
199
|
version: "0"
|