Skip to content

Commit e5620fe

Browse files
authored
Merge pull request #224288 from Homebrew/bump-node-24.1.0
node 24.1.0
2 parents aca71ba + 21bfc94 commit e5620fe

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed
File renamed without changes.

Formula/n/node.rb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Node < Formula
22
desc "Platform built on V8 to build network applications"
33
homepage "https://nodejs.org/"
4-
url "https://nodejs.org/dist/v23.11.0/node-v23.11.0.tar.xz"
5-
sha256 "f2c5db21fc5d3c3d78c7e8823bff770cef0da8078c3b5ac4fa6d17d5a41be99d"
4+
url "https://nodejs.org/dist/v24.1.0/node-v24.1.0.tar.xz"
5+
sha256 "c8171b2aeccb28c8c5347f273a25adae172fb2a65bc8c975bc22ec58949d0eaf"
66
license "MIT"
77
head "https://github.com/nodejs/node.git", branch: "main"
88

@@ -12,14 +12,13 @@ class Node < Formula
1212
end
1313

1414
bottle do
15-
rebuild 1
16-
sha256 arm64_sequoia: "5e18e143193267631cacdb1b349af222a4e0354461a844840b8f74e1096ee187"
17-
sha256 arm64_sonoma: "9bbd828006bd4a3beacca4c5c4169921c0652f71c5f329a6d41dfac23c36a0bd"
18-
sha256 arm64_ventura: "9be149abb8ce827d580ea1557c6be8a71222fa38cb785af0cb879694bd0db28d"
19-
sha256 sonoma: "31eb61b74270e89351c557b688948fe90a50f9838ca1870fe304c19816e6a7af"
20-
sha256 ventura: "815de04f73bb36c3d71799b1f44601a2d7b10b56bc16fee1fac1d8c39c7c2c75"
21-
sha256 arm64_linux: "f82e24cf67c6b2d58da09272dda33d760834aabed910267847c09265b2320f71"
22-
sha256 x86_64_linux: "2cee5b721e8a6f1dd08dd9117222ddc3353d368153e5ecbeff2cb3e21eb76da7"
15+
sha256 arm64_sequoia: "4ac10d9be9e56660b2d32fe4507dd1580e938a7574a3e554f5a7d3562ef07c32"
16+
sha256 arm64_sonoma: "ad210774381a24f6ac082d8b4f6ba7f65773dd4d5f55f67d0b678e8affe923df"
17+
sha256 arm64_ventura: "406a1d8a31dcd3504de4d903932e696907bcfe10ba4ec9eab4e785fa6cd57732"
18+
sha256 sonoma: "3aef4a32088fdaac97492ba0ff4a7c9ebda01fb0823d5470b4818615bbbed09a"
19+
sha256 ventura: "c265b0bd932b266b363a749c9d3a22eeaab8fc8a6f28682e92279595137489fc"
20+
sha256 arm64_linux: "949c55c64694e57eb1f54b59c989b299644a4cb3eb0393a3302d5ad5fa44adba"
21+
sha256 x86_64_linux: "0fb5a847e017b00fb706ec09fc2cb9a07c0fdee05def0f9698ae516113dcb5f8"
2322
end
2423

2524
depends_on "pkgconf" => :build
@@ -35,18 +34,18 @@ class Node < Formula
3534
uses_from_macos "zlib"
3635

3736
on_macos do
38-
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1500
37+
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1699
3938
end
4039

4140
on_linux do
4241
# Avoid newer GCC which creates binary with higher GLIBCXX requiring runtime dependency
4342
depends_on "gcc@12" => :build if DevelopmentTools.gcc_version("/usr/bin/gcc") < 12
4443
end
4544

46-
# https://github.com/swiftlang/llvm-project/commit/94461822c75d5080bf648f86552f7a59b76905c9
45+
# https://github.com/swiftlang/llvm-project/commit/078651b6de4b767b91e3e6a51e5df11a06d7bc4f
4746
fails_with :clang do
48-
build 1500
49-
cause "needs std::ranges::elements_view"
47+
build 1699
48+
cause "needs SFINAE-friendly std::pointer_traits"
5049
end
5150

5251
# https://github.com/nodejs/node/blob/main/BUILDING.md#supported-toolchains
@@ -59,12 +58,12 @@ class Node < Formula
5958
# We track major/minor from upstream Node releases.
6059
# We will accept *important* npm patch releases when necessary.
6160
resource "npm" do
62-
url "https://registry.npmjs.org/npm/-/npm-10.9.2.tgz"
63-
sha256 "5cd1e5ab971ea6333f910bc2d50700167c5ef4e66da279b2a3efc874c6b116e4"
61+
url "https://registry.npmjs.org/npm/-/npm-11.3.0.tgz"
62+
sha256 "1c2dd63f96799ed4bf92b7806d8509302a0f8da68ca452aae27f24388bb41df4"
6463
end
6564

6665
def install
67-
ENV.llvm_clang if OS.mac? && DevelopmentTools.clang_build_version <= 1500
66+
ENV.llvm_clang if OS.mac? && DevelopmentTools.clang_build_version <= 1699
6867

6968
# The new linker crashed during LTO due to high memory usage.
7069
ENV.append "LDFLAGS", "-Wl,-ld_classic" if DevelopmentTools.clang_build_version >= 1500
@@ -102,7 +101,8 @@ def install
102101
# terminate called after throwing an instance of 'std::out_of_range'
103102
# macOS also can't build with LTO when using LLVM Clang
104103
# LTO is unpleasant if you have to build from source.
105-
args << "--enable-lto" if OS.mac? && DevelopmentTools.clang_build_version > 1500 && build.bottle?
104+
# FIXME: re-enable me, currently crashes sequoia runner after 6 hours
105+
# args << "--enable-lto" if OS.mac? && DevelopmentTools.clang_build_version > 1699 && build.bottle?
106106

107107
system "./configure", *args
108108
system "make", "install"

0 commit comments

Comments
 (0)