.. index:: Bazel .. _Bazel: Bazel ===== Description ----------- Bazel is an open-source build and test tool similar to Make. User instructions ----------------- Bazel is available via the modules system. To add it to your environment run: .. code-block:: bash $ module load bazel/0.9.0 Documentation is available at the `Bazel website `_. Source ------ https://github.com/bazelbuild/bazel License ------- Apache License 2.0 Admin notes ----------- This required adding the ``openjdk-8-jdk`` package. To compile, I followed the instructions at https://docs.bazel.build/versions/master/install-compile-source.html - which boils down to download the dist package and run the compile script. This creates a standalone binary in ``output/bazel`` which could be copied into place to create a module. I also compiled a separate version with gcc/5.3.0 so it can be used with the pyml stack. This was done by loading the module and running the compile script, which picked up the correct version automatically. It seems fine to have a version attached to a compiler and a separate version in the core modules.