added script for bootstrapping EasyBuild#531
Conversation
…ldMeta en Easy_install easyblocks
… in Python; one issue remain with final EasyBuild installation (see easy-install.pth file in pylibdir)
Bootstrap
…th easy_install, lower verbosity
…uild with EasyBuild
…ome cases (e.g. with a Tcl (non-C) environment modules installation)
…d to lib as a Python lib dir
There was a problem hiding this comment.
is this the same distutils.sysconfig stuff?
There was a problem hiding this comment.
No, it's more complex than that actually... distutils.sysconfig only gives one or the other (lib or lib64), but apparently in some cases lib is used even though distutils.sysconfig returns a lib64 path. Hardcoding somewhere probably, so we really need to consider both.
This popped up during the EasyBuild hackathon in Cyprus when testing eb on JUROPA.
|
Fixed remarks, please reconsider. |
There was a problem hiding this comment.
hardcoded modulecmd, not all sites have this. need script (also in EB) to look for propoer command. if you're not fixing it, open an issue.
There was a problem hiding this comment.
Won't fix that now, since I need to figure out a good way to handle this.
Added a note w.r.t. the bootstrap script in #532.
|
@boegel some small remarks, nothing really blocking though. |
|
Adressed remarks, please reconsider. The v1.3 and up codepaths can't be tested now, since v1.3 is not released yet. We'll need to retest the bootstrap after the v1.3 release, I made a note of that in https://github.com/hpcugent/easybuild/wiki/Release-process. |
|
Argh, wait, testing failed, grr. Will fix that first. |
… up more recent locally installed EasyBuild packages
|
Fixed the issue I was swearing about. |
|
@boegel bootstrap script needs a version of some sort |
|
@stdweird: You mean, a constant like |
|
as opposed to 'hey i tried the bootstrap that someone mailed but it doesn't work' and then you try to figure out what version it was since the other side is sure he dowmloaded it from the correct location? |
There was a problem hiding this comment.
insert the check if this is run as root that is in main.py
… running as root (refs easybuilders#530)
|
root check works new bug in sudo env use os.getcwd() instead os.environ['PWD'] ? or save os.getcwd() in some variable first |
|
added check to disallow root, obtain global eb version in a more strict way, such that local easybuild-framework installations are ignored (i.e., use Tested on 3 or 4 totally different systems, I'd say it's good to go now... |
|
@boegel try as this |
|
@stdweird: I consider this a minor issue, because this also warrants the check in EasyBuild itself to be enhanced... Please open an issue for this, I won't fix it now. |
added script for bootstrapping EasyBuild
|
see #551 for the sudo issue |
We should set up a dedicated Jenkins test for this, so we can rely on it to keep on working in the future...