Compare commits
10 Commits
27932efa8c
...
3c23066272
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c23066272 | ||
|
|
6ade4a90d7 | ||
|
|
eeedd510b9 | ||
|
|
dfd046a600 | ||
|
|
6c5a5759a2 | ||
|
|
01687d2dd9 | ||
|
|
e78993dc9c | ||
|
|
5441a8e866 | ||
|
|
7899b29b6e | ||
|
|
88f3d08dc0 |
36
README.en.md
36
README.en.md
@ -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/)
|
|
||||||
37
README.md
37
README.md
@ -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
12
add_bind_now.patch
Normal 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
33
qrupdate-gcc10.patch
Normal 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
|
||||||
|
|
||||||
@ -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
4
qrupdate.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: sourceforge
|
||||||
|
src_repo: https://sourceforge.net/projects/qrupdate/files/qrupdate
|
||||||
|
tag_prefix:
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user