!10 first check if Valgrind supports the build architecture
From: @yinist Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
ac5c97858f
12
R.spec
12
R.spec
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: R
|
Name: R
|
||||||
Version: %{major_version}.%{minor_version}.%{patch_version}
|
Version: %{major_version}.%{minor_version}.%{patch_version}
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A language for data analysis and graphics
|
Summary: A language for data analysis and graphics
|
||||||
License: AGPL-3.0 and Artistic-2.0 and BSD-2-Clause and BSD-3-Clause and GPL-2.0 and GPL-3.0 and LGPL-2.1 and LGPL-3.0 and MIT and CC-BY-SA-4.0
|
License: AGPL-3.0 and Artistic-2.0 and BSD-2-Clause and BSD-3-Clause and GPL-2.0 and GPL-3.0 and LGPL-2.1 and LGPL-3.0 and MIT and CC-BY-SA-4.0
|
||||||
URL: http://www.r-project.org
|
URL: http://www.r-project.org
|
||||||
@ -16,7 +16,10 @@ Source0: https://cran.r-project.org/src/base/R-4/R-%{version}.tar.gz
|
|||||||
Patch0: allow-libcurl-v8.patch
|
Patch0: allow-libcurl-v8.patch
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran gcc-c++ texinfo-tex libpng-devel libjpeg-devel readline-devel libicu-devel less tcl-devel
|
BuildRequires: gcc-gfortran gcc-c++ texinfo-tex libpng-devel libjpeg-devel readline-devel libicu-devel less tcl-devel
|
||||||
BuildRequires: ncurses-devel pcre-devel zlib-devel pcre2-devel libcurl-devel valgrind-devel java-openjdk tk-devel
|
BuildRequires: ncurses-devel pcre-devel zlib-devel pcre2-devel libcurl-devel java-openjdk tk-devel
|
||||||
|
%ifarch "%{valgrind_arches}"
|
||||||
|
BuildRequires: valgrind-devel
|
||||||
|
%endif
|
||||||
BuildRequires: tre-devel autoconf automake libtool openblas-devel pango-devel xz-devel libSM-devel libX11-devel libICE-devel
|
BuildRequires: tre-devel autoconf automake libtool openblas-devel pango-devel xz-devel libSM-devel libX11-devel libICE-devel
|
||||||
BuildRequires: libXt-devel bzip2-devel libXmu-devel cairo-devel libtiff-devel tex(inconsolata.sty) tex(upquote.sty) tex(latex)
|
BuildRequires: libXt-devel bzip2-devel libXmu-devel cairo-devel libtiff-devel tex(inconsolata.sty) tex(upquote.sty) tex(latex)
|
||||||
|
|
||||||
@ -237,7 +240,9 @@ export FCFLAGS="%{optflags}"
|
|||||||
|
|
||||||
(%configure \
|
(%configure \
|
||||||
--with-system-tre \
|
--with-system-tre \
|
||||||
|
%ifarch "%{valgrind_arches}"
|
||||||
--with-system-valgrind-headers \
|
--with-system-valgrind-headers \
|
||||||
|
%endif
|
||||||
--with-lapack \
|
--with-lapack \
|
||||||
--with-blas \
|
--with-blas \
|
||||||
--with-tcl-config=%{_libdir}/tclConfig.sh \
|
--with-tcl-config=%{_libdir}/tclConfig.sh \
|
||||||
@ -735,6 +740,9 @@ R CMD javareconf \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 3 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 4.0.5-4
|
||||||
|
- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture
|
||||||
|
|
||||||
* Mon Apr 8 2024 laokz <zhangkai@iscas.ac.cn> - 4.0.5-3
|
* Mon Apr 8 2024 laokz <zhangkai@iscas.ac.cn> - 4.0.5-3
|
||||||
- riscv64: disable %check due to NaN issue
|
- riscv64: disable %check due to NaN issue
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user