OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 # Copyright 2015 Google Inc. |
| 3 # |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
| 6 |
| 7 # Script for building Fiddle build bots. |
| 8 |
| 9 set -e |
| 10 set -x |
| 11 |
| 12 cd "$(dirname "$0")/../.." |
| 13 skia_dir="$PWD" |
| 14 cores=32 |
| 15 |
| 16 echo "Bootstrapping CMake" |
| 17 cmake_dir="${skia_dir}/third_party/externals/cmake" |
| 18 cd "$cmake_dir" |
| 19 ./bootstrap --parallel=$cores |
| 20 make -j $cores cmake |
| 21 |
| 22 echo "Building fiddle bootstrapped CMake" |
| 23 cd "${skia_dir}/experimental/fiddle" |
| 24 export PATH="${cmake_dir}/bin:${PATH}" |
| 25 go build fiddler.go |
| 26 ./fiddler "$skia_dir" |
| 27 ./fiddler "$skia_dir" draw.cpp > /dev/null |
| 28 |
| 29 echo "cleaning up" |
| 30 cd "$skia_dir" |
| 31 git clean -fxd cmake experimental/fiddle |
OLD | NEW |