File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # Build Tools
2+
3+ This directory contains build configuration files used by kokoro to build
4+ tooling needed for firebase releases.
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ # Location of the bash script to run.
4+ build_file: " google3/firebase/app/client/cpp/build_tools/release.sh"
5+
6+ gfile: " /x20/teams/firebase/build_tools/binutils-latest.tar.gz"
7+
8+ action {
9+ define_artifacts {
10+ regex: " install-output/*"
11+ strip_prefix: " install-output/"
12+ }
13+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Copyright 2019 Google LLC
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+ # Builds build tools used in building Firebase Cpp Sdk
18+
19+ # Fail on any error.
20+ set -e
21+ # Display commands being run.
22+ set -x
23+
24+ # Install binutils deps
25+ sudo apt-get install -y texinfo bison flex
26+
27+ # Extract latest binutil source from x20
28+ tar -xzf " ${KOKORO_ARTIFACTS_DIR} /gfile/binutils-*.tar.gz" -C " ${KOKORO_ARTIFACTS_DIR} /binutils"
29+
30+ cd " ${KOKORO_ARTIFACTS_DIR} /binutils"
31+ ./configure --enable-targets=all --prefix=" ${KOKORO_ARTIFACTS_DIR} /install-output"
32+ make -j 8 all-binutils
33+ make install
You can’t perform that action at this time.
0 commit comments