perftools.rb 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/extconf.rb +2 -1
- data/patches/perftools-notests.patch +15 -0
- data/perftools.rb.gemspec +2 -1
- metadata +2 -1
data/ext/extconf.rb
CHANGED
@@ -34,6 +34,7 @@ Dir.chdir('src') do
|
|
34
34
|
sys("tar zxvf #{perftools}")
|
35
35
|
Dir.chdir(dir) do
|
36
36
|
sys("patch -p1 < ../../../patches/perftools.patch")
|
37
|
+
sys("patch -p1 < ../../../patches/perftools-notests.patch")
|
37
38
|
sys("patch -p1 < ../../../patches/perftools-pprof.patch")
|
38
39
|
sys("patch -p1 < ../../../patches/perftools-gc.patch")
|
39
40
|
sys("patch -p1 < ../../../patches/perftools-osx.patch") if RUBY_PLATFORM =~ /darwin/
|
@@ -50,7 +51,7 @@ Dir.chdir('src') do
|
|
50
51
|
if RUBY_PLATFORM =~ /darwin10/
|
51
52
|
ENV['CFLAGS'] = ENV['CXXFLAGS'] = '-D_XOPEN_SOURCE'
|
52
53
|
end
|
53
|
-
sys("./configure --disable-heap-profiler --disable-heap-checker --disable-shared")
|
54
|
+
sys("./configure --disable-heap-profiler --disable-heap-checker --disable-debugalloc --disable-shared")
|
54
55
|
sys("make")
|
55
56
|
FileUtils.cp '.libs/libprofiler.a', '../../librubyprofiler.a'
|
56
57
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
diff --git a/Makefile.in b/Makefile.in
|
2
|
+
index 0ddc27c..1869975 100644
|
3
|
+
--- a/Makefile.in
|
4
|
+
+++ b/Makefile.in
|
5
|
+
@@ -53,9 +53,7 @@ host_triplet = @host@
|
6
|
+
@ENABLE_FRAME_POINTERS_TRUE@@X86_64_TRUE@am__append_3 = -fno-omit-frame-pointer
|
7
|
+
@ENABLE_FRAME_POINTERS_FALSE@@X86_64_TRUE@am__append_4 = -DNO_FRAME_POINTER
|
8
|
+
@MINGW_TRUE@am__append_5 = -Wl,-u__tcmalloc
|
9
|
+
-noinst_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
|
10
|
+
- $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \
|
11
|
+
- $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_22)
|
12
|
+
+noinst_PROGRAMS =
|
13
|
+
bin_PROGRAMS =
|
14
|
+
@MINGW_TRUE@am__append_6 = libwindows.la libspinlock.la
|
15
|
+
|
data/perftools.rb.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
2
2
|
s.name = 'perftools.rb'
|
3
|
-
s.version = '0.3.
|
3
|
+
s.version = '0.3.2'
|
4
4
|
s.date = '2009-10-10'
|
5
5
|
s.rubyforge_project = 'perftools-rb'
|
6
6
|
s.summary = 'google-perftools for ruby code'
|
@@ -28,6 +28,7 @@ spec = Gem::Specification.new do |s|
|
|
28
28
|
"patches/perftools-osx-106.patch",
|
29
29
|
"patches/perftools-osx.patch",
|
30
30
|
"patches/perftools-pprof.patch",
|
31
|
+
"patches/perftools-notests.patch",
|
31
32
|
"patches/perftools.patch",
|
32
33
|
"perftools.rb.gemspec"
|
33
34
|
]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perftools.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
@@ -32,6 +32,7 @@ files:
|
|
32
32
|
- patches/perftools-osx-106.patch
|
33
33
|
- patches/perftools-osx.patch
|
34
34
|
- patches/perftools-pprof.patch
|
35
|
+
- patches/perftools-notests.patch
|
35
36
|
- patches/perftools.patch
|
36
37
|
- perftools.rb.gemspec
|
37
38
|
has_rdoc: true
|