fix netCDF and netCDF-Fortran easyblock to take into account that os.getenv('ENV_VAR') returns None when $ENV_VAR is not defined#4003
Conversation
|
@nicspalla Including changes to all those easyblocks will require too much testing, let's stick to netcdf for this PR |
…luse as empty string." This reverts commit 9f834e5.
|
In general I wonder if we should not have a framework function for this (not expecting you to do this, I will probably open an issue). There are a couple of cases that you want to cover
|
|
I did a "git revert HEAD" |
|
@boegelbot please test @ jsc-zen3 |
|
@ocaisa: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3595194807 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 3 out of 3 (total: 1 hour 13 mins 25 secs) (3 easyconfigs in total) |
os.getenv('CPPFLAGS') returns None when $CPPFLAGS is not defined
os.getenv('CPPFLAGS') returns None when $CPPFLAGS is not definedos.getenv('ENV_VAR') returns None when $ENV_VAR is not defined
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 4 out of 4 (total: 1 hour 10 mins 1 secs) (4 easyconfigs in total) |
netCDF-Fortran easyblock: None in CPPFLAGS when building with GCC
Fixes #4002