Source: golang-github-templexxx-cpu
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: loong64

Dear Maintainer,

golang-github-templexxx-cpu Missing support for loongarch architecture, please 
refer to the upstream link to submit patches. 
The upstream PR link is as follows: https://github.com/templexxx/cpu/pull/11. 
Please merge the attached patches or upgrade the software version.

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 golang-github-templexxx-cpu (0.0.9-3) unstable; urgency=medium
 .
   * Add upstream patch to fix riscv FTBFS (Closes: #1017785)
Author: Nilesh Patra <[email protected]>
Bug-Debian: https://bugs.debian.org/1017785

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-06-27

--- /dev/null
+++ golang-github-templexxx-cpu-0.0.9/cpu_loong64.go
@@ -0,0 +1,10 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package cpu
+
+const CacheLineSize = 64
+
+func doinit() {
+}
--- golang-github-templexxx-cpu-0.0.9.orig/cpu_no_init.go
+++ golang-github-templexxx-cpu-0.0.9/cpu_no_init.go
@@ -6,6 +6,7 @@
 // +build !amd64
 // +build !amd64p32
 // +build !arm64
+// +build !loong64
 // +build !ppc64
 // +build !ppc64le
 // +build !riscv64

Reply via email to