Skip to content
Snippets Groups Projects

feat(spack_operation): implement setup_spack_env functionality

1 unresolved thread
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -42,7 +42,10 @@ class SpackOperationCreateCache(SpackOperation):
if self.spack_config.gpg:
signed = True
self.create_gpg_keys()
self.add_mirror('local_cache', self.spack_config.buildcache_dir, signed=signed, autopush=signed,
self.add_mirror('local_cache',
str(self.spack_config.buildcache_dir),
signed=signed,
autopush=signed,
global_mirror=False)
self.logger.info(f'Added mirror for {self.spack_config.env.name}')
super().install_packages(jobs=jobs, signed=signed, debug=debug, fresh=True)