summary refs log tree commit diff
path: root/pkgs/development/libraries/boost
Commit message (Collapse)AuthorAge
* Merge pull request #253939 from angerman/angerman/ucrt64John Ericson2023-09-08
|\ | | | | Add ucrt64 mingw toolchain.
| * treewide: replace libc == "msvcrt" with isMinGWMoritz Angermann2023-09-08
| | | | | | | | | | | | msvcrt is only one of the libcs in MinGW. We therefore replace explictly testing for msvcrt with the isMinGW predicate. This lays the foundation for ucrt64 support.
* | Merge pull request #253144 from jiegec/boost183Weijia Wang2023-09-08
|\ \ | |/ |/| boost183: init at 1.83.0
| * boost183: init at 1.83.0Jiajie Chen2023-09-04
| |
* | Merge pull request #245300 from ↵Artturi2023-09-08
|\ \ | |/ |/| | | amjoseph-nixpkgs/pr/boost/move-mipsN32-to-badPlatforms
| * boost: move isMips64n32 from meta.broken to meta.badPlatformsAdam Joseph2023-07-24
| | | | | | | | | | | | | | | | | | Presence in meta.badPlatforms can be tested with lib.meta.availableOn, but meta.broken cannot. I use this to compile as much of my routers' userspace as possible for Mips64n32, and to automatically detect the few binaries (mostly those which use boost) cannot and build those for Mips64n64.
* | boost: fix for python 3.11Guilhem Saurel2023-07-14
|/ | | | | | ref. https://github.com/boostorg/python/commit/a218babc8daee904a83f550fb66e5cb3f1cb3013 Co-authored-by: Theodore Ni <3806110+tjni@users.noreply.github.com>
* Merge pull request #240642 from reckenrode/boost-clang16Weijia Wang2023-06-30
|\ | | | | boost{175,176,177,178,179,180}: clang 16 and libc++ 15 fixes
| * boost{175,176,177,178,179,180}: fix build with clang 16Randy Eckenrode2023-06-29
| | | | | | | | | | | | Clang 16 began diagnosing ill-formed constant expressions for values outside the range of enums without a fixed underlying type. While the error can be suppressed, it will become a hard error in clang 17.
| * boost{175,176,177,178,179,180}: fix build with libc++ 15+Randy Eckenrode2023-06-29
| | | | | | | | | | | | | | | | | | | | libc++ 15 dropped support for `std::unary_function` and `std::binary_function` in C++17 and C++20. C++17 is the default for clang 16, but clang 15 is also affected in those language modes. This incompatibility is fixed in Boost 1.81, but the late patch for Boost 1.80 applies to earlier versions and allows those versions to build with clang 16 (and clang 15 in the affected modes).
* | boost: fix cross compilation for darwin hostsUri Baghin2023-06-22
|/
* boost: cleanupWeijia Wang2023-06-12
|
* boost: Remove references to unsupported versionsNicolas Benes2023-05-07
|
* boost166: remove unused pkgNicolas Benes2023-05-07
|
* boost165: remove unused pkgNicolas Benes2023-05-07
|
* boost182: init at 1.82.0Alexis Hildebrandt2023-04-25
| | | | Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
* boost: add zstd and lzma supportBouke van der Bijl2023-02-02
| | | | | The boost iostreams library supports zstd and lzma compression if it can find the packages: https://www.boost.org/doc/libs/1_79_0/libs/iostreams/doc/installation.html
* treewide: remove global with lib; statements in pkgs/developmentShawn89012023-01-26
|
* Merge pull request #208210 from wegank/boost-181-initSandro2023-01-08
|\
| * boost181: init at 1.81.0Weijia Wang2022-12-29
| |
* | boost159, boost160: dropWeijia Wang2023-01-01
|/
* boost: add configurable `enableIcu` flagoxalica2022-12-09
| | | | | This makes it easier to disable ICU support with `override`, where the closure size matters.
* boost: enable cross-compiling Boost.PythonBen Wolsieffer2022-11-11
| | | | | Explicitly tell Boost where to find Python, so Boost.Python can build be cross- compiled.
* boost180: init at 1.80.0Alex Wied2022-10-24
|
* Merge master into staging-nextgithub-actions[bot]2022-10-20
|\
| * boost/generic.nix: reference commit-hash in commentAdam Joseph2022-10-19
| | | | | | | | | | | | | | | | | | | | | | | | The explanation for the conditional introduced by 61d9f201baeef4c4bb91ad8a8f5f89b747e0dfe4 is longer than a reasonable inline comment should be. It directed the reader to use `git blame`, but that tends to bitrot. Let's point the user to a specific nixpkgs git hash. This commit cannot be squashed into the previous commit, because a commit cannot mention its own commit-hash (without performaing an expensive double-sha1 preimage attack, of course).
| * boost: if isMips use the "cross compile" codepath unconditionallyAdam Joseph2022-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boost-context changed its name for mips from "mips1" to "mips" in this commit: https://github.com/boostorg/context/commit/6edc8184a7136de4603a6f903d9b9b864ca9cf57 however the native-build code to detect the local architecture still reports "mips1": https://github.com/boostorg/boost/blob/67c074b249538cf441724f9bbb3929d0f6b4f333/boostcpp.jam#L637 Therefore native builds of boost-context on mips must specify architecture= explicitly; without this you will get link failures "undefined reference to `jump_fcontext`" in code that uses boost-context. Currently the "cross compile" codepath, which provides explicit architecture/abi/address-model/binary-format/os parameters, is prefixed by this comment: ``` # TODO: make this unconditional ``` This commit does so, at least if `isMips`. This commit is needed in order for native builds of nix to succeed on mips.
* | Merge master into staging-nextgithub-actions[bot]2022-10-17
|\|
| * Merge pull request #196244 from r-burns/boost-s390xRyan Burns2022-10-16
| |\ | | | | | | boost: support s390x
| | * boost: support s390xRyan Burns2022-10-16
| | | | | | | | | | | | | | | | | | s390x will return s390 as its cpu family, but boost does not have generic s390 support, only s390x. Add a special case to build for s390x architecture
| * | boost: disable pch for darwin -> linux crossRyan Burns2022-10-14
| |/ | | | | | | | | PCH breaks the build when cross-compiling from darwin to linux. Should fix a good number of our cross-trunk hydra builds.
* / boost: fix build with enablePython by passing libxcryptMartin Weinelt2022-10-09
|/
* Merge staging-next into staginggithub-actions[bot]2022-09-01
|\
| * boost155: removeNicolas Benes2022-08-31
| |
* | boost: allow enablePython in cross compilationYves Fischer2022-08-25
|/
* boost: use jfrog mirror instead of bintrayPavol Rusnak2022-06-20
| | | | | See https://www.boost.org/users/news/boost_has_moved_downloads_to_jfr.html for more info
* boost179: init at 1.79.0Alex Wied2022-05-12
|
* boost159: fix build on aarch64-darwinAndrew Childs2022-05-08
|
* treewide: Simplify negated uses of versionAtLeast, versionOlderAnders Kaseorg2022-04-25
| | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* boost: fix taxonomy mistake, account taxonomy change in v1.78Adam Joseph2022-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes two changes: 1. Boost changed its taxonomy for architecture names between the 1.77 and 1.78 releases, in this commit: https://github.com/boostorg/context/commit/6edc8184a7136de4603a6f903d9b9b864ca9cf57 2. During the review of #161162 I [was asked about][1] the source of the [mips64-context.patch][2] that I had included in the original version of the PR. I searched through the boost-context revision history and found [a nearly identical patch][3], which I substituted in the final, merged version of the PR. As it turns out, my [mips64-context.patch][2] was an earlier revision of what was eventually accepted to boost-context. The only difference between the two patches is the name they use: mips64 vs mips1. When switching to the accepted version of the boost patch, I should have also updated libraries/boost/generic.nix to change mips64 to mips1. This commit does that. [1]: https://github.com/NixOS/nixpkgs/pull/161162#discussion_r847903087 [2]: https://raw.githubusercontent.com/a-m-joseph/nixpkgs/1ca5025945470ce96408552b9117674b12efaf04/pkgs/development/libraries/boost/mips64-context.patch [3]: https://github.com/boostorg/context/commit/e3f744a1862164062d579d1972272d67bdaa9c39.patch
* boost: support for cross-compiling boost to a mips64 targetAdam Joseph2022-04-12
| | | | Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* boost: make boost work for static darwin buildsDoro Rose2022-04-10
| | | | | Prior needsUserConfig setting is unconditionally applied for darwin. This is not valid for static builds and should only be set for dynamically linked darwin builds.
* Merge #161568: boost178: init at 1.78.0Vladimír Čunát2022-04-10
|\ | | | | | | | | This was merged to `staging` already, but that's just unnecessary delay after the PR was amended not to change boost defaults.
| * boost178: init at 1.78.0wheelsandmetal2022-03-31
| |
* | Merge master into staging-nextgithub-actions[bot]2022-03-25
|\ \
| * \ Merge pull request #165327 from ncfavier/fetchpatch-relativemaralorn2022-03-25
| |\ \ | | | | | | | | fetchpatch: add `preIncludes` and `relative`
| | * | boost177: use fetchpatch's `relative` argumentNaïm Favier2022-03-25
| | | | | | | | | | | | | | | | We can drop `includes` since there's only one file in that directory.
* | | | Merge staging-next into staginggithub-actions[bot]2022-03-23
|\| | |
| * | | boost: unbreak build for 1.65 and 1.66 (#163216)Markus Wamser2022-03-23
| |/ / | | | | | | Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* / / boost1{69,70,72}: fix build w/glibc-2.34Maximilian Bosch2022-02-27
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To quote the release-notes[1]: > When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined, > PTHREAD_STACK_MIN is no longer constant and is redefined to > sysconf(_SC_THREAD_STACK_MIN). This supports dynamic sized register > sets for modern architectural features like Arm SVE. This basically means that if the above applies, `#if PTHREAD_STACK_MIN > 0` won't compile anymore because `PTHREAD_STACK_MIN` isn't a hard-coded number, but `__sysconf (__SC_THREAD_STACK_MIN_VALUE)`[2]. The issue (for 1.69, 1.70, 1.72 - the other versions seem OK) was reported upstream, but only for Solaris[3], however the corresponding patches[4] seem to work as well for us. Failing Hydra build: https://hydra.nixos.org/build/150926294 [1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html [2] See `${pkgs.glibc.dev}/include/bits/pthread_stack_min-dynamic.h` [3] https://github.com/boostorg/thread/issues/283 [4] https://github.com/conan-io/conan-center-index/pull/361