Lines Matching +full:valgrind +full:-
5 # Use of this source code is governed by a BSD-style license that can be
25 VALGRIND = 'valgrind-3.13.0' variable
26 TARBALL = '%s.tar.bz2' % VALGRIND
27 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
28 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
42 if os.path.isdir(VALGRIND):
54 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
56 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
57 subprocess.check_call(['./configure', '--prefix=%s' % INSTALL_DIR])
63 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
65 shutil.copy(os.path.join(INSTALL_DIR, 'bin', 'valgrind'),
66 os.path.join(target_dir, 'bin', 'valgrind'))
68 os.mkdir(os.path.join(target_dir, 'lib', 'valgrind'))
69 for lib in ['memcheck-amd64-linux']:
70 shutil.copy(os.path.join(INSTALL_DIR, 'lib', 'valgrind', lib),
71 os.path.join(target_dir, 'lib', 'valgrind', lib))
73 libname = 'vgpreload_%s-amd64-linux.so' % lib
74 shutil.copy(os.path.join(INSTALL_DIR, 'lib', 'valgrind', libname),
75 os.path.join(target_dir, 'lib', 'valgrind', libname))
78 os.path.join(target_dir, 'lib', 'valgrind', 'default.supp'))
98 parser.add_argument('--target_dir', '-t', required=True)