File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
# output to determine whether or not the compiler is an Xcode Clang.
3
3
#
4
4
# 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.
6
6
# ver = the version number of the Xcode Clang. If it's not Xcode Clang, ver is nothing.
7
7
function _is_xcode_clt ()
8
8
cmd = ` $(get_compiler_cmd ()) --version`
@@ -25,7 +25,7 @@ function _is_xcode_clt()
25
25
ver_str = strip (m[1 ])
26
26
ver = tryparse (VersionNumber, ver_str)
27
27
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
29
29
(; b= false , ver= nothing )
30
30
end
31
31
b = true
43
43
function _is_xcode_clt_and_is_gte_xcode_15 ()
44
44
str = strip (get (ENV , " JULIA_PACKAGECOMPILER_XCODE_CLT_MAJOR_VERSION" , " " ))
45
45
ver_int = tryparse (Int, str)
46
- (ver_int isa Int) && return ver_int
46
+ (ver_int isa Int) && return ( ver_int >= 15 )
47
47
48
48
result = _is_xcode_clt ()
49
49
if result. b
You can’t perform that action at this time.
0 commit comments