Commit Graph
24 Commits
Author SHA1 Message Date
Amol Bhave 6ad97a3d51 fbzmq: Add fbzmq library
fbzmq provides a framework for writing services in C++ while leveraging
the features of libzmq (message passing semantics).

Compile tested: nbg6817, master

Maintainer: me

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-06-14 03:24:09 -07:00
Amol Bhave 59aadcf1b9 libre2: Update to 2019-06-01
Maintainer: me
Compile tested: nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-06-05 04:48:20 -07:00
Amol BhaveandStijn Tintel a73b3b2d75 domoticz: disable searching for boost-cmake
Summary:
This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.

Test Plan:
`make package/domoticz/compile`
Also compiled all other packages that have a boost dependency, they seem
to be working fine.
tested on nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
[split unrelated change, change commit subject, alphabetical order]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-06-05 10:59:12 +03:00
Amol Bhave 0150e79282 fbthrift: Add fbthrift package
[Depends on libwangle]

Facebook's branch of Apache Thrift, including a new C++ server.
Thrift is a serialization and RPC framework for service communication.
Thrift enables these features in all major languages, and there is
strong support for C++, Python, Hack, and Java.

Test Plan: compile fbthrift on openwrt master for nbg6817

Maintainer: me

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-11 18:37:47 -07:00
Amol Bhave 59cfd9007c libfolly: Fix folly missing deps
Description: folly automatically picks up lz4 and unwind if they are found
by its cmake build script. This is causing buildbot failure.
Include these libraries in DEPENDS as well.

Test Plan:
 - build packages liblz4 and libunwind
 - build folly, and check that it throws an error
 - add this patch, and rebuild
 - verify that it succeeds this time around

Compile Tested: nbg6817, openwrt master

Maintainer: me
Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-11 06:52:09 -07:00
Amol Bhave 7c42ddf9ff boost: add host library build for boost
Summary: Currently, boost host build doesn't actually compile boost
libraries for the host arch. If there are host tools that would want
to link against boost, it can't right now.

This diff adds support for compiling host boost library as well.
Any packages that need to depend on a host boost library can depend on
CONFIG_boost-host-build-<lib>.

Test Plan: Compiled fbthrift and verified that it works.
used openwrt master using nbg6817

Maintainer: @ClaymorePT

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-10 18:42:30 -07:00
Amol Bhave 08a805c476 libwangle: Add new package libwangle
Wangle is a framework providing a set of common client/server
abstractions for building services in a consistent, modular, and
composable way.

tested with: master on nbg6817 and arc700.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-10 12:31:49 -07:00
Amol Bhave 6bb4e3014c librsocket-cpp: Add new package librsocket-cpp
C++ implementation of RSocket
RSocket is a binary protocol for use on byte stream transports such as
TCP, WebSockets, and Aeron. (https://rsocket.io/)

This ships with two separte libraries, yarpl and rsocket

Patch 100 is already upstream
(https://github.com/rsocket/rsocket-cpp/commit/862202c6e99a49a8cbd304644d98d3f419b429d8).
Patch 101 in process of upstreaming as it needs to made compatible with
using both gold and ld.

[Dependency of https://github.com/facebook/openr]

Compile tested: openwrt master - nbg6817, arc700

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-10 11:12:19 -07:00
Amol Bhave b59acfd358 libfizz: Add libfizz package
Fizz is a TLS 1.3 implementation.
Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with
the final specification), and 23. All major handshake modes are
supported, including PSK resumption, early data, client authentication,
and HelloRetryRequest.

Compile tested: nbg6817 and arc700, openwrt master

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-10 11:12:10 -07:00
Amol Bhave 24ba7d7155 libfolly: Add package for folly library
folly is an open-source C++ library developed and used at Facebook.
Adding this package will enable adding further packages that depend on
this.

Depends on PR #7098, PR #7101, PR #7126, PR #7877

Maintainer: me
Compile tested: openwrt-18.06 for ipq40xx, ipq806x, x86 and ar71xx
Run tested: Tested on devices running on the above architectures.
Verified that dependent packages can successfully build and run using
the libfolly.so shared library.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-09 22:18:39 -07:00
Amol Bhave f27e903d2f libmstch: add mstch library
mstch is an implementation of the the mustache templates using C++.
This package will build mstch static library that can be used by
other packages.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-09 17:51:30 -07:00
Amol Bhave d14e545b66 boost: Copy cmake in InstallDev step
Copy the cmake directory in the InstallDev step.
I am currently trying out actual host build for boost i.e. compiling
boost libaries for host tools. When I do that, that step installs the
boost cmake files in staging_dir/host.

This breaks other packages that use cmake to compile and use boost as a
dependency. This is because, their compilation step now begins using
staging_dir/host version of Boost, rather than the target version of
boost. Cmake gives priority to cmake version of Boost config, over
finding boost headers manually.

This change resolves that problem by installing the BoostConfig.cmake
file in staging_dir/<target> as well.

Compile tested: nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-08 03:43:57 -07:00
Amol Bhave 48e844101b boost: Fix boost apply_visitor for lvalue variants
Boost 1.70.0 broke the apply_visitor functions for lvalue reference
variants.
This imports the patch that fixes this issue from upstream.

Tested this by compiling a library
(https://github.com/facebookincubator/fizz) that works with 1.69 but
breaks with 1.70. And then, importing this patch and trying the
compilation again.

Compile tested: nbg6817

Maintainer: @ClaymorePT

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-07 00:56:55 -07:00
Amol Bhave 2cfba93020 libsigar: add sigar libary
sigar is a System Information Gatherer And Reporter library for C++
Adding the package so other C++ packages that depends on this library
can build.
This creates a libsigar.so shared library.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-05-06 18:34:17 -07:00
Amol Bhave 70d4a9a3b2 libre2: bump version to 2019-04-01
compile tested on nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-30 13:08:00 -07:00
Amol Bhave 44c24203a5 libglog: Add gflags a dependency for libglog
Depends on PR #7098

With gflags available, glog's compilation behaves differently and
includes gflags specific code. This code allows customizing logging in
programs that use glog, using command command line parameters.

Compile tested: openwrt-18.06 for ipq40xx, ipq806x, x86 and ar71xx
Run tested: Tested on devices running on the above architectures.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-29 18:32:48 -07:00
Amol Bhave bea3caf836 zstd: bump zstd version to 1.4.0
This diff bumps the zstd version to 1.4.0

Tested with NBG6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-21 12:32:51 -07:00
Amol Bhave 5669ce84ab libgflags: add gflags package
Google's gflags library is a C++ library that implements command line
flags processing. Adding the library so that it can used when compiling
other C++ programs.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-03 13:18:50 -07:00
Amol Bhave 2b7842348e glog: Bump version to 0.4.0
bump glog version from 0.3.5 to 0.4.0

Tested by building another package which depends on glog and verify that
it builds successfully.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-03 11:53:51 -07:00
Amol Bhave ac5e3c6ece libdouble-conversion: Add host build to libdouble-conversion
This change adds the ability to produce host static build for the
libdouble-conversion library. Other host build tools can now depend on
this library if they need it.

Tested on a x86_64 host build machine.
make package/libdouble-conversion/host/compile produces
staging_dir/hostpkg/lib/libdouble-conversion.a file

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-02 17:23:38 -07:00
Amol Bhave 8155b4c395 libre2: add re2 package
RE2 is a fast, safe, thread-friendly alternative to backtracking regular
expression engines like those used in PCRE, Perl, and Python. It is a
C++ library.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-02 17:21:53 -07:00
Amol Bhave df76f9bced boost: bump pkg release
PR #7126 updated the Makefile but didn't bump the pkg release version

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-01 11:23:22 -07:00
Amol Bhave 5fc321625e zstd: add zstd package
Zstandard, or zstd as short version, is a fast lossless compression
algorithm, targeting real-time compression scenarios at zlib-level and
better compression ratios.

This package includes a C library, and a command line utility producing
and decoding .zst, .gz, .xz and .lz4 files.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-03-31 06:11:52 -07:00
Amol Bhave aba3fec198 boost: Add zstd as a dependency to boost
Depends on PR #7126

With this change:
https://github.com/boostorg/iostreams/commit/eb03aa43b9373137a51775ab63867152ff72fa00
boost iostreams supports zstd compression. If the zstd package is  built
before boost, then the packaging step complains that libzstd.so is not
packaged.

Build Tested: PR #7876 used to fail CI without this, now it passes.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-01-05 06:48:11 -08:00