def node_compiler(self, pkg, compiler):
    self._specs[pkg].compiler = spack.spec.CompilerSpec(compiler)
def node_compiler(self, pkg, compiler):
    self._specs[pkg].compiler = spack.spec.CompilerSpec(compiler)