micromamba: adding version 1.4.2 (#37594)

* micromamba: adding version 1.4.2
* micromamba: change to micromamba-1.4.2 tag artifacts
This commit is contained in:
snehring 2023-05-15 12:40:54 -05:00 committed by GitHub
parent 5ffbce275c
commit 1532c77ce6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,17 +23,14 @@ class Micromamba(CMakePackage):
maintainers("charmoniumQ")
version("1.4.2", sha256="dce034908d02d991c5e9aadeb9d01f139d027ba199aaeb1d47d543e3f24895d1")
version("1.1.0", sha256="e2392cd90221234ae8ea92b37f40829fbe36d80278056269aa1994a5efe7f530")
variant(
"linkage",
default="dynamic",
description=f"See MICROMAMBA_LINKAGE in {linkage_url}.",
values=(
"dynamic",
"static",
# "full_static",
),
values=("dynamic", conditional("static", when="@1.1.0")),
multi=False,
)
@ -60,6 +57,9 @@ class Micromamba(CMakePackage):
# https://github.com/mamba-org/mamba/blob/micromamba-1.0.0/micromamba/src/common_options.hpp#L12
depends_on("cli11@2.2:", type="link")
depends_on("zstd build_system=cmake", type="link", when="@1.4.0:")
# 1.4.2 made the static build the old "full_static" build and it needs some work.
with when("linkage=static"):
# When linkage is static, BUILD_STATIC=ON
# and then