Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Bazel Build

Simon Ninon edited this page Sep 17, 2018 · 1 revision

Compiling with Bazel

Note: Bazel 0.16.1 under Linux was used when adding Bazel support.

# Build the optimized version with bazel
bazel build --config=opt //...
# You can run tests with
bazel test --config=opt //...

Statically and dynamically linked libraries can now be found in bazel-bin.

Customizing compilation and installation

Please refer to this page of the wiki. Note that when using you can pass the precomipler flags to the compiler by using the copts attribute of cc_library.