add support for loongarch64
(cherry picked from commit ff1a0f8d19866ef191ab81b6180564d1885a4121)
This commit is contained in:
parent
f84d8092ae
commit
682d9b219b
11
delve.spec
11
delve.spec
@ -4,18 +4,18 @@
|
|||||||
|
|
||||||
Name: delve
|
Name: delve
|
||||||
Version: 1.22.0
|
Version: 1.22.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A debugger for the Go programming language
|
Summary: A debugger for the Go programming language
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/go-delve/delve
|
URL: https://github.com/go-delve/delve
|
||||||
Source0: https://github.com/go-delve/delve/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/go-delve/delve/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: support-for-loongarch.patch
|
||||||
|
|
||||||
BuildRequires: gcc glibc
|
BuildRequires: gcc glibc
|
||||||
BuildRequires: golang >= 1.16
|
BuildRequires: golang >= 1.16
|
||||||
Requires: glibc
|
Requires: glibc
|
||||||
|
|
||||||
Provides: %{name} = %{version}-%{release}
|
Provides: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
delve is a debugger for the Go programming language
|
delve is a debugger for the Go programming language
|
||||||
|
|
||||||
@ -23,7 +23,9 @@ delve is a debugger for the Go programming language
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%ifarch loongarch64
|
||||||
|
%patch1 -p1
|
||||||
|
%endif
|
||||||
%build
|
%build
|
||||||
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
|
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
|
||||||
|
|
||||||
@ -44,6 +46,9 @@ rm -rf %{buildroot}
|
|||||||
%doc Documentation/*
|
%doc Documentation/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 22 2024 liyanan <liyanan61@h-partners.com> - 1.22.0-1
|
||||||
- Upgrade version to 1.22.0
|
- 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