-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1st cleanup pass for Anaconda easyblock #1
Conversation
self.src[0]['finalpath'] = self.builddir | ||
|
||
# copy source to build dir. | ||
for source in self.src: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this remove the extract_step for all the blocks? In CondaEnv I am sometimes pulling from a remote environment, which means there is no file source. Will this have an effect if there is no source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only makes the change in the Anaconda easyblock, I haven't looked at the Conda* yet.
I think there may be some cleanup possible there too, I'll look into that later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. ;-)
This is the master branch , and I had most of my changes in the develop branch. I am sharing some functions between the three EBs, but I don't remember exactly which functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by 'this is the master branch'?
I've targeted your develop
branch using this PR, which is also the one you used for easybuilders#950
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. I don't know why I thought it was the master branch. My kids are bouncing around, and I should have sat down and been more careful about collecting my thoughts. ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hah, I know the feeling! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boegel , have you had a chance to take a look at the conda blocks?
Thanks, @boegel . I had one comment about removing the extract step, but besides that it looks great. ;-) |
nup.exe was 'temporarily removed' in WRF 3.7
@jerowe thanks for the merge, pleas take a look at jerowe/easybuild-easyconfigs#1 too |
take into account that $CC may not be set when checking value of Python's $LDSHARED
wrap value passed to OpenBLAS build options in single quotes
for easybuilders#950
@jerowe I cleaned things up a bit, major changes are:
Binary
easyblock to avoid code duplicationadjust_permissions
function rather thanchmod
This is just a 1st pass, I expect to do additional passes, mostly in relation with the
CondaCreate
andCondaEnv
easyblock that leverage parts of theAnaconda
easyblock.Please take a look at the proposed changes, let me know if you have any concerns.
If you merge this, easybuilders#950 will be updated as well.