In case of submake call nocc is not changing submake root working directory. This leads to wrong place of obj files generated with submake.
How to reproduce:
# Configure nocc env vars to access nocc cluster
git clone -b v0.3.27 https://github.com/OpenMathLib/OpenBLAS.git
DYNAMIC_ARCH=1 make CC="nocc ${CC}" CXX="nocc ${CXX}" libs
In case of submake call nocc is not changing submake root working directory. This leads to wrong place of obj files generated with submake.
How to reproduce:
# Configure nocc env vars to access nocc clustergit clone -b v0.3.27 https://github.com/OpenMathLib/OpenBLAS.gitDYNAMIC_ARCH=1 make CC="nocc ${CC}" CXX="nocc ${CXX}" libs