Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
3c23066272
!8 【轻量级】fix changlog error
From: @peijiankang 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-06-16 07:38:50 +00:00
peijiankang
6ade4a90d7 fix changlog error 2022-06-14 17:08:06 +08:00
openeuler-ci-bot
eeedd510b9 !7 增加BIND_NOW安全编译选项
From: @gongzt
Reviewed-by: 
Signed-off-by:
2021-09-10 10:09:26 +00:00
gongzt
dfd046a600 fix bind now 2021-09-10 18:01:07 +08:00
openeuler-ci-bot
6c5a5759a2 !6 fix failure caused by GCC upgrade to GCC-10
From: @aslfjk
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
2021-08-04 07:22:19 +00:00
王勇
01687d2dd9 Fix build error caused by GCC upgrade to GCC-10 2021-08-02 14:18:25 +08:00
openeuler-ci-bot
e78993dc9c !3 Add yaml file for qrupdate
From: @hubble_zhu
Reviewed-by: @sinever
Signed-off-by: @sinever
2020-12-10 16:34:19 +08:00
hubble_zhu
5441a8e866 Add yaml file
Signed-off-by: hubble_zhu <hubble_zhu@qq.com>
2020-12-01 10:34:19 +08:00
openeuler-ci-bot
7899b29b6e !2 Package init
Merge pull request !2 from Hubble_Zhu/master
2020-05-09 23:11:52 +08:00
root
88f3d08dc0 remove md 2020-05-09 20:30:21 +08:00
6 changed files with 61 additions and 75 deletions

View File

@ -1,36 +0,0 @@
# qrupdate
#### Description
A Fortran library for fast updates of QR and Cholesky decompositions
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,37 +0,0 @@
# qrupdate
#### 介绍
A Fortran library for fast updates of QR and Cholesky decompositions
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

12
add_bind_now.patch Normal file
View File

@ -0,0 +1,12 @@
diff -Nur qrupdate-1.1.2/src/Makefile qrupdate-1.1.2.new/src/Makefile
--- qrupdate-1.1.2/src/Makefile 2010-01-19 19:35:49.000000000 +0800
+++ qrupdate-1.1.2.new/src/Makefile 2021-09-08 21:12:42.218504048 +0800
@@ -33,7 +33,7 @@
clup1up.f dlup1up.f slup1up.f zlup1up.f
OBJS = $(SRC:%.f=%.o)
-
+FFLAGS = -Wl,-z,now
lib: ../libqrupdate.a
ifeq ($(shell uname),Darwin)

33
qrupdate-gcc10.patch Normal file
View File

@ -0,0 +1,33 @@
From 9acdea766fe924c4a43a627653a6f48bc26dbe95 Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Mon, 2 Aug 2021 11:35:55 +0800
Subject: [PATCH] qrupdate-gcc10
---
test/utils.f | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/utils.f b/test/utils.f
index 5cffb51..cdc6941 100644
--- a/test/utils.f
+++ b/test/utils.f
@@ -60,14 +60,14 @@ c
subroutine crandg(m,n,x,ldx)
integer m,n,ldx
- complex x(ldx,*)
+ real x(ldx,*)
external srandg
call srandg(2*m,n,x,2*ldx)
end subroutine
subroutine zrandg(m,n,x,ldx)
integer m,n,ldx
- double complex x(ldx,*)
+ double precision x(ldx,*)
external srandg
call drandg(2*m,n,x,2*ldx)
end subroutine
--
2.23.0

View File

@ -1,11 +1,14 @@
Name: qrupdate Name: qrupdate
Version: 1.1.2 Version: 1.1.2
Release: 1 Release: 3
Summary: A Fortran library for fast updates of QR and Cholesky decompositions Summary: A Fortran library for fast updates of QR and Cholesky decompositions
License: GPLv3+ License: GPLv3+
URL: http://qrupdate.sourceforge.net/ URL: http://qrupdate.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: qrupdate-gcc10.patch
Patch1: add_bind_now.patch
BuildRequires: gcc-gfortran BuildRequires: gcc-gfortran
BuildRequires: openblas-devel BuildRequires: openblas-devel
@ -24,11 +27,12 @@ This package contains the development libraries for %{name}.
%prep %prep
%setup -q %setup -q
%autosetup -p1
# Modify install location # Modify install location
sed -i 's|$(PREFIX)/lib/|$(DESTDIR)%{_libdir}/|g' src/Makefile sed -i 's|$(PREFIX)/lib/|$(DESTDIR)%{_libdir}/|g' src/Makefile
%build %build
%make_build solib FC=gfortran FFLAGS="%{optflags} -fimplicit-none -funroll-loops" BLAS="-lopenblas" LAPACK= %make_build solib FC=gfortran FFLAGS="%{optflags} -Wl,-z,now -fimplicit-none -funroll-loops" BLAS="-lopenblas" LAPACK=
%install %install
make install-shlib LIBDIR=%{_libdir} PREFIX="%{buildroot}" make install-shlib LIBDIR=%{_libdir} PREFIX="%{buildroot}"
@ -50,5 +54,11 @@ make test FC=gfortran FFLAGS="%{optflags} -fimplicit-none -funroll-loops" BLAS="
%changelog %changelog
* Thu Sep 09 2021 gongzhengtang<gongzhengtang@huawei.com> - 1.1.2-3
- add bind now
* Mon Aug 02 2021 wangyong<wangyong187@huawei.com> - 1.1.2-2
- Fix build error caused by GCC upgrade to GCC-10
* Tue May 05 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 1.1.2-1 * Tue May 05 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 1.1.2-1
- First release. - First release.

4
qrupdate.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: sourceforge
src_repo: https://sourceforge.net/projects/qrupdate/files/qrupdate
tag_prefix:
separator: .