8000 compile and install tcmalloc and jemalloc as well · github/ruby@86cf689 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86cf689

Browse files
author
Charlie Somerville
committed
compile and install tcmalloc and jemalloc as well
1 parent 6bbb6ed commit 86cf689

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

script/deploy

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ perl -pi -e "s/development/$branch_name $commit/" version.h
1919
try autoconf
2020
try ./configure --prefix=/data/ruby --disable-install-doc
2121
try make -j 4
22+
23+
try make ruby-tcmalloc RUBY_INSTALL_NAME=ruby-tcmalloc MAINLIBS=-ltcmalloc
24+
try make ruby-jemalloc RUBY_INSTALL_NAME=ruby-jemalloc MAINLIBS=-ljemalloc
25+
2226
try make install
2327

28+
cp ruby-tcmalloc /data/ruby/bin
29+
cp -p ruby-tcmalloc /data/ruby/bin/ruby
30+
cp ruby-jemalloc /data/ruby/bin
31+
2432
export PATH=/data/ruby/bin:$PATH
2533
try gem install vendor/bundler-1.3.5.gem

0 commit comments

Comments
 (0)
0