Open mflehmig opened 3 years ago
@mflehmig The correct import
statement would be
from easybuild.tools.toolchain.toolchain import DUMMY_TOOLCHAIN_NAME
Also, you should be using SYSTEM_TOOLCHAIN_NAME
instead (see https://github.com/easybuilders/easybuild-framework/pull/2877).
Hi,
we want to create a custom toolchain based on GCC (for C and C++) and NAG Fortran compiler, i.e., replacing gfortran with NAG. Thus, we followed the documentation in Compiler-toolchains and created:
easybuild.toolchains
package (under $PREFIX=/home/mflehmig/easybuild) and Python modules:Having this in place, we created and adopted a first easyconfig for a library to be build with the custom toolchain:
gccnagfor.py
isWhy does easybuild not know DUMMY_TOOLCHAIN_NAME? What are we doing wrong?
And, is there a preferred way to create a custom toolchain with replaced gfortran?
Best regards Martin