!18 add support loongarch64
From: @zhangxianjun87 Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
3da1770b88
11
delve.spec
11
delve.spec
@ -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
4423
support-for-loongarch.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user