Merge pull request #21 from happyCoder92:master

PiperOrigin-RevId: 242110016
Change-Id: I148ba1d8a6d2c675271662e91b41c4aa04b7d0c9
This commit is contained in:
Copybara-Service 2019-04-05 05:33:58 -07:00
commit 5b0c46fa18

View File

@ -11,10 +11,14 @@ on the system:
* [Bazel](https://bazel.build/) version 0.23.0 * [Bazel](https://bazel.build/) version 0.23.0
* Python 2.7 with type annotations * Python 2.7 with type annotations
* Linux userspace API headers * Linux userspace API headers
* Linux kernel with support for UTS, IPC, user, PID and network namespaces
On a system running Debian 10 "Buster", these commands will install the Please refer to the
necessary packages: [Bazel documentation](https://docs.bazel.build/versions/master/bazel-overview.html)
for information on how to change the default compiler toolchain.
### Debian 10 "Buster"
Build dependencies:
```bash ```bash
echo "deb http://storage.googleapis.com/bazel-apt stable jdk1.8" | \ echo "deb http://storage.googleapis.com/bazel-apt stable jdk1.8" | \
sudo tee /etc/apt/sources.list.d/bazel.list sudo tee /etc/apt/sources.list.d/bazel.list
@ -23,10 +27,22 @@ sudo apt-get install -qy python-typing python-clang-7 libclang-7-dev
sudo apt-get install -qy build-essential linux-libc-dev bazel sudo apt-get install -qy build-essential linux-libc-dev bazel
``` ```
Please refer to the ### Gentoo
[Bazel documentation](https://docs.bazel.build/versions/master/bazel-overview.html) Kernel options required:
for information on how to change the default compiler toolchain. ```
General setup --->
-*- Namespaces support
[*] UTS namespace
[*] IPC namespace
[*] User namespace (EXPERIMENTAL)
[*] PID Namespaces
[*] Network namespace
```
Build dependencies:
```bash
emerge dev-util/bazel dev-python/typing dev-python/clang-python
```
## Examples ## Examples