summaryrefslogtreecommitdiff
path: root/packaging/lapack.spec
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2023-12-19 11:44:18 +0900
committerTae-Young Chung <ty83.chung@samsung.com>2023-12-19 12:05:07 +0900
commitf962d5b88cabc5c182a15ceb0d6a13b20cee5c3c (patch)
tree91220e2393520b3feeeb1498ad0997e3b4efe70b /packaging/lapack.spec
parent7417d8ccded593c7131fd3c2079b0270e4696755 (diff)
downloadlapack-accepted/tizen_unified.tar.gz
lapack-accepted/tizen_unified.tar.bz2
lapack-accepted/tizen_unified.zip
riscv64, armv7l, i586, x86_64 with gcc 13.1.0 in Riscv repository and aarch64, armv7l, i586, x86_64 with gcc 9.2.0 in Unified repository should be built without build error. With a previous commit, armv7l, i586, x86_64 in Riscv repo. got build failed. So, remove %ifarch ~ %endif from a spec file. Instead, add a patch checking gcc version and then applying the option if the version is larger than 10.0.0. Change-Id: Ie9d1dc7421eb91d116077b7abe6520d05af62836 Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Diffstat (limited to 'packaging/lapack.spec')
-rw-r--r--packaging/lapack.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/lapack.spec b/packaging/lapack.spec
index 000a0012..326e19d5 100644
--- a/packaging/lapack.spec
+++ b/packaging/lapack.spec
@@ -6,6 +6,7 @@ License: Public Domain, Freeware
Group: Development/Libraries/Parallel
Source0: %{name}-%{version}.tar.bz2
Url: http://www.netlib.org/lapack/
+Source1001: 1001-TIZEN-LAPACK-GCC13.patch
BuildRequires: cmake
BuildRequires: gcc-fortran
@@ -116,10 +117,10 @@ linear algebra.
%prep
%setup -q
+cp %{SOURCE1001} .
+patch -p1 < %{SOURCE1001}
+
%build
-%ifarch riscv64
-export FFLAGS="$FFLAGS -fallow-argument-mismatch"
-%endif
mkdir -p build
cd build