Add support for riscv64
(cherry picked from commit 7578807b164cc0f9b18782b9b5e6616e4fb2074e)
This commit is contained in:
parent
3da1770b88
commit
ae06b6f3ef
@ -4,12 +4,13 @@
|
||||
|
||||
Name: delve
|
||||
Version: 1.22.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
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
|
||||
Patch2: support-for-riscv.patch
|
||||
|
||||
BuildRequires: gcc glibc
|
||||
BuildRequires: golang >= 1.16
|
||||
@ -26,6 +27,9 @@ delve is a debugger for the Go programming language
|
||||
%ifarch loongarch64
|
||||
%patch1 -p1
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
%patch -P2 -p1
|
||||
%endif
|
||||
%build
|
||||
%gobuild -o _bin/dlv %{goipath}/cmd/dlv
|
||||
|
||||
@ -46,6 +50,9 @@ rm -rf %{buildroot}
|
||||
%doc Documentation/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 01 2024 Lin Runze <lrzlin@163.com> - 1.22.0-3
|
||||
- add riscv64 support
|
||||
|
||||
* Sat Jun 8 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 1.22.0-2
|
||||
- add loongarch64 support
|
||||
|
||||
|
||||
5971
support-for-riscv.patch
Normal file
5971
support-for-riscv.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user