Skip to contentSkip to conversation

luajit: Upgrade to 2.1.0-beta3

PATCH Superseded Leo Yan 2 participants 5 messages Feb 23, 2020 – Feb 24, 2020

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Leo Yan

author
#0 lore raw

PATCH v2 1/1 luajit: Upgrade to 2.1.0-beta3

Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.

---
 .../luajit/{luajit_2.0.5.bb => luajit_git.bb}        | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (88%)
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +4 -8
similarity index 88%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
rename to meta-oe/recipes-devtools/luajit/luajit_git.bb
index 93128dda8..afa60dba7 100644
@@ -3,12 +3,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
 HOMEPAGE = "http://luajit.org"
 
-PV .= "+git${SRCPV}"
-SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
-SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
-           file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
-           file://clang.patch \
-"
+PV = "2.1.0+${SRCPV}"
+SRCREV = "8271c643c21d1b2f344e339f559f2de6f3663191"
+SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1"
 
 S = "${WORKDIR}/git"
 
@@ -90,8 +87,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
 "
 FILES_luajit-common = "${datadir}/${BPN}-${PV}"
 
-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release
-COMPATIBLE_HOST_aarch64 = "null"
+# mips64/ppc/ppc64/riscv64 is not supported in this release
 COMPATIBLE_HOST_mipsarchn32 = "null"
 COMPATIBLE_HOST_mipsarchn64 = "null"
 COMPATIBLE_HOST_powerpc = "null"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 17 lines · Leo Yan

Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.

---
 .../luajit/{luajit_2.0.5.bb => luajit_git.bb}        | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (88%)
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +0 -0
similarity index 88%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
rename to meta-oe/recipes-devtools/luajit/luajit_git.bb
index 93128dda8..afa60dba7 100644

meta-oe/recipes-devtools/luajit/luajit_git.bb LICENSE = "MIT" · line 6

Quoted 10 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -6
@@ -3,12 +3,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
 HOMEPAGE = "http://luajit.org"
 
-PV .= "+git${SRCPV}"
-SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
-SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
-           file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
-           file://clang.patch \
-"
+PV = "2.1.0+${SRCPV}"

I think we will endup in trouble when 2.1.0 releases, so perhaps we should leave room for sorting 2.1.0 higher than whatever we do now perhaps PV = ""2.0.5+2.1.0-beta3" would be workable.

Quoted 16 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +3 -2
+SRCREV = "8271c643c21d1b2f344e339f559f2de6f3663191"
+SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1"
 
 S = "${WORKDIR}/git"
 
@@ -90,8 +87,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
 "
 FILES_luajit-common = "${datadir}/${BPN}-${PV}"
 
-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release
-COMPATIBLE_HOST_aarch64 = "null"
+# mips64/ppc/ppc64/riscv64 is not supported in this release
 COMPATIBLE_HOST_mipsarchn32 = "null"
 COMPATIBLE_HOST_mipsarchn64 = "null"
 COMPATIBLE_HOST_powerpc = "null"
author
#2 lore raw

Hi Khem,

Quoted 21 lines · Khem Raj
Quoted 20 lines · Leo Yan

Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.

---
 .../luajit/{luajit_2.0.5.bb => luajit_git.bb}        | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb => luajit_git.bb} (88%)
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +0 -0
similarity index 88%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb
rename to meta-oe/recipes-devtools/luajit/luajit_git.bb
index 93128dda8..afa60dba7 100644
@@ -3,12 +3,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"
 HOMEPAGE = "http://luajit.org"
 
Quoted 11 lines

meta-oe/recipes-devtools/luajit/luajit_git.bb LICENSE = "MIT" · line 6

Quoted 7 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -6
-PV .= "+git${SRCPV}"
-SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
-SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
-           file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
-           file://clang.patch \
-"
+PV = "2.1.0+${SRCPV}"

I think we will endup in trouble when 2.1.0 releases, so perhaps we should leave room for sorting 2.1.0 higher than whatever we do now perhaps PV = ""2.0.5+2.1.0-beta3" would be workable.

This suggestion is fine for me. But I have some concern for this since the naming might introduce confusion when later someone reads this recipe, which combines two different versions together. So seems to me PV = "2.1.0-beta3" is more directive, and it can reflect the exact version for the building. How about you think for this?

In next version, I will remove the two patches from 'luajit/luajit' folder. Also please let me know if you have any concern for this.

Thanks for reviewing and suggestions!
Leo

Quoted 16 lines
Quoted 16 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +3 -2
+SRCREV = "8271c643c21d1b2f344e339f559f2de6f3663191"
+SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1"
 
 S = "${WORKDIR}/git"
 
@@ -90,8 +87,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
 "
 FILES_luajit-common = "${datadir}/${BPN}-${PV}"
 
-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release
-COMPATIBLE_HOST_aarch64 = "null"
+# mips64/ppc/ppc64/riscv64 is not supported in this release
 COMPATIBLE_HOST_mipsarchn32 = "null"
 COMPATIBLE_HOST_mipsarchn64 = "null"
 COMPATIBLE_HOST_powerpc = "null"
#3 lore raw
Quoted 41 lines · Leo Yan

Hi Khem,

Quoted 7 lines · Khem Raj
Quoted 6 lines · Leo Yan

Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3.

---
 .../luajit/{luajit_2.0.5.bb => luajit_git.bb}        | 12

++++--------

Quoted 2 lines
Quoted 2 lines
 1 file changed, 4 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-devtools/luajit/{luajit_2.0.5.bb =>

luajit_git.bb} (88%)

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-devtools/luajit/luajit_git.bb

Quoted 8 lines

meta-oe/recipes-devtools/luajit/luajit_git.bb LICENSE = "MIT" · line 3

Quoted 8 lines

similarity index 88%
rename from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb rename to meta-oe/recipes-devtools/luajit/luajit_git.bb index 93128dda8..afa60dba7 100644

meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +0 -0
@@ -3,12 +3,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM =

"file://COPYRIGHT;md5=10a96c93403affcc34765f4c2612bc22"

Quoted 6 lines

meta-oe/recipes-devtools/luajit/luajit_git.bb LICENSE = "MIT"

Quoted 6 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +0 -4
 HOMEPAGE = "http://luajit.org"
 
-PV .= "+git${SRCPV}"
-SRCREV = "02b521981a1ab919ff2cd4d9bcaee80baf77dce2"
-SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http \
-

file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \

Quoted 7 lines

meta-oe/recipes-devtools/luajit/luajit_git.bb LICENSE = "MIT" · line 6

Quoted 3 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -2
-           file://clang.patch \
-"
+PV = "2.1.0+${SRCPV}"

I think we will endup in trouble when 2.1.0 releases, so perhaps we should leave room for sorting 2.1.0 higher than whatever we do now perhaps PV = ""2.0.5+2.1.0-beta3" would be workable.

Quoted 6 lines

This suggestion is fine for me. But I have some concern for this since the naming might introduce confusion when later someone reads this recipe, which combines two different versions together. So seems to me PV = "2.1.0-beta3" is more directive, and it can reflect the exact version for the building. How about you think for this?

The version scheme has a purpose and that is to track package feeds and they can not go backward for obvious reasons

The suggestion I had for you is commonly used in oe while it might not look simple and clean it serves the purpose

Quoted 24 lines

In next version, I will remove the two patches from 'luajit/luajit' folder. Also please let me know if you have any concern for this.

Thanks for reviewing and suggestions!
Leo

Quoted 2 lines

meta-oe/recipes-devtools/luajit/luajit_git.bb LICENSE = "MIT" · line 8

Quoted 2 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +2 -0
+SRCREV = "8271c643c21d1b2f344e339f559f2de6f3663191"
+SRC_URI = "git://

luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1"

Quoted 14 lines
Quoted 14 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb +1 -2
 S = "${WORKDIR}/git"
 
@@ -90,8 +87,7 @@ FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
 "
 FILES_luajit-common = "${datadir}/${BPN}-${PV}"
 
-# Aarch64/mips64/ppc/ppc64/riscv64 is not supported in this release
-COMPATIBLE_HOST_aarch64 = "null"
+# mips64/ppc/ppc64/riscv64 is not supported in this release
 COMPATIBLE_HOST_mipsarchn32 = "null"
 COMPATIBLE_HOST_mipsarchn64 = "null"
 COMPATIBLE_HOST_powerpc = "null"
author
#4 lore raw

Hi Khem,

On Sun, Feb 23, 2020 at 07:47:28PM -0800, Khem Raj wrote:

[...]

Quoted 13 lines
Quoted 6 lines
Quoted 5 lines
Quoted 1 line

+PV = "2.1.0+${SRCPV}"

I think we will endup in trouble when 2.1.0 releases, so perhaps we should leave room for sorting 2.1.0 higher than whatever we do now perhaps PV = ""2.0.5+2.1.0-beta3" would be workable.

Quoted 6 lines

This suggestion is fine for me. But I have some concern for this since the naming might introduce confusion when later someone reads this recipe, which combines two different versions together. So seems to me PV = "2.1.0-beta3" is more directive, and it can reflect the exact version for the building. How about you think for this?

Quoted 5 lines

The version scheme has a purpose and that is to track package feeds and they can not go backward for obvious reasons

The suggestion I had for you is commonly used in oe while it might not look simple and clean it serves the purpose

Will do it. Thanks for explanation.

Leo