* [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0
@ 2019-06-16 20:23 Bernd Kuhls
2019-06-16 20:23 ` [Buildroot] [PATCH v2 2/2] package/flatbuffers: Enable host build Bernd Kuhls
2019-06-17 18:11 ` [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0 Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2019-06-16 20:23 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: initial version
package/flatbuffers/flatbuffers.hash | 2 +-
package/flatbuffers/flatbuffers.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/flatbuffers/flatbuffers.hash b/package/flatbuffers/flatbuffers.hash
index 7afe849cd7..3cd737273a 100644
--- a/package/flatbuffers/flatbuffers.hash
+++ b/package/flatbuffers/flatbuffers.hash
@@ -1,3 +1,3 @@
# Locally computed:
-sha256 3714e3db8c51e43028e10ad7adffb9a36fc4aa5b1a363c2d0c4303dd1be59a7c flatbuffers-v1.10.0.tar.gz
+sha256 3f4a286642094f45b1b77228656fbd7ea123964f19502f9ecfd29933fd23a50b flatbuffers-v1.11.0.tar.gz
sha256 7ec9661a8afafab1eee3523d6f1a193eff76314a5ab10b4ce96aefd87621b0c3 LICENSE.txt
diff --git a/package/flatbuffers/flatbuffers.mk b/package/flatbuffers/flatbuffers.mk
index 69054885ea..8252a1616c 100644
--- a/package/flatbuffers/flatbuffers.mk
+++ b/package/flatbuffers/flatbuffers.mk
@@ -4,7 +4,7 @@
#
################################################################################
-FLATBUFFERS_VERSION = v1.10.0
+FLATBUFFERS_VERSION = v1.11.0
FLATBUFFERS_SITE = $(call github,google,flatbuffers,$(FLATBUFFERS_VERSION))
FLATBUFFERS_LICENSE = Apache-2.0
FLATBUFFERS_LICENSE_FILES = LICENSE.txt
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/flatbuffers: Enable host build
2019-06-16 20:23 [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0 Bernd Kuhls
@ 2019-06-16 20:23 ` Bernd Kuhls
2019-06-17 18:12 ` Thomas Petazzoni
2019-06-17 18:11 ` [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0 Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2019-06-16 20:23 UTC (permalink / raw)
To: buildroot
Host version of flatc compiler is needed for Kodi 18.x:
https://github.com/xbmc/xbmc/blob/master/cmake/modules/FindFlatBuffers.cmake#L51
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: removed upstream patch after version bump to v1.11.0
package/flatbuffers/flatbuffers.mk | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/flatbuffers/flatbuffers.mk b/package/flatbuffers/flatbuffers.mk
index 8252a1616c..3664cc79cb 100644
--- a/package/flatbuffers/flatbuffers.mk
+++ b/package/flatbuffers/flatbuffers.mk
@@ -20,4 +20,14 @@ else
FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=ON
endif
+HOST_FLATBUFFERS_CONF_OPTS += \
+ -DCMAKE_CXX_FLAGS="-std=c++11" \
+ -DFLATBUFFERS_BUILD_FLATLIB=OFF \
+ -DFLATBUFFERS_BUILD_FLATC=ON \
+ -DFLATBUFFERS_BUILD_FLATHASH=OFF \
+ -DFLATBUFFERS_BUILD_GRPCTEST=OFF \
+ -DFLATBUFFERS_BUILD_SHAREDLIB=OFF \
+ -DFLATBUFFERS_BUILD_TESTS=OFF
+
$(eval $(cmake-package))
+$(eval $(host-cmake-package))
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0
2019-06-16 20:23 [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0 Bernd Kuhls
2019-06-16 20:23 ` [Buildroot] [PATCH v2 2/2] package/flatbuffers: Enable host build Bernd Kuhls
@ 2019-06-17 18:11 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-06-17 18:11 UTC (permalink / raw)
To: buildroot
On Sun, 16 Jun 2019 22:23:36 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: initial version
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/flatbuffers: Enable host build
2019-06-16 20:23 ` [Buildroot] [PATCH v2 2/2] package/flatbuffers: Enable host build Bernd Kuhls
@ 2019-06-17 18:12 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-06-17 18:12 UTC (permalink / raw)
To: buildroot
Hello Bernd,
On Sun, 16 Jun 2019 22:23:37 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Host version of flatc compiler is needed for Kodi 18.x:
> https://github.com/xbmc/xbmc/blob/master/cmake/modules/FindFlatBuffers.cmake#L51
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: removed upstream patch after version bump to v1.11.0
I've applied, but I have a comment, see below.
> +HOST_FLATBUFFERS_CONF_OPTS += \
> + -DCMAKE_CXX_FLAGS="-std=c++11" \
This line means you will have to change the dependency of Kodi to
require host gcc >= 4.8 instead of host gcc >= 4.6 as is done today.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-17 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-16 20:23 [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0 Bernd Kuhls
2019-06-16 20:23 ` [Buildroot] [PATCH v2 2/2] package/flatbuffers: Enable host build Bernd Kuhls
2019-06-17 18:12 ` Thomas Petazzoni
2019-06-17 18:11 ` [Buildroot] [PATCH v2 1/2] package/flatbuffers: bump version to v1.11.0 Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.