commit | 2a2081cc8bdb0a04a1c5e4509ce5cb569f3ef110 | [log] [tgz] |
---|---|---|
author | Leopold Schabel <leo@nexantic.com> | Wed Oct 23 13:33:10 2019 +0200 |
committer | Leopold Schabel <leo@nexantic.com> | Wed Oct 23 13:33:10 2019 +0200 |
tree | af2403c83ae163f1f512721b1c27643d21ab39b2 | |
parent | 7afd390eadf37eac58d4db8ad3751783c40bdf37 [diff] |
Increase robustness of bazel wrapper script and remove repository_cache This allows the wrapper script to be called from anywhere. The repo cache does not actually work as expected since it does not cache most external dependencies we care about, and is not always a valid command line argument, so we would either have to specify it in .bazelrc (breaking non-standard dev setups), or specify it manually. Test Plan: Ran the bazel wrapper from my home directory, got expected output. X-Origin-Diff: phab/D204 GitOrigin-RevId: 74d09ba24fd84ba0dd6e1ba282995c452546eb25
The build uses a Fedora 30 base image with a set of dependencies. Guide has been tested on a Fedora 30 host, with latest rW deployed.
Build the base image:
podman build -t smalltown-builder .
Launch the VM:
scripts/bin/bazel run scripts:launch
Exit qemu using the monitor console: Ctrl-A c quit
.