File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22# output to determine whether or not the compiler is an Xcode Clang.
33#
44# The return value is a NamedTuple of the form (; b, ver)
5- # b = a Bool that is true iff he compiler is an Xcode Clang.
5+ # b = a Bool that is true iff the compiler is an Xcode Clang.
66# ver = the version number of the Xcode Clang. If it's not Xcode Clang, ver is nothing.
77function _is_xcode_clt ()
88 cmd = ` $(get_compiler_cmd ()) --version`
@@ -25,7 +25,7 @@ function _is_xcode_clt()
2525 ver_str = strip (m[1 ])
2626 ver = tryparse (VersionNumber, ver_str)
2727 if isnothing (ver)
28- @warn " Could not determine the version of the Xcode Command Line Tools"
28+ @warn " Could not determine the version of the Xcode Command Line Tools" ver_str
2929 (; b= false , ver= nothing )
3030 end
3131 b = true
4343function _is_xcode_clt_and_is_gte_xcode_15 ()
4444 str = strip (get (ENV , " JULIA_PACKAGECOMPILER_XCODE_CLT_MAJOR_VERSION" , " " ))
4545 ver_int = tryparse (Int, str)
46- (ver_int isa Int) && return ver_int
46+ (ver_int isa Int) && return ( ver_int >= 15 )
4747
4848 result = _is_xcode_clt ()
4949 if result. b
You can’t perform that action at this time.
0 commit comments