Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: client/deps/systemtap/systemtap.py

Issue 3554003: Merge remote branch 'cros/upstream' into tempbranch3 (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/deps/systemtap/common.py ('k') | client/profilers/blktrace/blktrace.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 import os 3 import os
4 import common
5 import shutil 4 import shutil
6 from autotest_lib.client.bin import utils 5 from autotest_lib.client.bin import utils
7 6
8 version = 1 7 version = 1
9 8
10 def setup(topdir): 9 def setup(topdir):
11 srcdir = os.path.join(topdir, 'src') 10 srcdir = os.path.join(topdir, 'src')
12 11
13 os.chdir(srcdir) 12 os.chdir(srcdir)
14 13
15 utils.system('./configure --with-elfutils=elfutils ' \ 14 utils.configure('--with-elfutils=elfutils ' \
16 '--prefix=%s/systemtap' % topdir) 15 '--prefix=%s/systemtap' % topdir)
17 utils.system('make -j %d' % utils.count_cpus()) 16 utils.make('-j %d' % utils.count_cpus())
18 utils.system('make install') 17 utils.make('install')
19 18
20 os.chdir(topdir) 19 os.chdir(topdir)
21 20
22 pwd = os.getcwd() 21 pwd = os.getcwd()
23 utils.update_version(pwd+'/src', True, version, setup, pwd) 22 utils.update_version(pwd+'/src', True, version, setup, pwd)
OLDNEW
« no previous file with comments | « client/deps/systemtap/common.py ('k') | client/profilers/blktrace/blktrace.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698