skia2/infra/bots
mtklein cab0bb7fc6 GN: support compiler_prefix, use it for ccache on bots.
This makes it considerably easier to use ccache with the Android NDK.
You can now just set
  compiler_prefix = "ccache"
  ndk = "/path/to/ndk"
and we'll use the NDK clang, wrapped with ccache.

The name compiler_prefix is stolen from / compatible with Chrome.

If you have ccache, you can just always leave compiler_prefix="ccache" enabled.
This should make it an unusual thing for humans to have to change cc or cxx.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2281163002

Review-Url: https://codereview.chromium.org/2281163002
2016-08-26 13:43:19 -07:00
..
assets Add Mac NDK asset, and fetch NDK on Android compile bots. 2016-08-26 11:22:54 -07:00
ct Move ct_skps recipe from tools repo to Skia repo. 2016-08-09 13:46:48 -07:00
recipe_modules GN: support compiler_prefix, use it for ccache on bots. 2016-08-26 13:43:19 -07:00
recipes GN: support compiler_prefix, use it for ccache on bots. 2016-08-26 13:43:19 -07:00
tools/luci-go Add CIPD support for bot assets 2016-06-28 04:41:49 -07:00
android_bin.isolate Support for Android Swarming bots 2016-04-01 07:18:28 -07:00
bootstrap_win_toolchain_json.py Fixes for Win toolchain isolate 2016-03-11 04:54:42 -08:00
compile_skia.isolate Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
coverage_skia.isolate Add new coverage_skia.isolate 2016-04-18 04:13:48 -07:00
ct_skps_skia.isolate Move ct_skps recipe from tools repo to Skia repo. 2016-08-09 13:46:48 -07:00
housekeeper_skia.isolate Fix Housekeeper-PerCommit 2016-07-27 05:21:45 -07:00
infrabots.isolate Move builder_spec, [dm|nanobench]_flags, builder_name_schema to recipes 2016-08-04 11:07:10 -07:00
ios_bin.isolate More iOS swarming bot fixes 2016-04-06 11:38:55 -07:00
perf_skia.isolate Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
README.md Port Skia recipe to normal Python scripts, move to Skia repo 2016-02-18 08:05:48 -08:00
recipes.py Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
resources.isolate Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
skia_repo.isolate Fix compile on Windows swarming bot 2016-03-16 07:27:05 -07:00
swarm_recipe.isolate Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
test_skia.isolate Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
test_utils.py Add asset management scripts 2016-06-15 12:07:42 -07:00
upload_skps.py Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
utils.py Add CIPD support for bot assets 2016-06-28 04:41:49 -07:00
win_toolchain_utils.py Some fixes for Swarming bots 2016-03-17 09:01:33 -07:00
zip_utils_test.py Add asset management scripts 2016-06-15 12:07:42 -07:00
zip_utils.py add an asset for the Linux Android NDK. 2016-08-26 10:52:19 -07:00

Skia Buildbot Scripts

The scripts in this directory are ported from Skia's buildbot recipes and are intended to run as standalone Python scripts either locally or via Swarming.

How to Run

The scripts can be run by hand, eg:

$ cd infra/bots $ python compile_skia.py Build-Ubuntu-GCC-x86_64-Debug ../../out

Or, you can run the scripts via Swarming:

$ isolate archive --isolate-server https://isolateserver.appspot.com/ -i infra/bots/compile_skia.isolate -s ../compile-skia.isolated --verbose --config-variable BUILDER_NAME=Build-Ubuntu-GCC-x86_64-Debug $ swarming.py run --swarming https://chromium-swarm.appspot.com --isolate-server https://isolateserver.appspot.com --dimension os Ubuntu --dimension pool Skia --task-name compile-skia --io-timeout=3600 --hard-timeout=3600 ../compile-skia.isolated