1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
Commit Graph

82 Commits

Author SHA1 Message Date
Van Waholtz
18ceb48284 boost: fix boost-regex compiling failure on targets of uClibc
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2020-10-24 02:04:58 -07:00
Van Waholtz
eaa201b774 boost: fix the LDFLAGS and reduce the package size
1. Add -lstdc++ to LDFLAGS.
2. Add "-Wl,--gc-sections,--as-needed" to LDFLAGS and "-ffunction-sections -fdata-sections -flto" to CFLAGS which will reduce the size by 10% ~ 13%.
3. Only a virtual package will be created if only static libs are built, which will avoid compiliation failures.
4. Other improvements

Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2020-10-17 06:17:14 -07:00
Van Waholtz
31b4830539 boost: refine the dependences
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
2020-10-12 00:08:53 -07:00
Rosen Penev
da840fa878
boost: replace zstd dependency with libzstd
libzstd is the correct one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-18 14:15:28 -07:00
Carlos Miguel Ferreira
038646225b
boost: Package Revision - Remove unneded patches
This commit removes patches which are no longer needed

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2020-08-19 12:12:15 +01:00
Carlos Miguel Ferreira
45290b6953
boost: Package Revision - Fix C++ standard flag
This commit fixes the use of the C++20 standard when
 GCC 10.x is used.

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2020-08-18 23:38:21 +01:00
Carlos Miguel Ferreira
e9c5b9d3e1
boost: Package Version Update (1.74.0)
This commit updates Boost to version 1.74.0
In this release, there is one new libraries
 - STLInterfaces [2]:
   A library of CRTP bases to ease the writing of STL views,
   iterators, and sequence containers, from Zach Laine.

This update also provides support to build boost with C++20 when using
GCC 10.x

More info about Boost 1.74.0 can be found at the usual place [1].

[1]: https://www.boost.org/users/history/version_1_74_0.html
[2]: https://www.boost.org/libs/stl_interfaces/

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2020-08-18 14:37:33 +01:00
Carlos Miguel Ferreira
3fb802f5d0
boost: Package Version Update (1.73.0)
This commit updates Boost to version 1.73.0
In this release, there are two new libraries
 - Nowide [2] - Standard library functions with UTF-8 API on Windows,
   from Artyom Beilis.
 - Static String [3] - A dynamically resizable string of characters
   with compile-time fixed capacity and contiguous embedded storage,
   from Vinnie Falco and Krystian Stasiowski.

More info about Boost 1.73.0 can be found at the usual place [1].

[1]: https://www.boost.org/users/history/version_1_73_0.html
[2]: https://www.boost.org/libs/nowide/
[3]: https://www.boost.org/libs/static_string/

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2020-05-03 20:29:04 +01:00
Jeffery To
2aaf4a6aee boost: Remove Python 2 library package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-01 01:56:02 +08:00
Rosen Penev
ac100e45f7
boost: Fix embarassing ARC typo
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-21 17:39:19 -08:00
Carlos Miguel Ferreira
c8907926cc
boost: Package Version Update (1.72.0)
This commit updates Boost to version 1.72.0
    There are no new libraries in this release.

    Note:
    - This commit also adds a post-release patch to fix an issue
    with Boost.Coroutine

    More info about Boost 1.72.0 can be found at the usual place [1].

    [1]: https://www.boost.org/users/history/version_1_72_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2019-12-21 22:19:56 +00:00
Rosen Penev
f795779c0a boost: Fix fiber compilation for mips
The issue was that the pause instruction was emitted through an asm
directive which was not correct for some mips platforms.

Simplified boost-fiber-exclude as a result.

Removed uClibc-ng math patch. It was not correct as it broke float and
long double support (std variants use function overloads). A different
solution was applied upstream. As it's quite annoying to backport, just
wait until a new release comes with that change. ARC as a platform is
barely supported anyways.

Swapped asio patch for the upstream submission, which is unfortunately, in
limbo.

Refreshed remaining patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-15 12:53:20 -08:00
Rosen Penev
260d4a346a
boost: Remove thread dependency from context
thread is only used when the C++ mutex header is missing. AFAIK, this is
the case on Windows and not on Linux. Certainly not in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-07 11:07:50 -07:00
Rosen Penev
ddd4109c1c
boost: Remove several host libraries
The facebook people have been working on removing Boost dependencies from
their projects. This is the current state.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-07 11:07:50 -07:00
Rosen Penev
dc3220736d
boost: Switch to blacklist of targets for context
Works around a buildbot bug.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-25 22:39:28 -07:00
Rosen Penev
1f77459ace boost: Update host libraries
It seems newer versions of fbthrift require more libraries.

Also added AR7, RB532, and Lantiq ASE to fiber exclusion.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-23 11:29:52 -07:00
Jan Pavlinec
299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Carlos Miguel Ferreira
0cd9824623
boost: Package Version Update (1.71.0) + bugfixes
This commit updates Boost to version 1.71.0 and disables Boost.Context
 for arc and mips64 architectures, since either jump_fcontext or
 getcontext are undefined for those architectures.

It also fixes a bug were Boost.Fiber was not properly disabled for
mips32 and mips64 architectures.

Boost.Coroutine2 option was removed since it was redundant. By selecting
the Coroutine package, Coroutine2 is also installed.

Boost.Fiber has been disabled for target brcm47xx_generic and brcm47xx_legacy
due to misssing opcode support from instruction set.

Boost 1.71.0 brings a new header-only library
 - Boost.Variant2 [1]
   -> A never-valueless, strong guarantee implementation of
      std::variant, from Peter Dimov.

More info about Boost 1.71.0 can be found at the usual place [2].

[1]: https://www.boost.org/doc/libs/1_71_0/libs/variant2/doc/html/variant2.html
[2]: https://www.boost.org/users/history/version_1_71_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2019-09-10 14:25:35 +01:00
Jo-Philipp Wich
af4cacd108
boost: fix raw kconfig syntax
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-22 19:30:25 +02:00
Josef Schlehofer
79831ee0ab
boost: Makefile polishing
Corrected License according to SPDX in PKG_LICENSE
Added PKG_LICENSE_FILES
HTTPS in their website
Reordered some stuff

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-22 19:30:19 +02:00
Rosen Penev
45d2000f9c boost: Install HOST libraries to HOSTPKG
After talking to @jow on IRC, we found two problems. STAGING_DIR_HOST is
designed for tools, not host packages. Changing this to HOSTPKG allows
CMake and pkgconfig to work properly with fbthrift.

The host-libraries should not be modular like this for host packages.
Changed to eliminate them and to only build the needed ones. This can be
changed as conditions change.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-17 12:29:36 -07:00
Stijn Tintel
1404da5894 boost: refresh patches
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-06-05 10:34:06 +03:00
Stijn Tintel
7766b0b878 boost: ignore site config during host build
Without this, the host build picks up the site config in
/usr/share/boost-build/site-config.jam which causes a build failure on
Gentoo where a custom optimization value "none" is used.

Fixes #9152.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-06-05 10:33:08 +03: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
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
Rosen Penev
55320abae0
boost: Fix uClibc-ng compilation again
Several math functions are not defined in math.h and therefore cannot be
used.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-03 13:02:59 -07:00
Rosen Penev
053faa31e5
boost: Fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-01 13:58:56 -07:00
Carlos Ferreira
1fd601a1e7
boost: Update packet to version 1.70.0 + minor updates
This commit updates the boost package to version 1.70.0 [1] and updates the
Makefile to activate c++17 compile option.

This new Boost version brings two new header-only libraries:
Outcome: [2]
  A set of tools for reporting and handling function failures in contexts where
  directly using C++ exception handling is unsuitable, from Niall Douglas.

Histogram: [3]
  Fast and extensible multi-dimensional histograms with convenient interface
  for C++14, from Hans Dembinski.

More information about this release at the usual place [1].

[1]: https://www.boost.org/users/history/version_1_70_0.html
[2]: https://www.boost.org/libs/outcome/
[3]: https://www.boost.org/libs/histogram/

Signed-off-by: Carlos Ferreira <carlosmf.pt@gmail.com>
2019-04-17 00:42:44 +01: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
Rosen Penev
d7801a74c2
Merge pull request #7879 from ammubhave/add_zstd_to_boost
boost: Add zstd as a dependency to boost-iostream
2019-03-31 14:57:48 -07:00
Carlos Miguel Ferreira
92c93ca0f4 boost: Release update with minor fix
This commit fixes the bug described in issue #8146 [1], where the
package fails to build if the boost package is selected without
selecting any of the internal non-header-only libraries.

[1]: https://github.com/openwrt/packages/issues/8146

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2019-02-12 23:04:01 +00:00
Amol Bhave
aba3fec198 boost: Add zstd as a dependency to boost
Depends on PR #7126

With this change:
eb03aa43b9
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
Carlos Miguel Ferreira
89e6855d96
boost: Package Version Update -> 1.69.0
This package update provides one new library:
 -> Safe Numerics: A library for guaranteed correct integer arithmetic for
      C++14 and later, from Robert Ramey [1].

Discontinued Libraries
-> Signals (v1) is now removed. Its removal was announced in 1.68 and its
   deprecation was announced in 1.54. Boost 1.68 is the last release that
   provides this library. Users are encouraged to use Signals2 instead.
   The Boost community thanks Douglas Gregor for his work on Signals which
   served its users well and which also inspired Signals2 [2].

More info can be found at the usual place [3].

[1] : https://www.boost.org/doc/libs/1_69_0/libs/safe_numerics/doc/html/index.html
[2] : https://www.boost.org/doc/libs/1_69_0/doc/html/signals2.html
[3] : https://www.boost.org/users/history/version_1_69_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2018-12-18 22:52:47 +00:00
Ted Hess
7947583519 boost: Makefile and package changes to support builds with both Python 2.x and Python 3.x versions.
Python versioning is automatically configured from lang/python repository xxx-version.mk files.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-09-24 14:33:39 -04:00
Ted Hess
80e40c393b boost: Bump PKG_RELEASE to force buildbot re-builds
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-09-21 11:43:22 -04:00
Ted Hess
dd8b637646 boost: Fix mips32r1 cpu builds (exclude Boost.fiber)
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-09-20 14:25:11 -04:00
Carlos Miguel Ferreira
0d94d04856
boost: Package Makefile Revision
Boost.Fiber is now disabled for Targets which use mips32 or mips64 cpu type.

This commit fixes issue [1]

[1]: https://github.com/openwrt/packages/issues/6987

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2018-09-18 16:03:27 +01:00
Carlos Miguel Ferreira
e0e80c1d2c
boost: Package Version Update -> 1.68.0
This package update provides one new library:
 - YAP: An expression template library for C++14 and later, from Zach Laine [1].

More info can be found at the usual place [2].

[1] : https://www.boost.org/libs/yap/
[2] : https://www.boost.org/users/history/version_1_68_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2018-08-21 02:13:59 +01:00
Carlos Miguel Ferreira
d4fa43e9ac
boost: Package Release 2 (minor fixes)
- Fixed package hyperlink
  -> Now using the @SF macro to obtain the best mirror link
  -> Added backup link in case Source Forge fails to provide the proper link

- Minor fix to package documentation
  -> Help documentation was lacking the contract library info.

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2018-05-09 01:17:27 +01:00
Carlos Miguel Ferreira
9c09ecf437
boost: Package Version Update -> 1.67.0
This package update provides two new libraries
- Contract (compiled library) [1]: Contract programming for C++.
  All contract programming features are supported: Subcontracting,
  class invariants, postconditions (with old and return values),
  preconditions, customizable actions on assertion failure (e.g.,
  terminate or throw), optional compilation and checking of
  assertions, etc, from Lorenzo Caminiti.

- HOF (header-only library) [2]:
  Higher-order functions for C++, from Paul Fultz II.

More info can be found at the usual place [3].

[1]: https://www.boost.org/libs/contract
[2]: https://www.boost.org/libs/hof
[3]: https://www.boost.org/users/history/version_1_67_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2018-04-16 01:53:38 +01:00
Carlos Miguel Ferreira
e7322fdea4
boost: Version Update -> 1.66.0
This package release updates boost to version 1.66.0.
Boost 1.66.0 brings three new header-only libs:
- Beast [1]: Portable HTTP, WebSocket, and network operations using only C++11
             and Boost.Asio, from Vinnie Falco.
- CallableTraits [2]: A spiritual successor to Boost.FunctionTypes,
                      Boost.CallableTraits is a header-only C++11 library for
                      the compile-time inspection and manipulation of all
                      'callable' types. Additional support for C++17 features,
                       from Barrett Adair.
- Mp11 [3]: A C++11 metaprogramming library, from Peter Dimov.

More info about this release, can be found in [4].

[1]: http://www.boost.org/doc/libs/1_66_0/libs/beast/doc/html/index.html
[2]: http://www.boost.org/doc/libs/1_66_0/libs/callable_traits/doc/html/index.html
[3]: http://www.boost.org/doc/libs/1_66_0/libs/mp11/doc/html/mp11.html
[4]: http://www.boost.org/users/history/version_1_66_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2017-12-28 13:29:43 +00:00
Carlos Miguel Ferreira
ecb166740c
boost: Bug-fix release
This release fixes the following issues
[1] - A second run to build Boost was executed, even though
       Boost.Python3 was not selected.
[2] - Because wserialization and coroutine2 targets were removed from
       Boost building system, the flags "--without-wserialization" and
       "--without-coroutine2" no longer work and are now suppressed.
       The option coroutine2 just selects the necessary dependencies for
       the header-library to work.
       The sub-package wserialization just selects the serialization
       dependency and packs the wserialization shared object.

[1]: cf67f5f47a (comments)
[2]: https://github.com/openwrt/packages/issues/4974

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2017-10-20 19:03:38 +01:00
Carlos Miguel Ferreira
9ccf450608
boost: 1.65.1 Update
This commit updates the boost libraries to version 1.65.1

This new version is a bug-fix update for Boost 1.65.0, so no new libraries.
As always, more information about this release can be found in [1].

[1]: http://www.boost.org/users/history/version_1_65_1.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2017-09-18 00:47:25 +01:00
Carlos Miguel Ferreira
cf67f5f47a
boost: 1.65.0 Update + Fixes
This commit updates the boost libraries to version 1.65.0

This new version brings two new libraries:
 - Boost.Stacktrace [1]
   -> Gather, store, copy and print backtraces, from Antony Polukhin.
 - Boost.PolyCollection [2]
   -> Fast containers of polymorphic objects, from Joaquín M López Muñoz.

Fixes in this commit:
 - Boost.Python for Python 3.6
   -> The dynamic library was not being compiled, resulting in an empty package. Fixed.
 - Boost.TypeErasure
   -> The dynamic library was not available to install. Fixed.
 - Boost.Serialization
   -> The wserialization dynamic library was being compiled but not available to install. Fixed.

Extras:
 - This commit also contains the post-release fixes, which did not make it into the final release [3].

As always, more information about this release, can be found in [4].

[1]: http://www.boost.org/doc/libs/1_65_0/doc/html/stacktrace.html
[2]: http://www.boost.org/doc/libs/1_65_0/doc/html/poly_collection.html
[3]: http://www.boost.org/patches/
[4]: http://www.boost.org/users/history/version_1_65_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2017-08-30 12:20:55 +01:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Carlos Miguel Ferreira
f32e2d1259
boost: Package Version Update -> 1.64.0
Maintainer: @ClaymorePT
Compile tested: Broadcom BCM2708
Run tested: None

Description:
 - New header-only library -> Process
   -> Process library by Klemens D. Morgenstern, that provides cross
        platorm ways to allows you to:
      - create child processes
      - setup streams for child processes
      - communicate with child processes through streams
          (synchronously or asynchronously)
      - wait for processes to exit (synchronously or asynchronously)
      - terminate processes

Information about the 1.64.0 release (updated libraries, bug fixes,
 etc), can be found here [1].

[1]: http://www.boost.org/users/history/version_1_64_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2017-04-27 10:48:17 +01:00
Carlos Miguel Ferreira
f95a1300f7
Revert "boost: 1.63 Revision 3 -> Python 3.6 Support Fixed and Unsupported Target Fixes"
This reverts commit 21091fa0ac.
2017-03-01 12:48:54 +00:00
Carlos Miguel Ferreira
21091fa0ac
boost: 1.63 Revision 3 -> Python 3.6 Support Fixed and Unsupported Target Fixes
Update:
 - Python 3.6 support fixed. It is now correctly compiled and available.

Fixes:
 - disabled context and fiber for unsupported targets

There are several architectures which are not supported by context nor
 fiber. Because of this, Boost build was failing targets. This created the
 situation where the other boost libs were not being built and consequently,
 becoming unavailable  at the OpenWRT/LEDE repositories.
To solve this issue, it was necessary to disabled fiber and context for
 the incompatible targets.

Boost.Fiber is disabled for:
 -> ar7, rb532, brcm63xx.smp, brcm63xx, brcm47xx, brcm47xx.legacy, brcm2708,
    au1000, ath25, adm8668 and adm5120.

Boost.Context is disabled for:
 -> avr32, octeon and netlogic.

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2017-02-24 00:08:33 +00:00
Carlos Miguel Ferreira
2a30298bd1
boost: 1.63 Revision 2 - Fixed Regression
This commit fixes an existent regression in boost 1.63 [1].
The regression appears when libc is used for the toolchain.

[1] -  https://svn.boost.org/trac/boost/ticket/11756

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2017-02-21 17:33:43 +00:00