Skip to content

{lib}[foss/2016a] Blitz++ v0.10#2784

Merged
boegel merged 2 commits intoeasybuilders:developfrom
SimonPinches:20160325161659_new_pr_Blitz++010
Apr 12, 2016
Merged

{lib}[foss/2016a] Blitz++ v0.10#2784
boegel merged 2 commits intoeasybuilders:developfrom
SimonPinches:20160325161659_new_pr_Blitz++010

Conversation

@SimonPinches
Copy link
Copy Markdown
Contributor

(created using eb --new-pr)

@hpcugentbot
Copy link
Copy Markdown

Automatic reply from Jenkins: Can I test this?

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 25, 2016

Jenkins: ok to test


sources = ['blitz-%(version)s.tar.gz']
source_urls = ['https://sourceforge.net/projects/blitz/files/blitz/%(name)s %(version)s',
'download']
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.

This is/looks wrong... is there really supposed to be a space in between name and version? Should it be %(name)s/%(version)s?

Also, you need to wrap this in a tuple (...), otherwise you have a list of two candidate source URLs, rather than one where /download is being glued at the end:

source_urls = [('https://sourceforge.net/projects/blitz/files/blitz/%(name)s/%(version)s', 'download')]

You can update this PR after fixing remarks by just using eb --update-pr 2784 Blitz++-0.10-foss-2016a.eb, after editing Blitz++-0.10-foss-2016a.eb to fix the remarks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I agree it looks wrong but the space is really there and is needed. I've fixed the problems highlighted and updated the PR. (I also added the easybuild file for goolf-1.5.16 but maybe this should have been a separate PR?)

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.

@SimonPinches I'm not seeing the easyconfig for goolf-1.5.16 in here?

Also, I stand to my point that this looks wrong.
What you have here now is that you have two separate download URLs listed: https://sourceforge.net/projects/blitz/files/blitz/%(name)s %(version)s and download.
The latter is obviously wrong.

What you're after is https://sourceforge.net/projects/blitz/files/blitz/%(name)s %(version)s/<tarball>/download,
which can be achieved by specifying a list with a single 2-element tuple, i.e.:

source_urls = [('https://sourceforge.net/projects/blitz/files/blitz/%(name)s/%(version)s', 'download')]

This tells EasyBuild to grab the 1st element of the tuple, glue the tarball name after it, and then glue the 2nd part of the tuple (download) after that...

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.

On 2nd thought, it looks like your reply may apply some other remark from another PR? There's no space involved at all here?

@boegel boegel added this to the v2.8.0 milestone Mar 25, 2016
@hpcugentbot
Copy link
Copy Markdown

Easyconfigs unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyconfigs-pr-builder/7231/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Copy Markdown

Easyconfigs unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyconfigs-pr-builder/7363/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 12, 2016

Test report by @boegel
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in this PR)
gligar02.gligar.os - Linux SL 6.7, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.6.6
See https://gist.github.com/9c770c0371ccd38d9d22b5c3f831f26f for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 12, 2016

lgtm

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 12, 2016

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

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 12, 2016

Going in, thanks @SimonPinches!

@boegel boegel merged commit ae16a24 into easybuilders:develop Apr 12, 2016
@SimonPinches SimonPinches deleted the 20160325161659_new_pr_Blitz++010 branch April 12, 2016 20:38
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