Commit Graph

756 Commits

Author SHA1 Message Date
Rucadi
49adc35edc
nodejs_18: Add comment to warn about ffi-napi compatibility problem to prevent updating to newer versions. 2024-03-28 23:23:15 +01:00
rucadi
aeae82eb6b Revert "nodejs_18: 18.19.1 -> 18.20.0"
This reverts commit b5e930a583.
2024-03-28 19:41:21 +01:00
Mario Rodas
b5e930a583 nodejs_18: 18.19.1 -> 18.20.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.20.0
2024-03-26 04:20:00 +00:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Mario Rodas
6837b28d6e nodejs_21: 21.7.0 -> 21.7.1
Changelog: https://github.com/nodejs/node/releases/tag/v21.7.1
2024-03-08 04:20:00 +00:00
Mario Rodas
a07ebaa556 nodejs_21: 21.6.2 -> 21.7.0
Changelog: https://github.com/nodejs/node/releases/tag/v21.7.0
2024-03-07 04:20:00 +00:00
Mario Rodas
e02399bdd8 nodejs_21: 21.6.1 -> 21.6.2
Changelog: https://github.com/nodejs/node/releases/tag/v21.6.2
2024-02-14 04:20:00 +00:00
Mario Rodas
60bbd39dd7 nodejs_20: 20.11.0 -> 20.11.1
Changelog: https://github.com/nodejs/node/releases/tag/v20.11.1
2024-02-14 04:20:00 +00:00
Mario Rodas
4ae7cfd895 nodejs_18: 18.19.0 -> 18.19.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.19.1
2024-02-14 04:20:00 +00:00
github-actions[bot]
70e275b1cb
Merge master into staging-next 2024-01-23 06:00:55 +00:00
Mario Rodas
77f691c8bb nodejs_21: 21.6.0 -> 21.6.1
Changelog: https://github.com/nodejs/node/releases/tag/v21.6.1
2024-01-22 20:02:12 -05:00
github-actions[bot]
5fe540596f
Merge staging-next into staging 2024-01-17 18:01:27 +00:00
Mario Rodas
32c00dc370 nodejs_21: 21.5.0 -> 21.6.0
Diff: https://github.com/nodejs/node/compare/v21.5.0...v21.6.0

Changelog: https://github.com/nodejs/node/releases/tag/v21.6.0
2024-01-17 04:20:00 +00:00
Mario Rodas
fea57dc5b5 nodejs_20: 20.10.0 -> 20.11.0
Changelog: https://github.com/nodejs/node/releases/tag/v20.11.0
2024-01-12 04:20:00 +00:00
Mario Rodas
2957b358d4 nodejs_21: 21.4.0 -> 21.5.0
Changelog: https://github.com/nodejs/node/releases/tag/v21.5.0
2023-12-23 04:20:00 +00:00
Qusic
42b0713b5f nodejs_21: 21.3.0 -> 21.4.0 2023-12-16 22:08:49 +08:00
github-actions[bot]
035a649a67
Merge master into staging-next 2023-12-06 06:01:30 +00:00
Rick van Schijndel
ba75066821
Merge pull request #271362 from pbsds/rm-dead-patches
treewide: remove unreferenced patch files
2023-12-06 03:28:15 +01:00
github-actions[bot]
9cca0e4288
Merge master into staging-next 2023-12-01 12:01:16 +00:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
Mario Rodas
a0681500a9 nodejs_21: 21.2.0 -> 21.3.0
Changelog: https://github.com/nodejs/node/releases/tag/v21.3.0
2023-11-30 04:20:00 +00:00
Mario Rodas
3f05c9a8f8 nodejs_18: 18.18.2 -> 18.19.0
Changelog: https://github.com/nodejs/node/releases/tag/v18.19.0
2023-11-29 04:20:00 +00:00
Mario Rodas
120a67bbfa nodejs_20: 20.9.0 -> 20.10.0
Changelog: https://github.com/nodejs/node/releases/tag/v20.10.0
2023-11-23 04:20:00 +00:00
Raito Bezarius
b013b3ee50 nodejs_16: drop
Security support EOLed 1 month ago.
2023-11-17 20:26:55 +01:00
Raito Bezarius
2912f7ec10 nodejs_14: drop
Security support EOLed 6 months ago.
2023-11-17 16:05:24 +01:00
Vladimír Čunát
c46eae0f35
Merge branch 'master' into staging-next 2023-11-15 07:33:10 +01:00
Mario Rodas
e072852d9f nodejs_21: 21.1.0 -> 21.2.0
Changelog: https://github.com/nodejs/node/releases/tag/v21.2.0
2023-11-14 04:20:00 +00:00
Randy Eckenrode
b034e4cbf1
nodejs_18: fix build with clang 16 mk2
Trying to backport the fixes from v8 caused crashes with npm when
building other packages, so just build it with clang 15.
2023-10-29 09:58:01 -04:00
Randy Eckenrode
81d2db9460
Revert "nodejs_18: fix build with clang 16"
This reverts commit 81e4ca55c8.
2023-10-29 09:58:00 -04:00
Randy Eckenrode
81e4ca55c8
nodejs_18: fix build with clang 16
Backport a patch from v8 that resolves an enum width error when building
with clang 16.
2023-10-26 20:08:29 -04:00
Vladimír Čunát
d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
Mario Rodas
fdf2af1cdf nodejs_21: 21.0.0 -> 21.1.0
Diff: https://github.com/nodejs/node/compare/v21.0.0...v21.1.0

Changelog: https://github.com/nodejs/node/releases/tag/v21.1.0
2023-10-25 04:20:00 +00:00
Mario Rodas
11011277cb nodejs_20: 20.8.1 -> 20.9.0
Diff: https://github.com/nodejs/node/compare/v20.8.1...v20.9.0

Changelog: https://github.com/nodejs/node/releases/tag/v20.9.0
2023-10-25 04:20:00 +00:00
github-actions[bot]
b0ec8bbe1d
Merge staging-next into staging 2023-10-20 12:01:55 +00:00
github-actions[bot]
d7e9da1742
Merge master into staging-next 2023-10-20 12:01:24 +00:00
Randy Eckenrode
3cb5c1189f
nodejs_16: work around building with clang 16
Node v16 can’t build with clang 16 due to `-Wenum-constexpr-conversion`
errors. Since the backport patch from v8 does not apply to Node v14, and
it is likely this will become a hard error in future versions of clang,
use clang 15 when the version in the stdenv is newer.

The version of libc++ used with the clang is made to match the one used
in the stdenv to avoid possible issues with mixing multiple versions of
libc++ in one binary (e.g., icu links against libc++).
2023-10-19 15:22:52 -04:00
Randy Eckenrode
3ad67b4e12
nodejs_14: work around building with clang 16
Node v14 can’t build with clang 16 due to `-Wenum-constexpr-conversion`
errors. Since the backport patch from v8 does not apply to Node v14, and
it is likely this will become a hard error in future versions of clang,
use clang 15 when the version in the stdenv is newer.

The version of libc++ used with the clang is made to match the one used
in the stdenv to avoid possible issues with mixing multiple versions of
libc++ in one binary (e.g., icu links against libc++).
2023-10-19 15:22:52 -04:00
Randy Eckenrode
cf1128c17a
nodejs: clang 16 compatibility for x86_64-darwin
Make aligned allocations work on x86_64-darwin by ensuring libc++ uses
`posix_memalign` instead of `aligned_alloc`, which was added in 10.15.
2023-10-19 15:22:51 -04:00
Mario Rodas
d479580285 nodejs_21: init at 21.0.0
Changelog: https://github.com/nodejs/node/releases/tag/v21.0.0
2023-10-16 16:20:00 -05:00
github-actions[bot]
fbd39f6b6b
Merge staging-next into staging 2023-10-14 06:01:29 +00:00
Mario Rodas
547ea2e2e1 nodejs_20: 20.8.0 -> 20.8.1
Changelog: https://github.com/nodejs/node/releases/tag/v20.8.1
2023-10-13 04:20:00 +00:00
Mario Rodas
bf85265bb3 nodejs_18: 18.18.1 -> 18.18.2
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.2
2023-10-13 04:20:00 +00:00
github-actions[bot]
7909827752
Merge staging-next into staging 2023-10-12 00:02:50 +00:00
Mario Rodas
c8e2c3fb58 nodejs_18: 18.18.0 -> 18.18.1
Changelog: https://github.com/nodejs/node/releases/tag/v18.18.1
2023-10-11 04:20:00 +00:00
github-actions[bot]
54de96536d
Merge staging-next into staging 2023-09-29 18:01:23 +00:00
Mario Rodas
d0829e587e nodejs_20: 20.7.0 -> 20.8.0
Changelog: https://github.com/nodejs/node/releases/tag/v20.8.0
2023-09-29 04:20:00 +00:00
Sophie Tauchert
45fa4a8863
nodejs: use system ca certificate store 2023-09-27 00:14:23 +02:00
Fabián Heredia Montiel
b2f85dbf28 Merge remote-tracking branch 'origin/master' into staging-next 2023-09-20 15:08:16 -06:00
Wout Mertens
00de2104fc corepack: PR review updates
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Sandro Jaeckel <sandro.jaeckel@gmail.com>
2023-09-20 17:27:05 +02:00
Wout Mertens
724f6bcb77 nodejs: corepack wrappers package 2023-09-20 10:10:51 +02:00