2024-04-13 18:04:55 +02:00
|
|
|
foo = select(variant("VARIANT"), {
|
|
|
|
"x86": "my_x86",
|
|
|
|
"x86_64": [
|
|
|
|
"x86",
|
|
|
|
"x64",
|
|
|
|
],
|
|
|
|
"arm": {
|
|
|
|
some: "aarch",
|
|
|
|
value: "aarch64",
|
|
|
|
},
|
|
|
|
default: 0,
|
|
|
|
})
|
|
|
|
|
|
|
|
foo = select(
|
|
|
|
variant("VARIANT"),
|
|
|
|
{
|
|
|
|
"x86": "my_x86",
|
|
|
|
"x86_64": [
|
|
|
|
"x86",
|
|
|
|
"x64",
|
|
|
|
],
|
|
|
|
"arm": {
|
|
|
|
some: "aarch",
|
|
|
|
value: "aarch64",
|
|
|
|
},
|
|
|
|
default: 0,
|
|
|
|
}
|
|
|
|
)
|
2024-04-23 18:36:11 +02:00
|
|
|
|
|
|
|
foo = select((
|
|
|
|
arch(),
|
|
|
|
os(),
|
|
|
|
), {
|
|
|
|
(default, default): [],
|
|
|
|
})
|
|
|
|
|
|
|
|
foo = select(
|
|
|
|
(arch(), os()),
|
|
|
|
{
|
|
|
|
(default, default): [],
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
// We're really getting into more and more unlikely choices here...
|
|
|
|
foo = select(
|
|
|
|
(
|
|
|
|
arch(),
|
|
|
|
os(),
|
|
|
|
),
|
|
|
|
{
|
|
|
|
(default, default): [],
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
foo = select((arch(), os()), {
|
|
|
|
(
|
|
|
|
default,
|
|
|
|
default,
|
|
|
|
): [],
|
|
|
|
})
|