'Get the spack.architecture.Arch object that represents the
environment in which this package will be built.'

@property
def architecture(self):

    if (not self.spec.concrete):
        raise ValueError('Can    only    get    the    arch    for    concrete    package.')
    return spack.architecture.arch_for_spec(self.spec.architecture)
