Skip to content

No need to care about multiple versions of dummy#1646

Merged
boegel merged 12 commits intoeasybuilders:developfrom
ocaisa:patch-2
Mar 1, 2016
Merged

No need to care about multiple versions of dummy#1646
boegel merged 12 commits intoeasybuilders:developfrom
ocaisa:patch-2

Conversation

@ocaisa
Copy link
Copy Markdown
Member

@ocaisa ocaisa commented Feb 29, 2016

...and also need to handle case where dependency easyconfig does not exist

ocaisa added 3 commits February 29, 2016 18:17
...and also need to handle case where dependency easyconfig does not exist
Argh, pasted to the wrong place
@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2806/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 boegel added this to the v2.7.0 milestone Feb 29, 2016
@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 29, 2016

@ocaisa: is it worth enhancing the tests for the multiple-dummy-versions issue?

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2807/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

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2808/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

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2809/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

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2810/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.

if subtoolchain_name == DUMMY_TOOLCHAIN_NAME:
# Don't care about multiple versions of dummy, take whatever comes first
_log.info("Ignoring multiple versions of %s in toolchain hierarchy", DUMMY_TOOLCHAIN_NAME)
subtoolchain_version = dep_tcs[0]['version']
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, rather than leaving this to chance, wouldn't it be better to use '' as version? we know that using dummy as version has implications (i.e. deps not being loaded at build time)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Can do but it actually has no impact, it's only used for resolving the easyconfig file name which in the case of dummy doesn't matter. What's inside the easyconfig file still gets used in a build process

ocaisa added 2 commits March 1, 2016 12:16
enhance two-version dummy test case
Default to empty version for dummy toolchain
@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 1, 2016

lgtm, ok to go in when Jenkins gives green light

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2815/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

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2816/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite FAILed.

See https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2817/console for more details.

Please fix the reported issues by pushing additional commits to the branch corresponding with this pull request; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2819/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 Mar 1, 2016

Going in, thanks @ocaisa!

boegel added a commit that referenced this pull request Mar 1, 2016
No need to care about multiple versions of dummy
@boegel boegel merged commit 77045c9 into easybuilders:develop Mar 1, 2016
@ocaisa ocaisa deleted the patch-2 branch March 1, 2016 13:32
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