Skip to contentSkip to conversation

protobuf protobuf-c: Remove COMPATIBLE_HOST

PATCH In review [email protected] 3 participants 3 messages Jun 26, 2017 – Jun 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 protobuf protobuf-c: Remove COMPATIBLE_HOST

From: He Zhe <[email protected]>

protobuf and protobuf-c can actually work with all arches but they were limited and merged upstream by 5e5e09a18199108de29bfee101c7b311ef094d94

This patch removes the COMPATIBLE_HOST to re-enable them to work with other architectures.

---
 recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 2 --
 recipes-devtools/protobuf/protobuf_3.1.0.bb   | 2 --
 2 files changed, 4 deletions(-)
recipes-devtools/protobuf/protobuf-c_1.2.1.bb +0 -2
index ff2499e..daba0ed 100644
@@ -6,8 +6,6 @@ LICENSE = "Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
 
-COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
-
 DEPENDS = "protobuf protobuf-c-native"
 
 SRC_URI[md5sum] = "e544249c329391fff512c3874895cfbe"
recipes-devtools/protobuf/protobuf_3.1.0.bb +0 -2
index 78b0d60..7d6698d 100644
@@ -19,8 +19,6 @@ SRC_URI = "https://github.com/google/protobuf/archive/v3.1.0.tar.gz;downloadfile
 	        file://run-ptest \
             "
 
-COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
-
 EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
 inherit autotools setuptools ptest
 
Signature · 1 line
2.8.1
#1 lore raw
Quoted 10 lines · On Mon, Jun 26, 2017 at 5:08 AM, <[email protected]> wrote:

From: He Zhe <[email protected]>

protobuf and protobuf-c can actually work with all arches but they were limited and merged upstream by 5e5e09a18199108de29bfee101c7b311ef094d94

This patch removes the COMPATIBLE_HOST to re-enable them to work with other architectures.

---

Bruce, I had a look at this and the changes look fine and match what is in meta-oe. Let me know if you are still in favour of removing these to use the copies in meta-oe, something you have mentioned in the past but we have yet to follow through with.

Mark

Quoted 38 lines
 recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 2 --
 recipes-devtools/protobuf/protobuf_3.1.0.bb   | 2 --
 2 files changed, 4 deletions(-)
recipes-devtools/protobuf/protobuf-c_1.2.1.bb +0 -2
index ff2499e..daba0ed 100644
@@ -6,8 +6,6 @@ LICENSE = "Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
 
-COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
-
 DEPENDS = "protobuf protobuf-c-native"
 
 SRC_URI[md5sum] = "e544249c329391fff512c3874895cfbe"
recipes-devtools/protobuf/protobuf_3.1.0.bb +0 -3
index 78b0d60..7d6698d 100644
@@ -19,8 +19,6 @@ SRC_URI = "https://github.com/google/protobuf/archive/v3.1.0.tar.gz;downloadfile
                file://run-ptest \
             "
 
-COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
-
 EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
 inherit autotools setuptools ptest
 
--

2.8.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

#2 lore raw
Quoted 9 lines · Mark Asselstine
Quoted 8 lines · On Mon, Jun 26, 2017 at 5:08 AM, <[email protected]> wrote:

From: He Zhe <[email protected]>

protobuf and protobuf-c can actually work with all arches but they were limited and merged upstream by 5e5e09a18199108de29bfee101c7b311ef094d94

This patch removes the COMPATIBLE_HOST to re-enable them to work with other architectures.

Quoted 8 lines
Quoted 2 lines

---

Bruce, I had a look at this and the changes look fine and match what is in meta-oe. Let me know if you are still in favour of removing these to use the copies in meta-oe, something you have mentioned in the past but we have yet to follow through with.

I'm going to take the plunge and remove the recipes .. and we'll watch for any
breakage.

So instead of this patch, I just git rm'd the protobuf recipes and will push that
instead.

Bruce

Quoted 51 lines

Mark

Review

Quoted 5 lines
 recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 2 --
 recipes-devtools/protobuf/protobuf_3.1.0.bb   | 2 --
 2 files changed, 4 deletions(-)
(quoted diff) +0 -0

b/recipes-devtools/protobuf/protobuf-c_1.2.1.bb

recipes-devtools/protobuf/protobuf-c_1.2.1.bb LICENSE = "Apache-2.0" · line 7

Quoted 6 lines

index ff2499e..daba0ed 100644

recipes-devtools/protobuf/protobuf-c_1.2.1.bb +0 -0
@@ -6,8 +6,6 @@ LICENSE = "Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c

0e"

Review

Quoted 7 lines
recipes-devtools/protobuf/protobuf-c_1.2.1.bb +0 -2
-COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
-
 DEPENDS = "protobuf protobuf-c-native"
 
 SRC_URI[md5sum] = "e544249c329391fff512c3874895cfbe"
(quoted diff) +0 -0

b/recipes-devtools/protobuf/protobuf_3.1.0.bb

recipes-devtools/protobuf/protobuf_3.1.0.bb SRC_URI = "https://github.com/google/

Quoted 4 lines

index 78b0d60..7d6698d 100644

recipes-devtools/protobuf/protobuf_3.1.0.bb +0 -0
@@ -19,8 +19,6 @@ SRC_URI = "https://github.com/google/

protobuf/archive/v3.1.0.tar.gz;downloadfile

Quoted 11 lines
recipes-devtools/protobuf/protobuf_3.1.0.bb +0 -3
                file://run-ptest \
             "
 
-COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
-
 EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
 inherit autotools setuptools ptest
 
--

2.8.1

Quoted 5 lines

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"