Compare commits
No commits in common. "3c230662729b9b7eb2a407090555ae0490d6506f" and "27932efa8cade752020d13a4a0d8985432910397" have entirely different histories.
3c23066272
...
27932efa8c
36
README.en.md
Normal file
36
README.en.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# 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
Normal file
37
README.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# 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/)
|
||||||
@ -1,12 +0,0 @@
|
|||||||
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)
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
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,14 +1,11 @@
|
|||||||
Name: qrupdate
|
Name: qrupdate
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 3
|
Release: 1
|
||||||
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
|
||||||
@ -27,12 +24,11 @@ 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} -Wl,-z,now -fimplicit-none -funroll-loops" BLAS="-lopenblas" LAPACK=
|
%make_build solib FC=gfortran FFLAGS="%{optflags} -fimplicit-none -funroll-loops" BLAS="-lopenblas" LAPACK=
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install-shlib LIBDIR=%{_libdir} PREFIX="%{buildroot}"
|
make install-shlib LIBDIR=%{_libdir} PREFIX="%{buildroot}"
|
||||||
@ -54,11 +50,5 @@ 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.
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: sourceforge
|
|
||||||
src_repo: https://sourceforge.net/projects/qrupdate/files/qrupdate
|
|
||||||
tag_prefix:
|
|
||||||
separator: .
|
|
||||||
Loading…
x
Reference in New Issue
Block a user