This repository contains source code for the following libraries, which work together under the name "Private Compute Libraries":
- Chronicle
- Plugins
Although there should be no reason why the Private Compute Libraries shouldn't build and pass tests on any operating system supported by Bazel, the following build and test instructions assume the environment to be Debian Linux.
Install Android Studio and Android SDK 31 from the SDK Manager.
Ensure your ANDROID_HOME
environment variable is configured correctly.
sudo apt update
sudo apt install default-jdk bazel
git clone git@github.com:google/private-compute-libraries.git
cd private-compute-libraries
bazel build //...
bazel test //...
Note: If your machine has a nonstandard default JDK, you may need to add a
flag to the above commands: --java_runtime_version=local-openjdk11