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
With the Static Linux SDK swiftly can be compiled on a particular
Linux and processor architecture and the binary can run on a very
wide variety of versions and distributions. This eliminates the need
to build swiftly on "older" Linux distributions to produce a binary
that runs on the "newer" ones>
Bump the version of swift-tools-support-core so that it compiles
successfully in a Static SDK environment with Musl.
Fix the readLine function to add a newline to the prompt so that it
prints it out before waiting on user input on stdin.
Update the build-swiftly-release tool. First, detect the version of
swift so that the matching version of the Static SDK is downloaded
and installed into the toolchain. Use the Musl that is inside it to
configure and compile libarchive along with a special must-clang
wrapper script that sets the correct compile options to use Musl
instead of the system's glibc. Finally, build the swiftly binary with
the Static SDK / Musl linking it together with the Musl compiled
libarchive.
Deprecate the old flag that would decide between RHEL UBI9
or Amazon Linux 2 as the required release building platform and
eliminate the supported Linux check.
throwError(message:"Linux releases must be made from specific distributions so that the binary can be used everyone else because it has the oldest version of glibc for maximum compatibility with other versions of Linux. Please try again with \(!self.useRhelUbi9 ?"Amazon Linux 2":"RedHat UBI 9").")
302
-
}
303
-
#endif
304
-
305
260
// TODO: turn these into checks that the system meets the criteria for being capable of using the toolchain + checking for packages, not tools
306
261
letcurl=tryawaitself.assertTool("curl", message:"Please install curl with `yum install curl`")
307
262
lettar=tryawaitself.assertTool("tar", message:"Please install tar with `yum install tar`")
0 commit comments