Skip to content

Comments

flake: add support for alternative architectures#2132

Open
sespiros wants to merge 6 commits intomainfrom
sse/darwin-support-flake
Open

flake: add support for alternative architectures#2132
sespiros wants to merge 6 commits intomainfrom
sse/darwin-support-flake

Conversation

@sespiros
Copy link
Contributor

contrast is currently building correctly only for the x86_64-linux architecture because the only confidential computing runtime architecture it supports is x86_64-linux. Several of the client-side tools do not have any strict requirement to run on x86_64-linux though, which means that their building process can be decoupled from x86_64-linux dependencies.

We achieve this by splitting the package building logic to differentiate between runtimePkgs (packages that build the contrast runtime) and native pkgs (packages that build client-side tooling).

resourcegen,cli and e2e are tools meant to run on the operator's side
while coordinator and initializer are binaries that run on the cluster.
As we want to decouple the contrast binaries from the runtime binaries,
it makes sense to split them so that they can be built separately.

Signed-off-by: Spyros Seimenis <sse@edgeless.systems>
contrast is currently building correctly only for the x86_64-linux
architecture because the only confidential computing runtime
architecture it supports is x86_64-linux. Several of the client-side
tools do not have any strict requirement to run on x86_64-linux though,
which means that their building process can be decoupled from
x86_64-linux dependencies.

We achieve this by splitting the package building logic to differentiate
between runtimePkgs (packages that build the contrast runtime) and
native pkgs (packages that build client-side tooling).

Signed-off-by: Spyros Seimenis <sse@edgeless.systems>
add multi-architecture support to containers.* targets

Signed-off-by: Spyros Seimenis <sse@edgeless.systems>
add multi-architecture support to contrast.* targets

Signed-off-by: Spyros Seimenis <sse@edgeless.systems>
add multi-architecture support to scripts.* targets

Signed-off-by: Spyros Seimenis <sse@edgeless.systems>
@sespiros sespiros added the changelog PRs that should be part of the release notes label Jan 26, 2026
@sespiros sespiros changed the base branch from main to sse/split-contrast-cli January 30, 2026 09:46
@sespiros sespiros marked this pull request as ready for review January 30, 2026 09:48
@sespiros sespiros requested a review from katexochen as a code owner January 30, 2026 09:48
@sespiros sespiros force-pushed the sse/split-contrast-cli branch 5 times, most recently from 24e8aa9 to e3fd70f Compare February 5, 2026 12:15
Base automatically changed from sse/split-contrast-cli to main February 5, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog PRs that should be part of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant