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

Side by Side Diff: build/README.md

Issue 2239093002: Roll infra/go/src/github.com/luci/luci-go/ 9380f91eb..ea3fb670b (22 commits). (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 4 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 | « DEPS ('k') | build/build.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Overview 1 Overview
2 -------- 2 --------
3 3
4 Scripts and files in this directory describe how to build CIPD packages from 4 Scripts and files in this directory describe how to build CIPD packages from
5 the source code in infra.git repo. 5 the source code in infra.git repo.
6 6
7 There are two flavors of packages: 7 There are two flavors of packages:
8 8
9 * Packages with executables compiled from Go code. 9 * Packages with executables compiled from Go code.
10 * Single giant package with all python code and archived virtual environment 10 * Single giant package with all python code and archived virtual environment
(...skipping 14 matching lines...) Expand all
25 # specified the package will be build on all CI builders. When build.py script 25 # specified the package will be build on all CI builders. When build.py script
26 # is invoked manually (without --builder flag), this property is ignored. 26 # is invoked manually (without --builder flag), this property is ignored.
27 builders: 27 builders:
28 - infra-continuous-precise-64 28 - infra-continuous-precise-64
29 - ... 29 - ...
30 # If true, it means the package is friendly to different GOOS and GOARCH. If not 30 # If true, it means the package is friendly to different GOOS and GOARCH. If not
31 # set or false, this package will be skipped when doing cross-compilation. 31 # set or false, this package will be skipped when doing cross-compilation.
32 supports_cross_compilation: true 32 supports_cross_compilation: true
33 # Optional list of go packages to 'go install' before zipping this package. 33 # Optional list of go packages to 'go install' before zipping this package.
34 go_packages: 34 go_packages:
35 - github.com/luci/luci-go/client/cmd/cipd 35 - github.com/luci/luci-go/cipd/client/cmd/cipd
36 - ... 36 - ...
37 # Path to the root of the package source files on the system we're building 37 # Path to the root of the package source files on the system we're building
38 # the package from. Can be absolute or relative to the path of the *.yaml 38 # the package from. Can be absolute or relative to the path of the *.yaml
39 # file itself. 39 # file itself.
40 root: ../.. 40 root: ../..
41 41
42 data: 42 data:
43 # 'dir' section adds a subdirectory of 'root' to the package. In this case 43 # 'dir' section adds a subdirectory of 'root' to the package. In this case
44 # it will scan directory <yaml_path>/../../a/b/c and put files into a/b/c 44 # it will scan directory <yaml_path>/../../a/b/c and put files into a/b/c
45 # directory of the package. 45 # directory of the package.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 package in build output directory. When uploading packages (via `build.py 167 package in build output directory. When uploading packages (via `build.py
168 --no-rebuild --upload`), `GOOS` and `GOARCH` are used to figure out what flavor 168 --no-rebuild --upload`), `GOOS` and `GOARCH` are used to figure out what flavor
169 of built packages to pick (what `+${platform}` to search for). 169 of built packages to pick (what `+${platform}` to search for).
170 170
171 Cross compiling toolset doesn't include C compiler, so the binaries are built in 171 Cross compiling toolset doesn't include C compiler, so the binaries are built in
172 `CGO_ENABLED=0` mode, meaning some stdlib functions that depend on libc are not 172 `CGO_ENABLED=0` mode, meaning some stdlib functions that depend on libc are not
173 working or working differently compared to natively built executables. 173 working or working differently compared to natively built executables.
174 174
175 In particular `os/user` doesn't work at all, and DNS resolution in `net` uses 175 In particular `os/user` doesn't work at all, and DNS resolution in `net` uses
176 different implementation. 176 different implementation.
OLDNEW
« no previous file with comments | « DEPS ('k') | build/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698