SHA256
1
0
forked from pool/opa-ff
opa-ff/workaround-bsc-1172755.patch
Nicolas Morey-Chaisemartin 7b53f47a5b Accepting request 813052 from home:NMoreyChaisemartin:branches:science:HPC
- Update to v10.10.1.0.35
  - No changelog available
- Add workaround-bsc-1172755.patch to fix compilation with LTO enabled.

OBS-URL: https://build.opensuse.org/request/show/813052
OBS-URL: https://build.opensuse.org/package/show/science:HPC/opa-ff?expand=0&rev=55
2020-06-09 21:03:52 +00:00

25 lines
879 B
Diff

commit c477cf2496c1ec83a63a28629a4fdf0c2a10d458
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date: Tue Jun 9 22:57:52 2020 +0200
workaround bsc 1172755
GCC bug causes compilation to fail with LTO enabled.
Workaround the issue by changing mcmodel
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
diff --git IbaTools/stream/Makefile IbaTools/stream/Makefile
index 7ed670d19fee..6eb0a334c8a9 100644
--- IbaTools/stream/Makefile
+++ IbaTools/stream/Makefile
@@ -110,7 +110,7 @@ INCLUDE_SUBDIR =
# (in addition to LOCALDEPLIBS)
#LOCAL_LIB_DIRS = User library directories for libpaths [Empty]
-CLOCAL = $(CPIE) -mcmodel=medium -DSTREAM_ARRAY_SIZE=353783808 -fopenmp
+CLOCAL = $(CPIE) -mcmodel=large -DSTREAM_ARRAY_SIZE=353783808 -fopenmp
LDLOCAL = -fopenmp
# Include Make Rules definitions and rules