File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,23 @@ branch_name="$1"
15
15
commit=" $( git rev-parse --short HEAD) "
16
16
17
17
perl -pi -e " s/development/$branch_name $commit /" version.h
18
+ cp version.h version.h.pristine
18
19
19
20
try autoconf
20
21
try ./configure --prefix=/data/ruby --disable-install-doc
21
22
try make -j 4
22
23
24
+ try make install
25
+
26
+ sleep 1
27
+ cp version.h.pristine version.h
28
+ perl -pi -e " s/-github/-github-tcmalloc/" version.h
23
29
try make ruby-tcmalloc RUBY_INSTALL_NAME=ruby-tcmalloc MAINLIBS=-ltcmalloc
24
- try make ruby-jemalloc RUBY_INSTALL_NAME=ruby-jemalloc MAINLIBS=-ljemalloc
25
30
26
- try make install
31
+ sleep 1
32
+ cp version.h.pristine version.h
33
+ perl -pi -e " s/-github/-github-jemalloc/" version.h
34
+ try make ruby-jemalloc RUBY_INSTALL_NAME=ruby-jemalloc MAINLIBS=-ljemalloc
27
35
28
36
cp ruby-tcmalloc /data/ruby/bin
29
37
cp -p ruby-tcmalloc /data/ruby/bin/ruby
You can’t perform that action at this time.
0 commit comments