charliecloud: add squashfuse variant, add v0.32, v0.31 (#36404)
This commit is contained in:
parent
18c21d0c32
commit
aa99063065
@ -17,6 +17,8 @@ class Charliecloud(AutotoolsPackage):
|
|||||||
tags = ["e4s"]
|
tags = ["e4s"]
|
||||||
|
|
||||||
version("master", branch="master")
|
version("master", branch="master")
|
||||||
|
version("0.32", sha256="47826b14966c400b250c35ff28a903f8e5b5e12d9e2a2b473e0f00f4e8393c47")
|
||||||
|
version("0.31", sha256="7305c3d9010386c1b96fb95297feccb5c9d7ff82a3377d1d98eb8faef76bced9")
|
||||||
version("0.30", sha256="97d45b25c9f813d8bae79b16de49503a165bc94c05dd2166975154d9b6ac78e9")
|
version("0.30", sha256="97d45b25c9f813d8bae79b16de49503a165bc94c05dd2166975154d9b6ac78e9")
|
||||||
version(
|
version(
|
||||||
"0.29",
|
"0.29",
|
||||||
@ -74,6 +76,7 @@ class Charliecloud(AutotoolsPackage):
|
|||||||
sha256="15ce63353afe1fc6bcc10979496a54fcd5628f997cb13c827c9fc7afb795bdc5",
|
sha256="15ce63353afe1fc6bcc10979496a54fcd5628f997cb13c827c9fc7afb795bdc5",
|
||||||
)
|
)
|
||||||
variant("docs", default=False, description="Build man pages and html docs")
|
variant("docs", default=False, description="Build man pages and html docs")
|
||||||
|
variant("squashfuse", default=False, description="Build with squashfuse support")
|
||||||
|
|
||||||
# Autoconf.
|
# Autoconf.
|
||||||
depends_on("m4", type="build")
|
depends_on("m4", type="build")
|
||||||
@ -102,6 +105,10 @@ class Charliecloud(AutotoolsPackage):
|
|||||||
# See https://github.com/spack/spack/pull/16049.
|
# See https://github.com/spack/spack/pull/16049.
|
||||||
conflicts("platform=darwin", msg="This package does not build on macOS")
|
conflicts("platform=darwin", msg="This package does not build on macOS")
|
||||||
|
|
||||||
|
# Squashfuse support
|
||||||
|
depends_on("squashfuse@0.1.105:", when="+squashfuse")
|
||||||
|
depends_on("squashfs", type="run", when="+squashfuse")
|
||||||
|
|
||||||
def autoreconf(self, spec, prefix):
|
def autoreconf(self, spec, prefix):
|
||||||
which("bash")("autogen.sh")
|
which("bash")("autogen.sh")
|
||||||
|
|
||||||
@ -117,4 +124,8 @@ def configure_args(self):
|
|||||||
else:
|
else:
|
||||||
args.append("--disable-html")
|
args.append("--disable-html")
|
||||||
|
|
||||||
|
if "+squashfuse" in self.spec:
|
||||||
|
squashfuse_prefix = "{0}".format(self.spec["squashfuse"].prefix)
|
||||||
|
args.append("--with-libsquashfuse={0}".format(squashfuse_prefix))
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user