125 Commits

Author SHA1 Message Date
rsadowski
8a9eef6e68 Remove some unnecessary patches and fix some typos
Tweak diff from Brad (co-maintainer)
2020-12-21 19:07:52 +00:00
otto
89426d9c49 Fix build of boost::context on powerpc by removing an unneeded patch.
ok cwen@ brad
2020-12-15 18:53:17 +00:00
jca
d2a0d83a9b boost-build has been removed, gc pointless patch
Suggested by Brad (maintainer)
2020-11-26 00:08:36 +00:00
jca
40537c5dd1 Drop boost_python27, boost_numpy27 and boost-build support
Drops one consumer of py2-numpy, upstream numpy is now python3 only.
Dropping all python27 support makes the port simpler and hopefully
future updates easier.  boost-build also leaves as collateral damage,
its python files aren't ready for python3 and it's not clear how useful
they are.

ok Brad, rsadowski@ (maintainers)
ok sthen@ who also helped clear the way
2020-11-26 00:06:04 +00:00
jca
c05d914367 Use find -exec {} + to speed up make fake
Down to 4 seconds instead of 4 minutes on my builder.
No bump since there is no change in the resulting package.

ok Brad rsadowski@ (maintainers)
2020-11-11 15:53:41 +00:00
sthen
c8d0e4207d update to Boost 1.70, from Brad, bulk tests for various update diffs
(this and earlier releases) me/kmos, various testing/fixes for related
ports from otto daniel bentley rsadowski

ok rsadowski (co-maintainer with Brad)
2020-11-05 11:23:03 +00:00
sthen
d112318649 devel/boost: remove patches that are no long necessary now that some
archs have moved to Clang and we no longer mix and match old and new GCC
on non-Clang archs. From Brad, has gone through bulks on sparc64 i386.
2020-10-03 13:17:04 +00:00
rsadowski
a5cce4a550 Unbreak boost 1.67.0 on i386, spotted by sthen@ Thanks
Diff from upstream:

Removed clang-specific branch for x86 DCAS-based loads.

The storage to load from is const-qualified and DCAS via compiler intrinsics
require an unqualified pointer. Use asm implementation instead, which should be
as efficient as intrinsics, if not better, in this case.

6e14ca24da
2020-08-17 14:01:09 +00:00
rsadowski
bb477f5b45 Update boost from 1.66.0 to 1.67.0 (Not to the latest)
This update was requested by aja to update and unbreak productivity/gnucash.

Changlog from upstream:
https://www.boost.org/users/history/version_1_67_0.html
2020-08-15 20:30:40 +00:00
kn
85bce24ee2 Revert previous
While it builds on sparc64 (nowadays), there are still major
runtime issues.

Noted by sthen, otto, Brad
2020-06-08 18:43:24 +00:00
kn
ae7c862f1d Build boost-md on sparc64
OK rsadwoski
"go ahead" plus comment fix from Brad
2020-06-07 12:03:44 +00:00
rsadowski
78d62b1866 Switch HOMEPAGE to https 2020-03-31 04:37:47 +00:00
sthen
a91a9370aa oops, I missed bumping REVISION-md for the plist change 2020-01-30 14:29:15 +00:00
kmos
96b2d95db1 Adding patch I forgot to add when committing update earlier.
Bump REVISION-main again while here.

Pointed out by Nam Nguyen. Thank you.
2020-01-30 01:42:34 +00:00
kmos
d7c6a44cae Fix devel/boost python3 bindings
From Nam Nguyen

With input from rsadowski and sthen

Reworked by sthen

Tested by myself and sthen

ok sthen
2020-01-29 22:39:09 +00:00
kmos
cb252b44bb Reverting 1.79 workaround now that ports-gcc has been upgraded
Diff from Brad (maintainer)
2019-11-27 05:17:35 +00:00
otto
d6ec34c5bb - Fix userland context switching on powerpc, OpenBSDs ABI differs from the Linux one.
- Fix error in fixed size stack allocator.
Heavy lifting done by George Koehler. ok sthen@ rsadowski@
2019-09-19 07:38:14 +00:00
jca
090ddbce77 Use ONLY_FOR_ARCHS-md instead of a ".if ${MACHINE_ARCH} ..." tests list
ok sthen@ Brad Smith (maintainer)
2019-08-09 11:25:29 +00:00
sthen
e40db86e25 MAP_STACK is also needed for basic_standard_stack_allocator, found while
testing Icinga 2 development code.  Looks good to otto@, ok Brad
2019-07-18 20:27:25 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
ajacoutot
b8b4821b2e Build the MD subpackage on PowerPC.
from Brad and tested by cwen@
2019-05-31 05:51:55 +00:00
sthen
1dd0a927d8 boost-md needs LIB_DEPENDS/WANTLIB on -main 2019-05-20 15:58:15 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
phessler
3b3ad206cd build the -md multipackage on aarch64, in pkgsnaps for a while 2019-02-28 20:20:03 +00:00
jca
0ab3526081 Simplify libc++7 workaround, tweaking config.hpp was enough
Noticed by naddy@, ok Brad (maintainer)
2019-02-07 13:53:28 +00:00
jca
6086340727 Unbreak on clang archs, prefer <string_view> to <experimental/string_view>
ok Brad (maintainer)

libc++7 made <experimental/string_view> a stub containing only

  #error "<experimental/string_view> has been removed. Use <string_view> instead."

One can wonder why upstream kept the header at all.
2019-02-06 11:43:35 +00:00
rsadowski
194112f1a7 enable boost-build
To make your boost.build executables b2 and bjam useful we have to install
some additional files.

Noticed by Ivan Krylov via openbsd@freenode. Thanks!

feedback from semarie@ and aja@, tweaks and ok sthen@
2019-01-03 07:29:58 +00:00
jca
f85e9e31c3 Drop bogus -mcpu=v7 on sparc64 (sparc64 == sparc V9)
"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:35:41 +00:00
jca
0e2f9ca21d Fix Boost.Locale and unbreak on ports-gcc archs
Since the update to icu4c-63.1, icu4c uses char16_t and others from the
C++11 standard, but eg++-4.9 defaults to -std=gnu++98.

"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:34:27 +00:00
jca
91ba3d0980 Respect PORTPATH and pick up eg++ instead of base g++
"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:31:02 +00:00
jca
dec9bb29a2 Print compile commands again (lost in the update to boost-1.65.1)
Without this debugging problems is almost impossible.
"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:27:51 +00:00
sthen
84b2eeef2b Add support for boost contexts on i386, arm, amd64, from otto@.
As this brings new libraries on supported architectures, split the
package into -main and -md subpackages, keeping plist updates simpler
and avoiding need for knowledge of supported arches in dependent
ports. Also means that if future ports start picking up the MD
libraries they will be easier to find. (Thanks aja@ for running a
bulk build and check-lib-depends run with an earlier version to
make sure existing ports don't pick up the new libs.)

ok rsadowski@

Bumps for ports using boost as LIB_DEPENDS or RUN_DEPENDS to
follow.
2018-12-13 19:52:46 +00:00
sthen
5dbf823bb7 set -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR in archivers/innoextract
to unbreak with new libc++, newer boost is likely to fix this so add a
comment in devel/boost/Makefile
2018-09-11 19:26:14 +00:00
kirby
7f964a3696 enable Unicode/ICU support in Regex
bulk build on macppc, i386 and amd64 by myself
ok rsadowsk@ (maintainer)
2018-08-23 16:38:10 +00:00
rsadowski
5126c24bf7 Update boost to 1.66.0
Main port changes:
- Add myself as second maintainer
- Licence tag from MIT-like to boost

Changelog:

http://www.boost.org/users/history/version_1_66_0.html

ok jca@ and landry@ (Tested in a bulk, thanks!)
"Fine with me" from Brad (maintainer)
2018-01-31 21:54:49 +00:00
rsadowski
90658284fb Update boost to 1.65.1
Notable port changes.

- Bump all shared libs from 6.0 to 7.0.
- COMPILER= base-clang ports-gcc (Replace ONLY_FOR_ARCHS)
- Remove our user.hpp. Boost detects all compiler features correct.
- Drop all -Wno-* options.
- Drop fiber support. It doesn't build with GCC
- Drop stacktrace support. It doesn't build on arm (spotted by jca@)
- b2 doesn't seem to respect python parameter, we need to run twice with
  separate python environments to build both shared libs.
- Zap trailing whitespace
- Add py-numpy as bdep
- Disable precompiled header
- cleanup BJAM_CONFIG
- Drop "-d+2" debug.

Survived a macppc bulk by kirby@
Survived a amd64 bulk by landry@
Build test on sparc64 and arm by jca@ (and many other tests)

Many thanks to all those who made it possible

Final ok landry@, jca@
2017-12-26 19:18:49 +00:00
espie
178d9e13a9 restore sensible permissions to a few wrkdirs. 2017-11-25 13:27:48 +00:00
espie
5fe763a76e Fix the clang config, really configure for INT128, using clang built-in
defines.

This lets i386 build clang.
2017-07-27 17:45:07 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
espie
7448552864 the tests are wrong, but it's simpler to define the annoying constant to 0 2017-06-04 19:05:03 +00:00
espie
b5b3ec374e clean up Vadim's mess, reorg file so that what we're doing is actually
documented
2017-06-03 14:59:11 +00:00
espie
582f69183e fix nasty clang bug that prevented facter from building 2017-06-02 02:21:06 +00:00
zhuk
c8e7b74b40 Better Clang support for Boost. Allows facter & friends to be built.
To be revisited later if something else will break under CMake.

a lot of valuable input from espie@
2017-05-30 18:00:53 +00:00
espie
8b0722750f rename COMPILER as TOOLSET in prevision of impending change 2017-05-30 07:54:36 +00:00
espie
ce0bafadca improve the clang config: boost hardcodes __attribute__((unused)) on the
wrong compiler, so re-add it (dependent ports will whine a lot less)
tell boost we have threads and int128 (there's not issue about dual
compiler for clang)
2017-05-24 08:30:20 +00:00
espie
48f8c79870 first try at a clang compile, reuse gcc config so that stuff that builds
does build.

todo:
- enable more stuff
- look closer at the tooling, needs something like the gcc config change

but at least, this allows us to look at the remaining ports.
2017-05-21 11:22:31 +00:00
espie
1727b3f900 do not redefine unix if it's already there, silences some clang warnings 2017-05-21 09:49:30 +00:00
espie
1eadd963d4 make sure the one test that boost fails on clang conforms to what gcc does 2017-05-20 10:32:43 +00:00
sthen
7e44b3e4be Add ${CLANG_ARCHS} to "ONLY_FOR_ARCHS = ${GCC4_ARCHS}" lines to give them
a chance on aarch64.
2017-04-19 11:16:03 +00:00