Skip to content
Snippets Groups Projects
Commit 69aacc3a authored by weijie wang's avatar weijie wang Committed by Celeste
Browse files

testing/cilium-cli: fix build on loongarch64


Signed-off-by: default avatarWeijie Wang <wangweijie@loongson.cn>
parent ab6bbd5c
No related branches found
No related tags found
1 merge request!67932testing/cilium-cli: fix build on loongarch64
Pipeline #243117 skipped
......@@ -14,6 +14,7 @@ subpackages="
"
source="$pkgname-$pkgver.tar.gz::https://github.com/cilium/cilium-cli/archive/refs/tags/v$pkgver.tar.gz
byteorder-add-s390x-support.patch
byteorder-add-loongarch-support.patch
"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
......@@ -48,4 +49,5 @@ package() {
sha512sums="
8c62877c58b9a3d855d5edc4f89a1f525ebb7ab1863df73e9106ad6fbca7536ba3b8d85e4f5a86f8fbde873b53fd23ff3389179b247f4c7aaad6bbaa18fba773 cilium-cli-0.16.6.tar.gz
872ccb44ac714420f87c476743d7be1b644c3a5c7e2a975d47720dc970c632ce82bb678421b053ebbc219d4a3b1f2c9f37aa74f3733a055b0f8c1dbe15fed23f byteorder-add-s390x-support.patch
a0fadbf5b6691eeaed63297fb3a53a35977550169885f1bf283403b453d8d23cb42b7d1b94fd8519c58e5deb8e87b1a21b074d4224881cacd2d74f3c1dd67c2e byteorder-add-loongarch-support.patch
"
diff --git a/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go b/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go
index 0fffee1..f0cd9a5 100644
--- a/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go
+++ b/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium
-//go:build 386 || amd64 || arm || arm64 || mips64le || ppc64le || riscv64 || wasm
+//go:build 386 || amd64 || arm || arm64 || mips64le || ppc64le || riscv64 || loong64 || wasm
package byteorder
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment