Skip to content

Conversation

@rjeschmi
Copy link
Contributor

@rjeschmi rjeschmi commented Feb 9, 2017

Built using java 1.8.

@rjeschmi
Copy link
Contributor Author

This is a clean version of Bazel with the only dep being Java. It will be necessary for bazel builds (like tensorflow)


sanity_check_paths={
'files': ['bin/bazel'],
'dirs': ['bin'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is useless if you're already checking for files in bin/, but fine :)


dependencies = [
('Java', '1.8.0_121'),
]
Copy link
Member

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


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")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please leave a blank line above cmds_map, and try to avoid hardcoding the Java version; you can use %(javashortver)s instead (cfr. http://easybuild.readthedocs.io/en/latest/version-specific/easyconfig_templates.html#template-names-values-for-short-software-versions)

@boegel boegel added this to the 3.2.0 milestone Feb 15, 2017

sanity_check_paths={
'dirs': ['bin'],
'files': ['bin/bazel']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rjeschmi nitpicking, what I was going for is:

sanity_check_paths = {
    'files': ['bin/bazel'],
    'dirs': [],
}

i.e. , there's no point in checking for a non-empty bin dir if you're also checking for bin/bazel

Style-wise: keep the files/dirs order like we do in other easyconfigs, use spaces around =.


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")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe set $CC to cc and $CXX to c++ in order to match to the implicit rules that GNU make has as well? Or not use dummy as TC but set it to some GCC core version? Just a suggestion ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't even know if I really need to set anything. I'll just remove it I think.


sanity_check_paths={
'files': ['bin/bazel'],
'dirs': ['bin'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what the advantage would be to check for bin/foo and bin/ separately...

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
SUCCESS
Build succeeded for 2 out of 2 (1 easyconfigs in this PR)
9f0e760684e9 - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/041875955b4b1f81f98b09eedca239ef for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 0 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/896a41086e10d8f10fc856881f6931d9 for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 0 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/4ffb9db9d0174c13e9e8357c4dd5b7e2 for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 0 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/849c3d8456f16b9a416034520654f1dc for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 0 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/47298b5d0eb30f02722ef950b5b3d931 for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 0 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/8ba91a9527930727598f4bfa48f56d1e for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 0 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/83cf675da540b07e9b6324cf84f59f34 for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 1 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/3334b56e2a7c0f2e52bf735668615a12 for a full test report.

@rjeschmi
Copy link
Contributor Author

I'm just testing the build test from singularity. Should work (based on my docker image)

@rjeschmi
Copy link
Contributor Author

[rob@ottbioinfo volumes]$ singularity run -B etc/:/easybuild/etc -B export:/export easybuild.img --from-pr=4114 --upload-test-report --github-user=rjeschmi --robot

I have some problem with sources (coming out of my home directory now for simplicity)

I can also probably fix the etc mapping (have to write to /export for the tests in this case since /easybuild is read-only)

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
SUCCESS
Build succeeded for 1 out of 1 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/76be2689d70e962f4445a6ff448d92fc for a full test report.

@boegel
Copy link
Member

boegel commented Feb 15, 2017

@rjeschmi having fun? You don't need to use --upload-test-report when playing around, you know... ;-)

@boegel
Copy link
Member

boegel commented Feb 15, 2017

Test report by @boegel
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in this PR)
node2100.delcatty.os - Linux centos linux 7.3.1611, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/bb8b0bf0e139f90100339c1f8c7dfbdd for a full test report.

@boegel
Copy link
Member

boegel commented Feb 15, 2017

Test report by @boegel
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in this PR)
node2428.golett.os - Linux centos linux 7.3.1611, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, Python 2.7.5
See https://gist.github.com/35c71d3fe340a73180614226e879ebe4 for a full test report.

@boegel
Copy link
Member

boegel commented Feb 15, 2017

lgtm

@boegel
Copy link
Member

boegel commented Feb 15, 2017

Going in, thanks @rjeschmi!

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
FAILED
Build succeeded for 1 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/f524b30df36fdf8e94f419e97db41ec2 for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
SUCCESS
Build succeeded for 1 out of 1 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/0c762d8ee7bde0c14ea0453714c7bbeb for a full test report.

@rjeschmi
Copy link
Contributor Author

Test report by @rjeschmi
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in this PR)
ottbioinfo.openstacklocal - Linux centos linux 7.3.1611, Intel Xeon E312xx (Sandy Bridge), Python 2.7.5
See https://gist.github.com/1bf3894f0581a505be32ce7dcffc0b1e for a full test report.

@boegel boegel modified the milestones: 3.2.0, 3.1.1 Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants