'Get the spack.compiler.Compiler object used to build this package'

@property
def compiler(self):

    if (not self.spec.concrete):
        raise ValueError('Can    only    get    a    compiler    for    a    concrete    package.')
    return spack.compilers.compiler_for_spec(self.spec.compiler, self.spec.architecture)
