Skip to content

{geo}[foss-2016a] pyGIMLi - Python 3.5.1 (REVIEW)#3403

Merged
boegel merged 8 commits intoeasybuilders:developfrom
hajgato:PyGIMLi
Aug 26, 2016
Merged

{geo}[foss-2016a] pyGIMLi - Python 3.5.1 (REVIEW)#3403
boegel merged 8 commits intoeasybuilders:developfrom
hajgato:PyGIMLi

Conversation

@hajgato
Copy link
Copy Markdown
Collaborator

@hajgato hajgato commented Aug 5, 2016

needs PR #3398 #3393 #3392

@boegel boegel added this to the v2.9.0 milestone Aug 17, 2016
easyblock = 'PythonPackage'

name = 'pyplusplus'
version = '2c6c05b7a7d2'
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.

@hajgato wouldn't it be better to use a datestamp as version here (which sorts properly) rather than a commit ID?

@hajgato
Copy link
Copy Markdown
Collaborator Author

hajgato commented Aug 19, 2016

@boegel Done

@hajgato hajgato changed the title {geo}[foss-2016a] pyGIMLi - Python 3.5.1 (REVIEW) {geo}[foss-2016a] pyGIMLi - Python 3.5.1 (WIP) Aug 19, 2016
@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 19, 2016

Test report by @boegel
FAILED
Build succeeded for 5 out of 6 (6 easyconfigs in this PR)
node2159.delcatty.os - Linux SL 6.7, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.6.6
See https://gist.github.com/e4db2a2978b04d547f8233011cbf928b for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 19, 2016

@hajgato does this still work for you?

@hajgato hajgato changed the title {geo}[foss-2016a] pyGIMLi - Python 3.5.1 (WIP) {geo}[foss-2016a] pyGIMLi - Python 3.5.1 (REVIEW) Aug 22, 2016
@hajgato
Copy link
Copy Markdown
Collaborator Author

hajgato commented Aug 22, 2016

@boegel: The name of install subdir changed, I forget to insert a star into the directory name. Now it should work.

preinstallopts += '&& cp -a ../gimli*/python/. %(installdir)s/lib/python%(pyshortver)s/site-packages '
preinstallopts += '&& cp -a ../easybuild_obj/lib/. %(installdir)s/lib/ '
preinstallopts += '&& mkdir %(installdir)s/bin '
preinstallopts += '&& cp ../easybuild_obj/bin/* %(installdir)s/bin ||'
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.

@hajgato hmh, the || part is a hack to bypass make install, right?

Maybe we should go for a software-specific easyblock here instead? Or CMakeMakeCp?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

hmmm. Do not remember why I did this. I have to check it. (I am not sure that we habv make install...)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@boegel: ah I remember. if I use make install then the python libs would not be installed. Alternatively, I can do this:

preinstallopts = 'mkdir -p %(installdir)s/lib/python%(pyshortver)s/site-packages '
preinstallopts += '&& cp -a ../gimli*/python/.  %(installdir)s/lib/python%(pyshortver)s/site-packages &&'

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.

@hajgato I think doing it via installopts (so, after the make install) would be cleaner, no?

Also, doesn't this suggest there's a bug in the Makefile?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@boegel: changed to installopts. A CMakeMakeCp block could be an idea, but I am not keen to do that. This EB is not sooo complicated.

installopts = ' && mkdir -p %(installdir)s/lib/python%(pyshortver)s/site-packages '
installopts += '&& cp -a ../gimli*/python/. %(installdir)s/lib/python%(pyshortver)s/site-packages '
installopts += '&& mkdir %(installdir)s/bin '
installopts += '&& cp ../easybuild_obj/bin/* %(installdir)s/bin'
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.

@hajgato is this also still needed? not handled by make install?

@hajgato
Copy link
Copy Markdown
Collaborator Author

hajgato commented Aug 23, 2016

@boegel: Only the lib is installed. I think it is related to the fact that by default only the library built. You have to add to the buildopts to make the rest, and those are not installed. Honestly, I do not know too much about CMake, (and I do not want to know abut it), so I would rather not make a patch to handle the problem.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 23, 2016

@hajgato sure, I was just wondering... I'll retest this, but good to go for me otherwise.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 23, 2016

Test report by @boegel
SUCCESS
Build succeeded for 6 out of 6 (6 easyconfigs in this PR)
node2607.swalot.os - Linux centos linux 7.2.1511, Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/174de2b0af5f4f18c30a8e93956f5fe4 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 25, 2016

Test report by @boegel
SUCCESS
Build succeeded for 8 out of 8 (8 easyconfigs in this PR)
node2553.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/32de420ac7228d3ea9c77d399460ee03 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 26, 2016

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

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.

2 participants