Setup for -Fast GCE bot.

I'd like a bot that has got optimization turned up to 11,
to let us test things that our Chrome-like bots normally can't.

(Not quite ready to commit this bot to -ffast-math yet.)

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1704473002

Review URL: https://codereview.chromium.org/1704473002
This commit is contained in:
mtklein 2016-02-16 06:42:51 -08:00 committed by Commit bot
parent 03000094ca
commit 6f65957335
3 changed files with 1051 additions and 3857 deletions

View File

@ -257,7 +257,7 @@
'-O3', # Even for Debug builds.
'-march=native', # Use all features of and optimize for THIS machine.
'-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts a push/pop.
'-ffast-math', # Optimize float math even when it breaks IEEE compliance.
#'-ffast-math', # Optimize float math even when it breaks IEEE compliance.
#'-flto' # Enable link-time optimization.
],

File diff suppressed because it is too large Load Diff

View File

@ -119,6 +119,10 @@ def gyp_defines(builder_dict):
if builder_dict.get('extra_config') == 'Shared':
gyp_defs['skia_shared_lib'] = '1'
# Build fastest Skia possible.
if builder_dict.get('extra_config') == 'Fast':
gyp_defs['skia_fast'] = '1'
# PDF viewer in GM.
if (builder_dict.get('os') == 'Mac10.8' and
builder_dict.get('arch') == 'x86_64' and
@ -337,6 +341,7 @@ def self_test():
('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-'
'SK_USE_DISCARDABLE_SCALEDIMAGECACHE'),
'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD',
'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Fast',
'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared',
'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
'Test-Win8-MSVC-ShuttleB-GPU-HD4600-x86-Release-ANGLE',