Skip to content

Update GCC easyblock for GCC 5#598

Merged
boegel merged 3 commits intoeasybuilders:developfrom
wpoely86:gcc
Apr 23, 2015
Merged

Update GCC easyblock for GCC 5#598
boegel merged 3 commits intoeasybuilders:developfrom
wpoely86:gcc

Conversation

@wpoely86
Copy link
Copy Markdown
Member

No description provided.

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/918/
Test FAILed.

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/919/
Test PASSed.

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 23, 2015

Tested with easybuilders/easybuild-easyconfigs#1553, looking great, going in.

Thanks @wpoely86!

Comment thread easybuild/easyblocks/g/gcc.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

hmm, hold on...

why isn't this:

if LooseVersion(self.version) < LooseVersion('5.0') ...

We should be using LooseVersion everywhere where we check versions.

It may work now, but that's just by accident, I fear...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems to work as expected without LooseVersion on both sides, but I don't trust it...

>>> from distutils.version import LooseVersion
>>> '4.9' < LooseVersion('5.0')
True
>>> '5.0' == LooseVersion('5.0')
True
>>> '5.1' < LooseVersion('5.0')
False
>>> '5.0' < LooseVersion('5.0')
False
>>> 

@wpoely86: please fix consistently throughout the entire easyblock before we merge this is?

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/921/
Test PASSed.

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 23, 2015

Going in, thanks @wpoely86!

boegel added a commit that referenced this pull request Apr 23, 2015
Update GCC easyblock for GCC 5
@boegel boegel merged commit 4c510c3 into easybuilders:develop Apr 23, 2015
@wpoely86 wpoely86 deleted the gcc branch April 23, 2015 15:07
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