You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve SPI JAVA_HOME check: don't suppress proper error messaging when the package manifest is used in the context of the SPI's build system.
(This won't make a difference once Java is actually installed on our builders but gives a proper error message in the logs until that's the case.)
// Just ignore that we're missing a JAVA_HOME when building in Swift Package Index during general processing where no Java is needed. However, do _not_ suppress the error during SPI's compatibility build stage where Java is required.
37
37
return""
38
38
}
39
39
fatalError("Please set the JAVA_HOME environment variable to point to where Java is installed.")
0 commit comments