!18 add support loongarch64

From: @zhangxianjun87 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-06-18 02:35:49 +00:00 committed by Gitee
commit 3da1770b88
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4431 additions and 3 deletions

View File

@ -4,18 +4,18 @@
Name: delve
Version: 1.22.0
Release: 1
Release: 2
Summary: A debugger for the Go programming language
License: MIT
URL: https://github.com/go-delve/delve
Source0: https://github.com/go-delve/delve/archive/v%{version}/%{name}-%{version}.tar.gz
Patch1: support-for-loongarch.patch
BuildRequires: gcc glibc
BuildRequires: golang >= 1.16
Requires: glibc
Provides: %{name} = %{version}-%{release}
%description
delve is a debugger for the Go programming language
@ -23,7 +23,9 @@ delve is a debugger for the Go programming language
%prep
%setup -q
%ifarch loongarch64
%patch1 -p1
%endif
%build
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
@ -44,6 +46,9 @@ rm -rf %{buildroot}
%doc Documentation/*
%changelog
* Sat Jun 8 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 1.22.0-2
- add loongarch64 support
* Thu Feb 22 2024 liyanan <liyanan61@h-partners.com> - 1.22.0-1
- Upgrade version to 1.22.0

4423
support-for-loongarch.patch Normal file

File diff suppressed because it is too large Load Diff