Age | Commit message (Collapse) | Author |
|
This reverts commit 73ab5ac992942292817b1441472d325ed4c553be.
Change-Id: Ia4148af0ac04a5f75b63d5c5af5a334939a39a03
|
|
Building flang needs more than 1GB per core and trying with 2GB per core
surpasses the 30000 threshold. Use unlimited instead.
Change-Id: Ibe1a06d5e529eaad9ea3b4a9d6c569a1171bed9c
|
|
Fixes for:
https://github.com/koalaman/shellcheck/wiki/SC2207
Are using the bash 4.x 'mapfile' syntax where the
input to the array is seperated by newlines.
If it's separated by spaces we use 'read' instead.
Support for selecting libc in MakeRelease.job was
removed in 3fa23da28ad73d0fe4b512c4aab269b5280a6650.
So remove references to "libc" which were expanding
to nothing anyway.
In tcwg-llvm-common.sh PROJECTS->BRANCHED_PROJECTS
is not strictly needed. However shellcheck can't
tell that the local PROJECTS in this file is
different from the PROJECTS in tcwg-llvm-build.sh.
Change-Id: Ie55968e3bf185d0bd5795fe48014636cda1009bc
|
|
Now using the version that's
present in the bionic images.
Meaning we have more warnings
but can also set the minimum
level to ignore a lot of them.
Fix the check for whether
shellcheck supports --severity.
(we have pipefail on, but we
expect shellcheck to fail in
this case)
Change-Id: I296b8554591b7d327c75393e3924184abc6512b7
|
|
Also update the sanity check
script to include .job files.
Change-Id: Ibf72d9ff346ff7b012d4e282a6ac8f3b7e73590d
|
|
* Dedupe getting hostname for ssh
toolchain URLs
* Check toolchain type earlier
* Error if SSH doesn't respond after reboot
(and change the other uses of
wait_for_ssh_server to follow the same format)
Change-Id: Ib7823e5a83500e0d95912ef0d3ba993051a67533
|
|
... by looking at the right filesystem.
Change-Id: I42e3a5d942b469e983a84e09fc7a11856b81abde
|
|
Allocate up to 30GB per container on high-core-count machines. This
change doesn't affect APMs, TK1s and TX1s much.
Change-Id: Ibde348b0f01d0e1d46dafc4e0dee3c5c0a0c4c0c
|
|
Change-Id: I19ed211d69326ff34a239cb4cc80a6f2b72ccd63
|
|
... to fix problem with starting build containers from
host containers.
Change-Id: I78176ab0afee5952d212fc33d9a699497533bad2
|
|
Change-Id: Ic2cc2dc3a342583a9ac4305804f1c088a49b8ff9
|
|
A previous patch replaced
docker $host:2375 cmd
with
ssh $host cmd
but this needs to be replaced with
ssh $host -H :2375 cmd
Change-Id: I40c58c466b1d3d20a9979205f63f11acb8f864ed
|
|
This allows to manage containers using ssh only, the docker port does
not need to be open to external connections. This allows to start
containers on hosts outside of the lan.
Basically it is a matter of changing:
-DOCKER="docker -H $docker_host:2375"
+DOCKER="ssh $docker_host docker"
in jenkins-helpers.sh, start-container-docker.sh and
start-container-qemu.sh.
Change-Id: I1051896521ee47640cdeefc9eed3324661ee0a9f
|
|
This is dependent on https://review.linaro.org/#/c/21279/ .
Change-Id: I81ba5106ad3ba6604eb1becc1fb5ee597ab5a21a
|
|
Change-Id: Ic465ee16f301817f3ced92f0c3564c171578fbcd
|
|
Remove assumption that script is being run by tcwg-buildslave.
Change-Id: I2edd395e952ca4e834fb14b6175280fda2facf03
|
|
NFS mounts need to explicitly specify v3 of protocol to use UDP.
Also fix parsing of docker-style read-only bind-mounts A:B:ro.
Change-Id: Icef6df08b63b23c9b0e1eb1240787ddda0095d64
|
|
When current directory is not bind-mounted in the container we can't
change into it in ${prefix}container_exec. This is the case for
"test" containers. Fix by defining a local helper that executes commands
in "/" directory.
Change-Id: Ia4e05b51c9688b03ddbd4ead13718c75f510fb3f
|
|
The fact that "bind_mounts=()" causes shell with "-u" to error on
"${bind_mounts[@]}" is too inconvenient. Remove "set -u".
Alternative suggestions and workarounds are welcome.
Change-Id: I13d3976cb5881f04168444bc0233d9b909da7b1f
|
|
Start QEMU KVM virtual machine inside docker container.
Use a copy of container's rootfs as VM's rootfs, which container
exports via NFS. Likewise export any container's bind-mounts as
NFS shares to the VM.
VM is booted using provided initrd and kernel image.
E.g.,
./start-container-qemu.sh --session-name qemu-1 \
--label tcwg-apm_64-build --distro xenial \
--prefix qemu_ \
--kernel_url https://cloud-images.ubuntu.com/releases/16.04/release/unpacked/ubuntu-16.04-server-cloudimg-arm64-vmlinuz-generic \
--initrd_url https://cloud-images.ubuntu.com/releases/16.04/release/unpacked/ubuntu-16.04-server-cloudimg-arm64-initrd-generic \
> qemu-container.sh
Current motivation is to allow development and cross-testing of ILP32
toolchains, but there are other potential applications.
Use of KVM is not essential. Non-KVM emulations work just as well,
though one needs a reasonably well-tested QEMU version (Xenial or later)
for ISA-level emulation.
Change-Id: I5ad0f19c5cd716cc2ae20420eada10105e74acff
|