Skip to contentSkip to conversation

package/openpgm: bump to version fcc46a1184df3383224c036789c360d739777496

PATCH New Fabrice Fontaine 2 participants 4 messages Mar 25, 2019 – Mar 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/openpgm: bump to version fcc46a1184df3383224c036789c360d739777496

- Remove first patch, not needed since
https://github.com/steve-o/openpgm/commit/e7528f8362a29b7156bee835938c1a8825734db5
- Remove second and third patches (already in version)
- Add hash for license file

---
 ...nerator.py-make-it-python3-compliant.patch | 42 --------------
 package/openpgm/0002-cross-compile.patch      | 38 -------------
 ...includes-to-fix-build-with-musl-libc.patch | 55 -------------------
 package/openpgm/openpgm.hash                  |  3 +-
 package/openpgm/openpgm.mk                    |  2 +-
 5 files changed, 3 insertions(+), 137 deletions(-)
 delete mode 100644 package/openpgm/0001-version_generator.py-make-it-python3-compliant.patch
 delete mode 100644 package/openpgm/0002-cross-compile.patch
 delete mode 100644 package/openpgm/0003-Rework-headers-includes-to-fix-build-with-musl-libc.patch
package/openpgm/0001-version_generator.py-make-it-python3-compliant.patch deleted +0 -42
deleted file mode 100644
index 97cff29df0..0000000000
@@ -1,42 +0,0 @@
-From e04f5c20fc1536f8e6d4faf32f2f4657d441f7c8 Mon Sep 17 00:00:00 2001
-From: Samuel Martin <[email protected]>
-Date: Mon, 14 Apr 2014 17:54:37 +0200
-Subject: [PATCH] version_generator.py: make it python3 compliant
-
-Signed-off-by: Samuel Martin <[email protected]>
----
- openpgm/pgm/version_generator.py | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/openpgm/pgm/version_generator.py b/openpgm/pgm/version_generator.py
-index 2265480..c31376f 100755
---- a/openpgm/pgm/version_generator.py
-+++ b/openpgm/pgm/version_generator.py
-@@ -1,5 +1,7 @@
- #!/usr/bin/python
- 
-+from __future__ import print_function
-+
- import os
- import platform
- import time
-@@ -8,7 +10,7 @@ build_date = time.strftime ("%Y-%m-%d")
- build_time = time.strftime ("%H:%M:%S")
- build_rev = filter (str.isdigit, "$Revision: 1369 $")
- 
--print """
-+print("""
- /* vim:ts=8:sts=8:sw=4:noai:noexpandtab
-  * 
-  * OpenPGM version.
-@@ -47,6 +49,6 @@ const char* pgm_build_revision = "%s";
- 
- 
- /* eof */
--"""%(build_date, build_time, platform.system(), platform.machine(), build_rev)
-+"""%(build_date, build_time, platform.system(), platform.machine(), build_rev))
- 
- # end of file
--- 
-1.9.2
-
package/openpgm/0002-cross-compile.patch deleted +0 -38
deleted file mode 100644
index 07a24492e5..0000000000
@@ -1,38 +0,0 @@
-configure.ac: cross-compilation fix
-
-This patch enables to configure the package when cross-compiling in a way
-recommended by Autoconf manual (see manual for version 2.69, Section 6.6
-Checking Runtime Behavior).
-
-Signed-off-by: Alexander Lukichev <[email protected]>
-
---- a/openpgm/pgm/configure.ac	2011-09-27 20:59:08.000000000 +0300
-+++ b/openpgm/pgm/configure.ac	2013-02-12 10:33:53.000000000 +0200
-@@ -272,14 +272,19 @@ uint32_t add32_with_carry (uint32_t a, u
- 	;;
- esac
- # ticket spinlock friendly: unaligned pointers & atomic ops (excl. Sun Pro)
--AC_MSG_CHECKING([for unaligned pointers])
--AC_RUN_IFELSE(
--	[AC_LANG_PROGRAM([[char* nezumi = "mouse";]],
--		[[short x = *(short*)(nezumi + 2)]])],
--	[AC_MSG_RESULT([yes])
--		pgm_unaligned_pointers=yes],
--	[AC_MSG_RESULT([no])
--		pgm_unaligned_pointers=no])
-+AC_CACHE_CHECK([if unaligned access fails], [ac_cv_lbl_unaligned_fail],
-+	[AC_RUN_IFELSE(
-+		[AC_LANG_PROGRAM([[char* nezumi = "mouse";]],
-+			[[short x = *(short*)(nezumi + 2)]])],
-+		[ac_cv_lbl_unaligned_fail=no],
-+		[ac_cv_lbl_unaligned_fail=yes],
-+		[ac_cv_lbl_unaligned_fail=yes])
-+	])
-+if test "$ac_cv_lbl_unaligned_fail" = yes; then
-+	pgm_unaligned_pointers=no
-+else
-+	pgm_unaligned_pointers=yes
-+fi
- AC_MSG_CHECKING([for intrinsic atomic ops])
- # AC_PREPROC_IFELSE not always portable
- AC_COMPILE_IFELSE(
package/openpgm/0003-Rework-headers-includes-to-fix-build-with-musl-libc.patch deleted +0 -55

55 lines not on this page · raw message

package/openpgm/openpgm.hash +2 -1
index f20e02a7fb..8eb38605c7 100644
@@ -1,2 +1,3 @@
 # Locally calculated
-sha256 ecd48fd0bcfd8351ce6dcf31b063dd8fe83d3dab41bca62a6ebd6880a88c4a69  openpgm-release-5-2-122.tar.gz
+sha256 6bfd66cf0f627b392b74938473e4acd027de6917869b04d986d591af7a34bf1d  openpgm-fcc46a1184df3383224c036789c360d739777496.tar.gz
+sha256 4a7d4ec71fa60969399fd4caad64d5a3003fee2775445f271a5a36a8ae743a29  openpgm/pgm/LICENSE
package/openpgm/openpgm.mk +1 -1
index 8c85344b68..07a3424d88 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OPENPGM_VERSION = release-5-2-122
+OPENPGM_VERSION = fcc46a1184df3383224c036789c360d739777496
 OPENPGM_SITE = $(call github,steve-o,openpgm,$(OPENPGM_VERSION))
 OPENPGM_LICENSE = LGPL-2.1+
 OPENPGM_LICENSE_FILES = openpgm/pgm/LICENSE
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/openpgm: bump to version fcc46a1184df3383224c036789c360d739777496

Hello Fabrice,

package/openpgm/openpgm.mk line 7

Quoted 2 lines · On Mon, 25 Mar 2019 18:37:50 +0100 Fabrice Fontaine…
package/openpgm/openpgm.mk +1 -1
-OPENPGM_VERSION = release-5-2-122
+OPENPGM_VERSION = fcc46a1184df3383224c036789c360d739777496

Is there a motivation to bump from a well-defined version to some random Git commit ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/openpgm: bump to version fcc46a1184df3383224c036789c360d739777496

Hello Fabrice,

Quoted 8 lines · On Mon, 25 Mar 2019 19:10:08 +0100 Thomas Petazzoni…

package/openpgm/openpgm.mk line 7

Quoted 2 lines · On Mon, 25 Mar 2019 18:37:50 +0100 Fabrice Fontaine…
package/openpgm/openpgm.mk +1 -1
-OPENPGM_VERSION = release-5-2-122
+OPENPGM_VERSION = fcc46a1184df3383224c036789c360d739777496  

Is there a motivation to bump from a well-defined version to some random Git commit ?

Any feedback on this question ?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 package/openpgm: bump to version fcc46a1184df3383224c036789c360d739777496

Hello,

Le ven. 29 mars 2019 ? 17:13, Thomas Petazzoni
<[email protected]> a ?crit :

Quoted 9 lines

Hello Fabrice,

Quoted 3 lines · On Mon, 25 Mar 2019 19:10:08 +0100 Thomas Petazzoni…

On Mon, 25 Mar 2019 18:37:50 +0100
Fabrice Fontaine <[email protected]> wrote:

Quoted 7 lines
Quoted 5 lines

package/openpgm/openpgm.mk line 7

Quoted 2 lines
package/openpgm/openpgm.mk +1 -1
-OPENPGM_VERSION = release-5-2-122
+OPENPGM_VERSION = fcc46a1184df3383224c036789c360d739777496

Is there a motivation to bump from a well-defined version to some random Git commit ?

Any feedback on this question ?

Because latest official release is 6 years old, I asked upstream about an official release: https://github.com/steve-o/openpgm/issues/62.
However, they do not have any hardware to run the test suite so I think we can postpone this patch until we got an official release (if we get one).

Quoted 6 lines

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Best Regards

Fabrice