Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
2cb033e105
!23 [sync] PR-21: Add support for riscv64
From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-08-02 02:23:26 +00:00
lrzlin
ae06b6f3ef Add support for riscv64
(cherry picked from commit 7578807b164cc0f9b18782b9b5e6616e4fb2074e)
2024-08-02 09:58:00 +08:00
openeuler-ci-bot
3da1770b88
!18 add support loongarch64
From: @zhangxianjun87 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-06-18 02:35:49 +00:00
zhangxianjun
ff1a0f8d19 add support for loongarch64 2024-06-18 10:14:11 +08:00
openeuler-ci-bot
f84d8092ae
!17 Upgrade version to 1.22.0
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-02-22 10:57:17 +00:00
lyn1001
bdf23fe1d4 Upgrade to 1.22.0 2024-02-22 15:13:47 +08:00
openeuler-ci-bot
7928318760
!14 Upgrade version to 1.21.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-09-26 09:13:41 +00:00
cherry530
9fa9fc609f Upgrade version to 1.21.0
Signed-off-by: cherry530 <707078654@qq.com>
2023-09-26 15:48:22 +08:00
openeuler-ci-bot
a53a391283
!10 Add PIE,BIND_NOW,RELRO,STRIP secure compilation options
From: @wk333 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-02-10 01:11:11 +00:00
wk333
390b50d12a Add PIE,BIND_NOW,RELRO,STRIP secure compilation options 2023-02-09 19:21:24 +08:00
4 changed files with 10421 additions and 6 deletions

33
delve.spec Executable file → Normal file
View File

@ -1,21 +1,22 @@
%global goipath github.com/go-delve/delve %global goipath github.com/go-delve/delve
%global gobuild go build -mod=vendor %global gobuild go build -mod=vendor -buildmode=pie -ldflags "-s -w -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now'"
%global debug_package %{nil} %global debug_package %{nil}
Name: delve Name: delve
Version: 1.9.1 Version: 1.22.0
Release: 1 Release: 3
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/refs/tags/v1.9.1.tar.gz 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: 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 +24,12 @@ delve is a debugger for the Go programming language
%prep %prep
%setup -q %setup -q
%ifarch loongarch64
%patch1 -p1
%endif
%ifarch riscv64
%patch -P2 -p1
%endif
%build %build
%gobuild -o _bin/dlv %{goipath}/cmd/dlv %gobuild -o _bin/dlv %{goipath}/cmd/dlv
@ -44,6 +50,21 @@ rm -rf %{buildroot}
%doc Documentation/* %doc Documentation/*
%changelog %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
* Thu Feb 22 2024 liyanan <liyanan61@h-partners.com> - 1.22.0-1
- Upgrade version to 1.22.0
* Tue Sep 26 2023 xu_ping <707078654@qq.com> - 1.21.0-1
- Upgrade version to 1.21.0
* Thu Feb 09 2023 wangkai <wangkai385@h-partners.com> - 1.9.1-2
- Add PIE,BIND_NOW,RELRO,STRIP secure compilation options
* Mon Aug 29 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 1.9.1-1 * Mon Aug 29 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 1.9.1-1
- update to v1.9.1 - update to v1.9.1

4423
support-for-loongarch.patch Normal file

File diff suppressed because it is too large Load Diff

5971
support-for-riscv.patch Normal file

File diff suppressed because it is too large Load Diff