- no-static.patch: do not link statically
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=177
This commit is contained in:
parent
f5d2341b57
commit
b5d6abd000
11
no-static.patch
Normal file
11
no-static.patch
Normal file
@ -0,0 +1,11 @@
|
||||
Index: OpenBLAS-0.3.27/Makefile.riscv64
|
||||
===================================================================
|
||||
--- OpenBLAS-0.3.27.orig/Makefile.riscv64
|
||||
+++ OpenBLAS-0.3.27/Makefile.riscv64
|
||||
@@ -16,5 +16,5 @@ FCOMMON_OPT += -march=rv64imafdcv -mabi=
|
||||
endif
|
||||
ifeq ($(CORE), RISCV64_GENERIC)
|
||||
CCOMMON_OPT += -march=rv64imafdc -mabi=lp64d
|
||||
-FCOMMON_OPT += -march=rv64imafdc -mabi=lp64d -static
|
||||
+FCOMMON_OPT += -march=rv64imafdc -mabi=lp64d
|
||||
endif
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 07:32:23 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- no-static.patch: do not link statically
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 9 07:07:51 UTC 2024 - Egbert Eich <eich@suse.com>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package openblas
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
@ -228,6 +228,7 @@ Patch101: Link-library-with-z-noexecstack.patch
|
||||
# PATCH port
|
||||
Patch102: Handle-s390-correctly.patch
|
||||
Patch103: openblas-ppc64be_up2_p8.patch
|
||||
Patch104: no-static.patch
|
||||
|
||||
#BuildRequires: cmake
|
||||
BuildRequires: memory-constraints
|
||||
@ -238,7 +239,7 @@ BuildRequires: gcc%{?cc_v}-fortran
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun):update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
%else
|
||||
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
|
||||
BuildRequires: lua-lmod
|
||||
@ -255,7 +256,7 @@ Group: System/Libraries
|
||||
%if %{without hpc}
|
||||
Requires(post): update-alternatives
|
||||
Requires(post): coreutils
|
||||
Requires(preun):update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
%if "%flavor" == "serial"
|
||||
Obsoletes: lib%{pname}%{so_v} < %{version}
|
||||
Provides: lib%{pname}%{so_v} = %{version}
|
||||
|
Loading…
x
Reference in New Issue
Block a user