mstflint/Fix-gcc7-and-gcc8.patch

23 lines
706 B
Diff
Raw Normal View History

Accepting request 728694 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-5 (bsc#1136328) - Build related changes - Disabled -Werror compiler flag - Added the option to choose local system libraries if available in the machine - Enhanced python 3 compatibility - Removed python shebangs from the scripts - Fixed multiple rpmbuild issues - Added --enable-all-static configure flag that allows compilation of static executables, when the the option is supported by the compiler - All python scripts were aligned to unix encoding - Fixed multiple builds and compilation issues - mstprivhost tool - Added mstprivhost tool to set host privilege configurations - mstflint tool - Added missing Rom info attribute for legacy FW qq query - Fixed query timeout when device is locked - Renamed former --next_boot_fw_ver to --flashed_version flag. This flag queries the flashed version. - Note that the previous flag is supported to keep compatibility. - Fixed an issue with FW upgrade on ConnectX-5 EN - mstregdup tool - Fixed segfault - mstconfig - Added new params: - mstfwtrace - Added fwtracer: in this release, this tool supports secure FW flow only - libibmad - Added support for libibmad 12 in addition to 5 - Python tools - Fixed Python wrapper to work properly in multiple OSes and multiple Python versions - Added adb generic tools - Added mstreg tool: To enable this option please use "--enable-adb-genaric-tools" flag OBS-URL: https://build.opensuse.org/request/show/728694 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=35
2019-09-06 09:06:57 +02:00
commit e325ecf9ecfabdb5ad5ad96f0ac025a2828b2dd3
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Wed Aug 9 17:31:57 2017 +0200
Fix gcc7 and gcc8
Fix compilation errors for GCC7 and GCC8
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git configure.ac configure.ac
Accepting request 728694 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-5 (bsc#1136328) - Build related changes - Disabled -Werror compiler flag - Added the option to choose local system libraries if available in the machine - Enhanced python 3 compatibility - Removed python shebangs from the scripts - Fixed multiple rpmbuild issues - Added --enable-all-static configure flag that allows compilation of static executables, when the the option is supported by the compiler - All python scripts were aligned to unix encoding - Fixed multiple builds and compilation issues - mstprivhost tool - Added mstprivhost tool to set host privilege configurations - mstflint tool - Added missing Rom info attribute for legacy FW qq query - Fixed query timeout when device is locked - Renamed former --next_boot_fw_ver to --flashed_version flag. This flag queries the flashed version. - Note that the previous flag is supported to keep compatibility. - Fixed an issue with FW upgrade on ConnectX-5 EN - mstregdup tool - Fixed segfault - mstconfig - Added new params: - mstfwtrace - Added fwtracer: in this release, this tool supports secure FW flow only - libibmad - Added support for libibmad 12 in addition to 5 - Python tools - Fixed Python wrapper to work properly in multiple OSes and multiple Python versions - Added adb generic tools - Added mstreg tool: To enable this option please use "--enable-adb-genaric-tools" flag OBS-URL: https://build.opensuse.org/request/show/728694 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=35
2019-09-06 09:06:57 +02:00
index 8840a41d8169..62aa0a738c2d 100644
--- configure.ac
+++ configure.ac
Accepting request 728694 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-5 (bsc#1136328) - Build related changes - Disabled -Werror compiler flag - Added the option to choose local system libraries if available in the machine - Enhanced python 3 compatibility - Removed python shebangs from the scripts - Fixed multiple rpmbuild issues - Added --enable-all-static configure flag that allows compilation of static executables, when the the option is supported by the compiler - All python scripts were aligned to unix encoding - Fixed multiple builds and compilation issues - mstprivhost tool - Added mstprivhost tool to set host privilege configurations - mstflint tool - Added missing Rom info attribute for legacy FW qq query - Fixed query timeout when device is locked - Renamed former --next_boot_fw_ver to --flashed_version flag. This flag queries the flashed version. - Note that the previous flag is supported to keep compatibility. - Fixed an issue with FW upgrade on ConnectX-5 EN - mstregdup tool - Fixed segfault - mstconfig - Added new params: - mstfwtrace - Added fwtracer: in this release, this tool supports secure FW flow only - libibmad - Added support for libibmad 12 in addition to 5 - Python tools - Fixed Python wrapper to work properly in multiple OSes and multiple Python versions - Added adb generic tools - Added mstreg tool: To enable this option please use "--enable-adb-genaric-tools" flag OBS-URL: https://build.opensuse.org/request/show/728694 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=35
2019-09-06 09:06:57 +02:00
@@ -246,6 +246,7 @@ AC_SEARCH_LIBS([sqlite3_initialize], [sqlite3], [SQLITE_SYSTEM_AVAILABLE="yes"],
AM_CONDITIONAL([USE_LOCAL_SQLITE], [test "$SQLITE_SYSTEM_AVAILABLE" = no])
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
CFLAGS="$CFLAGS -DMST_UL"
+CPPFLAGS="$CPPFLAGS -DMST_UL"
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
CXXFLAGS="$CXXFLAGS -DMST_UL"
Accepting request 728694 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-5 (bsc#1136328) - Build related changes - Disabled -Werror compiler flag - Added the option to choose local system libraries if available in the machine - Enhanced python 3 compatibility - Removed python shebangs from the scripts - Fixed multiple rpmbuild issues - Added --enable-all-static configure flag that allows compilation of static executables, when the the option is supported by the compiler - All python scripts were aligned to unix encoding - Fixed multiple builds and compilation issues - mstprivhost tool - Added mstprivhost tool to set host privilege configurations - mstflint tool - Added missing Rom info attribute for legacy FW qq query - Fixed query timeout when device is locked - Renamed former --next_boot_fw_ver to --flashed_version flag. This flag queries the flashed version. - Note that the previous flag is supported to keep compatibility. - Fixed an issue with FW upgrade on ConnectX-5 EN - mstregdup tool - Fixed segfault - mstconfig - Added new params: - mstfwtrace - Added fwtracer: in this release, this tool supports secure FW flow only - libibmad - Added support for libibmad 12 in addition to 5 - Python tools - Fixed Python wrapper to work properly in multiple OSes and multiple Python versions - Added adb generic tools - Added mstreg tool: To enable this option please use "--enable-adb-genaric-tools" flag OBS-URL: https://build.opensuse.org/request/show/728694 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=35
2019-09-06 09:06:57 +02:00
AM_CFLAGS="-Wall"