Skip to content

Commit c5f5ba4

Browse files
BrewTestBotbevanjkay
authored andcommitted
julia 1.11.5
julia: add cmake flags
1 parent e5e0ca6 commit c5f5ba4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: Formula/j/julia.rb

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ class Julia < Formula
66
stable do
77
# Use the `-full` tarball to avoid having to download during the build.
88
# TODO: Check if we can unbundle `curl`: https://github.com/JuliaLang/Downloads.jl/issues/260
9-
url "https://github.com/JuliaLang/julia/releases/download/v1.11.4/julia-1.11.4-full.tar.gz"
10-
sha256 "c4936562d05128842d7fe2be30734333519ea94a54861b5d0bfe38d103e96b5b"
9+
url "https://github.com/JuliaLang/julia/releases/download/v1.11.5/julia-1.11.5-full.tar.gz"
10+
sha256 "147626db6b6887bfb6612cb6cd2a48d689806649fae34dc749fddc8375c2c625"
1111

1212
depends_on "[email protected]"
1313

@@ -171,6 +171,8 @@ def install
171171
if build.head?
172172
args << "USE_SYSTEM_CURL=1"
173173
else
174+
# Fix for cmake version 4 compatibility
175+
inreplace "deps/tools/common.mk", "CMAKE_COMMON :=", "CMAKE_COMMON := -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
174176
args += ["USE_SYSTEM_CURL=0", "USE_SYSTEM_MBEDTLS=0"]
175177
# Julia 1.11 is incompatible with curl >= 8.10
176178
# Issue ref: https://github.com/JuliaLang/Downloads.jl/issues/260

0 commit comments

Comments
 (0)