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

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

Issue 3541002: Revert "Merge remote branch 'cros/upstream' into tempbranch2" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/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
4 import shutil 5 import shutil
5 from autotest_lib.client.bin import utils 6 from autotest_lib.client.bin import utils
6 7
7 version = 1 8 version = 1
8 9
9 def setup(topdir): 10 def setup(topdir):
10 srcdir = os.path.join(topdir, 'src') 11 srcdir = os.path.join(topdir, 'src')
11 12
12 os.chdir(srcdir) 13 os.chdir(srcdir)
13 14
14 utils.configure('--with-elfutils=elfutils ' \ 15 utils.system('./configure --with-elfutils=elfutils ' \
15 '--prefix=%s/systemtap' % topdir) 16 '--prefix=%s/systemtap' % topdir)
16 utils.make('-j %d' % utils.count_cpus()) 17 utils.system('make -j %d' % utils.count_cpus())
17 utils.make('install') 18 utils.system('make install')
18 19
19 os.chdir(topdir) 20 os.chdir(topdir)
20 21
21 pwd = os.getcwd() 22 pwd = os.getcwd()
22 utils.update_version(pwd+'/src', True, version, setup, pwd) 23 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