Skip to content

Commit 13b16c3

Browse files
BrewTestBotbranchv
andcommitted
node 24.1.0
Co-authored-by: Branch Vincent <[email protected]>
1 parent 359120f commit 13b16c3

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed
File renamed without changes.

Formula/n/node.rb

Lines changed: 11 additions & 10 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

@@ -35,18 +35,18 @@ class Node < Formula
3535
uses_from_macos "zlib"
3636

3737
on_macos do
38-
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1500
38+
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1699
3939
end
4040

4141
on_linux do
4242
# Avoid newer GCC which creates binary with higher GLIBCXX requiring runtime dependency
4343
depends_on "gcc@12" => :build if DevelopmentTools.gcc_version("/usr/bin/gcc") < 12
4444
end
4545

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

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

6666
def install
67-
ENV.llvm_clang if OS.mac? && DevelopmentTools.clang_build_version <= 1500
67+
ENV.llvm_clang if OS.mac? && DevelopmentTools.clang_build_version <= 1699
6868

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

107108
system "./configure", *args
108109
system "make", "install"

0 commit comments

Comments
 (0)