* build: bump to go 1.16 * build: go mod tidy & update godeps CI step |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
build-aarch64-musl-gcc.sh | ||
build-amd64-musl-gcc.sh | ||
build-osxcross-clang.sh |
README.md
Cross-compiler Builds
The scripts in this directory are used to build cross-compilers for InfluxDB from source. We build & cache these artifacts separately to speed up cross-builds in CI.
Building archives
The build scripts are stand-alone, any required variables are defined as constants within
their shell code. Running a script will produce a new .tar.gz
archive under out/
in this directory.
Archives are named after the version(s) of the software they contain + a build timestamp.
Uploading builds
After building a new archive, follow these steps to add it to our CI image:
- Log into the Errplane AWS console. Credentials are hosted in 1Password, within the
Engineering
vault. - Navigate to dl.influxdata.com/influxdb-ci in the S3 console.
- Navigate to the appropriate sub-directory of
influxdb-ci
for the archive you're uploading. The path varies by cross-compiler.- Native AMD64
musl-gcc
is hosted undermusl/<musl-version>/
- Cross-compilers for
musl-gcc
(i.e. ARM64) are hosted undermusl/<musl-version>/musl-cross/<musl-cross-make-version>/
- Cross-compilers for macOS
clang
are hosted underosxcross/<osxcross-hash>/
- Native AMD64
- Use the S3 console to upload the
.tar.gz
archive into the directory. - Update our CircleCI config to point at the new archive.