There seems to be an issue with the new handling of use_pip and buildcmd. Basically, for some reason the code ends up here:
|
build_cmd = f"{self.python_cmd} setup.py {build_cmd}" |
if self.use_setup_py:
...
if not build_cmd:
build_cmd = 'build' # Default value for setup.py
build_cmd = f"{self.python_cmd} setup.py {build_cmd}"
But in the easyconfig, e.g. PyTorch-2.1.2-foss-2023a-CUDA-12.1.1.eb, 'buildcmd' is set: buildcmd = '%(python)s setup.py build' # Run the (long) build in the build step which leads to an incorrect command being parsed together and the build failing. From the log, it seems like use_pip should be correctly set in the PyTorch easyblock, but it does not appear to actually be used... Not sure what's going on here.
There seems to be an issue with the new handling of use_pip and buildcmd. Basically, for some reason the code ends up here:
easybuild-easyblocks/easybuild/easyblocks/generic/pythonpackage.py
Line 836 in e0de69f
But in the easyconfig, e.g. PyTorch-2.1.2-foss-2023a-CUDA-12.1.1.eb, 'buildcmd' is set:
buildcmd = '%(python)s setup.py build' # Run the (long) build in the build stepwhich leads to an incorrect command being parsed together and the build failing. From the log, it seems like use_pip should be correctly set in the PyTorch easyblock, but it does not appear to actually be used... Not sure what's going on here.