@@ -2,6 +2,7 @@ using BinaryBuilder, Pkg
22
33const YGGDRASIL_DIR = " ../.."
44include (joinpath (YGGDRASIL_DIR, " fancy_toys.jl" ))
5+ include (joinpath (YGGDRASIL_DIR, " platforms" , " macos_sdks.jl" ))
56
67if ! @isdefined host_build
78 host_build = false
@@ -16,7 +17,7 @@ platforms_win = filter(Sys.iswindows, platforms)
1617platforms = setdiff (platforms, platforms_macos, platforms_win)
1718
1819# We must use the same version of LLVM for the build toolchain and LLVMCompilerRT_jll
19- qt_llvm_version = v " 16.0.6"
20+ qt_llvm_version = " 16.0.6"
2021
2122make_mac_product (p:: Product ) = p
2223function make_mac_product (lp:: LibraryProduct )
3031
3132function build_qt (name, version, sources, script, products, dependencies; products_win= products, ARGS = ARGS )
3233 products_macos = make_mac_product .(products)
33- preferred_llvm_version = qt_llvm_version
34+ preferred_llvm_version = VersionNumber ( qt_llvm_version)
3435 julia_compat= " 1.6"
3536 if any (should_build_platform .(triplet .(platforms_macos)))
36- build_tarballs (ARGS , name, version, sources, script, platforms_macos, products_macos, dependencies; preferred_llvm_version, julia_compat)
37+ sources_macos, script_macos = require_macos_sdk (" 14.0" , sources, script; deployment_target= " 12" )
38+ build_tarballs (ARGS , name, version, sources_macos, script_macos, platforms_macos, products_macos, dependencies; preferred_llvm_version, julia_compat)
3739 end
3840 # GCC 12 and before fail with internal compiler error on mingw
3941 if any (should_build_platform .(triplet .(platforms_win)))
0 commit comments