diff options
author | Andrei Vagin <avagin@google.com> | 2019-05-03 14:11:55 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-05-03 14:13:08 -0700 |
commit | 9e1c253fe814c85a316520bd6bd258adaa71df79 (patch) | |
tree | 688af9574f7d71aa144c1ba0c74b416542edbb0f /test/syscalls | |
parent | 24d8656585e6072ff7d5a00a7eb4bd25cba42dc4 (diff) |
gvisor: run bazel in a docker container
bazel has a lot of dependencies and users don't want to install them
just to build gvisor.
These changes allows to run bazel in a docker container.
A bazel cache is on the local file system (~/.cache/bazel), so
incremental builds should be fast event after recreating a bazel
container.
Here is an example how to build runsc:
make BAZEL_OPTIONS="build runsc:runsc" bazel
Change-Id: I8c0a6d0c30e835892377fb6dd5f4af7a0052d12a
PiperOrigin-RevId: 246570877
Diffstat (limited to 'test/syscalls')
-rw-r--r-- | test/syscalls/linux/pty.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/syscalls/linux/pty.cc b/test/syscalls/linux/pty.cc index 0485d187c..f926ac0f9 100644 --- a/test/syscalls/linux/pty.cc +++ b/test/syscalls/linux/pty.cc @@ -18,9 +18,11 @@ #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include <sys/types.h> #include <termios.h> #include <unistd.h> + #include <iostream> #include "gtest/gtest.h" |