libfabric/disable-flatten-attr.patch
Nicolas Morey-Chaisemartin deb2507db0 Accepting request 998810 from home:marxin:branches:science:HPC
- Add disable-flatten-attr.patch that drops flatten attribute.
  Note the flatten attribute results in huge compile time hog
  in inliner (same the binary size would be huge).
- Use %make_build and enable LTO (boo#1133235).
- Synchronize used Patches.

- Add disable-flatten-attr.patch that drops flatten attribute.
  Note the flatten attribute results in huge compile time hog
  in inliner (same the binary size would be huge).
- Use %make_build and enable LTO (boo#1133235).
- Synchronize used Patches.

OBS-URL: https://build.opensuse.org/request/show/998810
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=73
2022-08-23 12:14:10 +00:00

14 lines
659 B
Diff

diff --git a/prov/opx/include/rdma/opx/fi_opx_compiler.h b/prov/opx/include/rdma/opx/fi_opx_compiler.h
index 80493bd..e216faa 100644
--- a/prov/opx/include/rdma/opx/fi_opx_compiler.h
+++ b/prov/opx/include/rdma/opx/fi_opx_compiler.h
@@ -41,7 +41,7 @@
#define L2_CACHE_LINE_SIZE (64)
#ifdef NDEBUG // No Debug, Optimizing
-#define __OPX_FORCE_INLINE_AND_FLATTEN__ static inline __attribute__ ((always_inline, flatten))
+#define __OPX_FORCE_INLINE_AND_FLATTEN__ static inline __attribute__ ((always_inline))
#define __OPX_FORCE_INLINE__ static inline __attribute__ ((always_inline))
#else // NDEBUG
#define __OPX_FORCE_INLINE_AND_FLATTEN__ static inline