# @author: Guilherme Peretti-Pezzi (CSCS) easyblock = "CmdCp" name = 'Bazel' version = '0.3.0' homepage = 'http://bazel.io/' description = """Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software.""" toolchain = {'name': 'CrayGNU', 'version': '2016.03'} dependencies = [ ('java/jdk1.8.0_51', EXTERNAL_MODULE), ] sources = ['%(version)s.tar.gz'] source_urls = ['https://github.com/bazelbuild/bazel/archive/'] cmds_map = [('.*', "JAVA_VERSION=1.8 CC=gcc CXX=g++ ./compile.sh")] files_to_copy = [(['output/bazel'], 'bin')] sanity_check_paths={ 'files': ['bin/bazel'], 'dirs': ['bin'], } moduleclass = 'devel'