-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AB#549 Updated README and separeted out EasyConfig.
- Loading branch information
Showing
2 changed files
with
54 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
easyblock = "Tarball" | ||
|
||
name = "cotainr" | ||
version = "2023.11.0" | ||
homepage = "https://github.com/DeiC-HPC/container-builder" | ||
description = "cotainr is a tool that makes it easy to build Singularity/Apptainer containers for certain HPC use cases." | ||
|
||
sources = [ | ||
{ | ||
"filename": "%(name)s-%(version)s.tar.gz", | ||
"download_filename": "%(version)s.tar.gz", | ||
"source_urls": ["https://github.com/DeiC-HPC/cotainr/archive/refs/tags"], | ||
} | ||
] | ||
|
||
docurls = ["https://cotainr.readthedocs.io/en/latest/"] | ||
|
||
toolchain = SYSTEM | ||
|
||
systems = """{ | ||
"lumi-g": { | ||
"base-image": "docker://rocm/dev-ubuntu-22.04:5.5.1-complete" | ||
}, | ||
"lumi-c": { | ||
"base-image": "docker://ubuntu:22.04" | ||
} | ||
}""" | ||
|
||
postinstallcmds = [ | ||
"cd %(installdir)s/ ; cat >systems.json <<EOF\n" + systems + "\nEOF\n" | ||
] | ||
|
||
sanity_check_paths = { | ||
"files": ["bin/cotainr"], | ||
"dirs": ["cotainr"], | ||
} | ||
|
||
sanity_check_commands = ["cotainr --help"] | ||
|
||
moduleclass = "tools" |