From 4fe4e714f2e81d8c9fbb962f8fe7f2cda0f148564ccf87960220fb8230b84c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Mon, 25 Mar 2024 09:27:57 +0000 Subject: [PATCH] - Allow non static sci Build sci non static for ppc64le which doesn't support the rust static target yet OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=5 --- flake-pilot.changes | 8 ++++++++ flake-pilot.spec | 8 ++++++++ flake-pilot.tar.gz | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/flake-pilot.changes b/flake-pilot.changes index e46ba47..4d32933 100644 --- a/flake-pilot.changes +++ b/flake-pilot.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 25 10:26:49 CET 2024 - Marcus Schäfer + +- Allow non static sci + + Build sci non static for ppc64le which doesn't support + the rust static target yet + ------------------------------------------------------------------- Mon Mar 25 09:45:27 CET 2024 - Marcus Schäfer diff --git a/flake-pilot.spec b/flake-pilot.spec index 8bb3594..5e38dd0 100644 --- a/flake-pilot.spec +++ b/flake-pilot.spec @@ -118,9 +118,17 @@ Guest VM tools to help with firecracker workloads mkdir -p .cargo cp %{SOURCE1} .cargo/config make build +%ifnarch ppc64le +make compile_sci_static +%endif %install make DESTDIR=%{buildroot}/ install +%ifnarch ppc64le +make DESTDIR=%{buildroot}/ install_sci_static +%else +make DESTDIR=%{buildroot}/ install_sci +%endif chmod 777 %{buildroot}/usr/share/flakes mkdir -p %{buildroot}/overlayroot diff --git a/flake-pilot.tar.gz b/flake-pilot.tar.gz index 59547ad..8b29664 100644 --- a/flake-pilot.tar.gz +++ b/flake-pilot.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa10fcd5602adb2536e456e8232f8fc5a3262b6bc96181b476aaabaff46dadc0 -size 19291265 +oid sha256:e3d4e50181a76b75f3373e8ca2bc2bdce1741069354d889d27b1c9060c9f3e61 +size 19282218