You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Mac OS (with Macports): sudo port install gcc5 ocaml ocaml-findlib opam libgcrypt +devel
For Mac OS 10.15/11 (with homebrew): brew install gcc5 ocaml ocaml-findlib opam libgcrypt +devel. (+devel does not seem to be required on Mac OS 10.15)
If you are using OPAM as our package manager, and this is the first time you are using it, set it up:
[only for DEBUG compilation]
./configure --with-debug-level=slowdebug --with-target-bits=64 --with-native-debug-symbols=internal --with-jvm-variants=zero --disable-warnings-as-errors
cd obliv-c && ./configure & cd ..
If Java's configure fails due to missing dependencies (to either the
toolchain, external libraries or the boot JDK),
most of the time it prints a suggestion on how to resolve the situation on
your platform. Follow the instructions, and try running bash configure
again.
First make Obliv-C and then Obliv-Java's Open-JDK version:
cd obliv-c && make && cd ..
make
Verify your newly built JDK with secure computation: \
./build/*/jdk/bin/java -version
Check the sub-directory "obliv-java" for the Obliv-Java source-to-source compiler.
For information about building OpenJDK from its official documentation,
please see either of these: