Skip to content

Commit e187d1c

Browse files
author
Charlie Somerville
committed
tag version string of tcmalloc and jemalloc rubies
1 parent 86cf689 commit e187d1c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

script/deploy

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,23 @@ branch_name="$1"
1515
commit="$(git rev-parse --short HEAD)"
1616

1717
perl -pi -e "s/development/$branch_name $commit/" version.h
18+
cp version.h version.h.pristine
1819

1920
try autoconf
2021
try ./configure --prefix=/data/ruby --disable-install-doc
2122
try make -j 4
2223

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
2329
try make ruby-tcmalloc RUBY_INSTALL_NAME=ruby-tcmalloc MAINLIBS=-ltcmalloc
24-
try make ruby-jemalloc RUBY_INSTALL_NAME=ruby-jemalloc MAINLIBS=-ljemalloc
2530

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
2735

2836
cp ruby-tcmalloc /data/ruby/bin
2937
cp -p ruby-tcmalloc /data/ruby/bin/ruby

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy