-
Notifications
You must be signed in to change notification settings - Fork 773
{devel}[Java] Bazel 0.4.4 #4114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # @author: Robert Schmidt (OHRI) | ||
| # @author: Guilherme Peretti-Pezzi (CSCS) | ||
|
|
||
| easyblock = "CmdCp" | ||
|
|
||
| name = 'Bazel' | ||
| version = '0.4.4' | ||
|
|
||
| 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': 'dummy', 'version': ''} | ||
|
|
||
| dependencies = [ | ||
| ('Java', '1.8.0_121'), | ||
| ] | ||
|
|
||
| sources = ['%(namelower)s-%(version)s-dist.zip'] | ||
| source_urls = ['https://github.com/bazelbuild/bazel/releases/download/%(version)s'] | ||
| 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' | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| name = 'Java' | ||
| version = "1.8.0_121" | ||
|
|
||
| homepage = 'http://java.com/' | ||
| description = """Java Platform, Standard Edition (Java SE) lets you develop and deploy | ||
| Java applications on desktops and servers.""" | ||
|
|
||
| toolchain = {'name': 'dummy', 'version': 'dummy'} | ||
|
|
||
| # download the tar.gz directly from http://www.oracle.com/technetwork/java/javase/downloads/index.html | ||
| (vp, vs) = version.split('_') | ||
| altver = '%su%s' % (vp.split('.')[1], vs) | ||
| sources = ['jdk-%s-linux-x64.tar.gz' % altver] | ||
|
|
||
| moduleclass = 'lang' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please move this down, below
source_urls