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

Side by Side Diff: scripts/slave/compile.py

Issue 1992083002: Add 30 more slaves into 'LTO Linux Perf' buildbot. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: fix presubmit warning Created 4 years, 7 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
« no previous file with comments | « masters/master.chromium.fyi/slaves.cfg ('k') | no next file » | 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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """A tool to build chrome, executed by buildbot. 6 """A tool to build chrome, executed by buildbot.
7 7
8 When this is run, the current directory (cwd) should be the outer build 8 When this is run, the current directory (cwd) should be the outer build
9 directory (e.g., chrome-release/build/). 9 directory (e.g., chrome-release/build/).
10 10
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 940
941 # For Linux, we also would like to use 10 * cpu. However, not sure 941 # For Linux, we also would like to use 10 * cpu. However, not sure
942 # backend resource is enough, so let me set Linux and Linux x64 builder 942 # backend resource is enough, so let me set Linux and Linux x64 builder
943 # only for now. 943 # only for now.
944 hostname = goma_utils.GetShortHostname() 944 hostname = goma_utils.GetShortHostname()
945 if hostname in ( 945 if hostname in (
946 ['build14-m1', 'build48-m1'] + 946 ['build14-m1', 'build48-m1'] +
947 # Also increasing cpus for v8/blink trybots. 947 # Also increasing cpus for v8/blink trybots.
948 ['build%d-m4' % x for x in xrange(45, 48)] + 948 ['build%d-m4' % x for x in xrange(45, 48)] +
949 # Also increasing cpus for LTO buildbots. 949 # Also increasing cpus for LTO buildbots.
950 ['slave20-c1', 'slave33-c1']): 950 ['slave%d-c1' % x for x in [20, 33] + range(78, 108)]):
951 return min(10 * number_of_processors, 200) 951 return min(10 * number_of_processors, 200)
952 952
953 return 50 953 return 50
954 954
955 goma_jobs = determine_goma_jobs() 955 goma_jobs = determine_goma_jobs()
956 command.append('-j%d' % goma_jobs) 956 command.append('-j%d' % goma_jobs)
957 957
958 # Run the build. 958 # Run the build.
959 env.print_overrides() 959 env.print_overrides()
960 exit_status = chromium_utils.RunCommand(command, env=env) 960 exit_status = chromium_utils.RunCommand(command, env=env)
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 sys.stderr.write('Unknown build tool %s.\n' % repr(options.build_tool)) 1357 sys.stderr.write('Unknown build tool %s.\n' % repr(options.build_tool))
1358 return 2 1358 return 2
1359 1359
1360 options.target_output_dir = get_target_build_dir(args, options) 1360 options.target_output_dir = get_target_build_dir(args, options)
1361 1361
1362 return main(options, args) 1362 return main(options, args)
1363 1363
1364 1364
1365 if '__main__' == __name__: 1365 if '__main__' == __name__:
1366 sys.exit(real_main()) 1366 sys.exit(real_main())
OLDNEW
« no previous file with comments | « masters/master.chromium.fyi/slaves.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698