Commit Graph

312 Commits

Author SHA1 Message Date
Emily
fb2dd4aed7 boost175: drop
Obsolete version with no remaining users in the tree. Already removed
by other distributions.
2024-11-25 02:11:38 +00:00
Randy Eckenrode
6bda1a3ef4
boost: fix Darwin cross-compilation
b2 tries to invoke the linker without a prefix, which fails.
2024-10-10 01:07:02 -04:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
K900
5c68540f8b Merge remote-tracking branch 'origin/staging-next' into staging 2024-08-22 13:20:38 +03:00
tomberek
61c828ce8f
Merge pull request #329961 from ExpidusOS/fix/pkgsllvm/boost
boost{,-build}: fix building with llvm
2024-08-16 02:15:21 -04:00
Alexis Hildebrandt
3d2d84cc33 boost186: init at 1.86.0 2024-08-15 10:03:56 +02:00
Vladimír Čunát
a5b2fe7374
Merge #328673: staging-next 2024-07-20 2024-07-28 13:45:55 +02:00
Alyssa Ross
ff8359ab31 boost: fix build for s390
Boost seems to call both S390 and S390x "s390x".  At least that's how
Conan does it:

https://github.com/conan-io/conan-center-index/pull/8282
2024-07-28 12:20:51 +02:00
Tristan Ross
3e6180e984
boost: fix building with llvm 2024-07-25 12:47:39 -07:00
Artturin
821841dd87 boost: add a pkg-config file
for meson
2024-07-04 11:01:15 +02:00
Yohann Boniface
d20a86ccc1
pkgs/development/libraries: remove unused fetchpatch and other arguments (#313402) 2024-05-23 13:43:35 +02:00
Alexis Hildebrandt
1c3fc9cb29 boost185: init at 1.85.0
Release notes: https://www.boost.org/users/history/version_1_85_0.html
2024-04-16 11:28:50 +02:00
Markus Kowalewski
75e06d4270 boost: use getDev for mpi input 2024-02-01 11:08:56 +01:00
Peder Bergebakken Sundt
70c5084aea
Merge pull request #274393 from afh/init-boost184
boost184: init at 1.84.0
2024-01-11 02:18:13 +01:00
Alexis Hildebrandt
045d203df8 boost184: init at 1.84.0 2024-01-10 20:33:13 +01:00
Ryan Burns
c324705cc3 treewide: simplify exec format conditionals 2024-01-07 17:43:33 -08:00
John Ericson
e829eca886
Merge pull request #253939 from angerman/angerman/ucrt64
Add ucrt64 mingw toolchain.
2023-09-08 22:40:14 -04:00
Weijia Wang
547f990fdc
Merge pull request #253144 from jiegec/boost183
boost183: init at 1.83.0
2023-09-08 16:30:21 +02:00
Moritz Angermann
a81e3dcd75 treewide: replace libc == "msvcrt" with isMinGW
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.
2023-09-08 10:56:08 +00:00
Artturi
d78d760dae
Merge pull request #245300 from amjoseph-nixpkgs/pr/boost/move-mipsN32-to-badPlatforms 2023-09-08 01:32:00 +03:00
Jiajie Chen
557163a1dd boost183: init at 1.83.0 2023-09-04 09:00:35 +08:00
Adam Joseph
4a032b19fc boost: move isMips64n32 from meta.broken to meta.badPlatforms
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.
2023-07-24 21:27:39 -07:00
Guilhem Saurel
9f9b8a0733 boost: fix for python 3.11
ref. a218babc8d

Co-authored-by: Theodore Ni <3806110+tjni@users.noreply.github.com>
2023-07-14 09:43:16 +02:00
Weijia Wang
fe35cda7f9
Merge pull request #240642 from reckenrode/boost-clang16
boost{175,176,177,178,179,180}: clang 16 and libc++ 15 fixes
2023-06-30 17:15:06 +03:00
Randy Eckenrode
cec7b5e87c
boost{175,176,177,178,179,180}: fix build with clang 16
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.
2023-06-29 23:32:02 -04:00
Randy Eckenrode
e3323ac20c
boost{175,176,177,178,179,180}: fix build with libc++ 15+
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).
2023-06-29 23:32:02 -04:00
Uri Baghin
e1b4124f0a boost: fix cross compilation for darwin hosts 2023-06-22 15:33:54 +10:00
Weijia Wang
3c0a8a7dfd boost: cleanup 2023-06-12 14:41:05 +03:00
Nicolas Benes
a30bcb5d38 boost: Remove references to unsupported versions 2023-05-07 21:46:34 +02:00
Nicolas Benes
61e3deefae boost166: remove unused pkg 2023-05-07 18:38:50 +02:00
Nicolas Benes
c72178cf2b boost165: remove unused pkg 2023-05-07 18:38:32 +02:00
Alexis Hildebrandt
e73da62a1d boost182: init at 1.82.0
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-04-25 09:36:51 +02:00
Bouke van der Bijl
ab04f4777b boost: add zstd and lzma support
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
2023-02-02 10:55:16 +01:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
Sandro
1292c04563
Merge pull request #208210 from wegank/boost-181-init 2023-01-08 23:47:46 +01:00
Weijia Wang
436c5f8dc2 boost159, boost160: drop 2023-01-01 22:16:22 +01:00
Weijia Wang
6463ec06e3 boost181: init at 1.81.0 2022-12-29 10:29:26 +01:00
oxalica
06c0cce0e5 boost: add configurable enableIcu flag
This makes it easier to disable ICU support with `override`, where
the closure size matters.
2022-12-09 02:56:38 +08:00
Ben Wolsieffer
aa1b96ff78 boost: enable cross-compiling Boost.Python
Explicitly tell Boost where to find Python, so Boost.Python can build be cross-
compiled.
2022-11-11 17:29:53 -05:00
Alex Wied
aa473065cb boost180: init at 1.80.0 2022-10-24 15:01:47 -04:00
github-actions[bot]
aac580f88f
Merge master into staging-next 2022-10-20 00:05:13 +00:00
Adam Joseph
2df2b52806 boost/generic.nix: reference commit-hash in comment
The explanation for the conditional introduced by
61d9f201ba 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).
2022-10-19 20:22:45 +02:00
Adam Joseph
ac92b409b3 boost: if isMips use the "cross compile" codepath unconditionally
boost-context changed its name for mips from "mips1" to "mips" in this
commit:

  6edc8184a7

however the native-build code to detect the local architecture still
reports "mips1":

  67c074b249/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.
2022-10-19 20:22:45 +02:00
github-actions[bot]
ab4849492d
Merge master into staging-next 2022-10-17 06:24:16 +00:00
Ryan Burns
8b08189c61
Merge pull request #196244 from r-burns/boost-s390x
boost: support s390x
2022-10-16 22:48:36 -07:00
Ryan Burns
cc390e2ded boost: support s390x
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
2022-10-16 00:25:31 -07:00
Ryan Burns
bbe814352f boost: disable pch for darwin -> linux cross
PCH breaks the build when cross-compiling from darwin to linux.
Should fix a good number of our cross-trunk hydra builds.
2022-10-14 17:10:57 -07:00
Martin Weinelt
195aa5887d
boost: fix build with enablePython by passing libxcrypt 2022-10-09 18:14:36 +02:00
github-actions[bot]
48a7b8564d
Merge staging-next into staging 2022-09-01 06:07:49 +00:00
Nicolas Benes
9a3d274dd6 boost155: remove 2022-08-31 18:50:53 +02:00