forked from pool/flake-pilot
- 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
This commit is contained in:
parent
f67ae2667d
commit
4fe4e714f2
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 25 10:26:49 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||||
|
|
||||||
|
- 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 <marcus.schaefer@gmail.com>
|
Mon Mar 25 09:45:27 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||||
|
|
||||||
|
@ -118,9 +118,17 @@ Guest VM tools to help with firecracker workloads
|
|||||||
mkdir -p .cargo
|
mkdir -p .cargo
|
||||||
cp %{SOURCE1} .cargo/config
|
cp %{SOURCE1} .cargo/config
|
||||||
make build
|
make build
|
||||||
|
%ifnarch ppc64le
|
||||||
|
make compile_sci_static
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot}/ 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
|
chmod 777 %{buildroot}/usr/share/flakes
|
||||||
|
|
||||||
mkdir -p %{buildroot}/overlayroot
|
mkdir -p %{buildroot}/overlayroot
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:aa10fcd5602adb2536e456e8232f8fc5a3262b6bc96181b476aaabaff46dadc0
|
oid sha256:e3d4e50181a76b75f3373e8ca2bc2bdce1741069354d889d27b1c9060c9f3e61
|
||||||
size 19291265
|
size 19282218
|
||||||
|
Loading…
x
Reference in New Issue
Block a user