@property
def common_config_args(self):
    spec = self.spec
    cppflags = []
    cppflags.append('-DLBANN_SET_EL_RNG')
    args = []
    args.extend([('-DCMAKE_CXX_FLAGS=%s' % ' '.join(cppflags)), '-DLBANN_VERSION=spack'])
    if ('+numpy' in spec):
        args.append('-DCNPY_DIR={0}'.format(spec['cnpy'].prefix))
    return args
@property
def common_config_args(self):
    spec = self.spec
    cppflags = []
    cppflags.append('-DLBANN_SET_EL_RNG')
    args = []
    args.extend([('-DCMAKE_CXX_FLAGS=%s' % ' '.join(cppflags)), '-DLBANN_VERSION=spack'])
    if ('+numpy' in spec):
        args.append('-DCNPY_DIR={0}'.format(spec['cnpy'].prefix))
    return args