Closed sebsto closed 6 months ago
This PR adds a new directory under Platforms/Linux/RPM/AmazonLinux to support building RPMs for Amazon Linux 2023.
Platforms/Linux/RPM/AmazonLinux
The main changes are:
ld.gold
build_script
rpmbuild
This is only tested on x64 and Swift 5.8.
It is known to not work with Swift 5.9. Additional changes are required to build Swift 5.9 (list is not complete) :
@tomerd @shahmishal @compnerd This is a first drop to create the RPM for Swift 5.8, Amazon Linux 2023, x64 I would need this to be published to facilitate the 5.9 build.
What do you think ?
This PR adds a new directory under
Platforms/Linux/RPM/AmazonLinux
to support building RPMs for Amazon Linux 2023.The main changes are:
ld.gold
from sources (see https://github.com/apple/swift/issues/65495) (with this script to download, compile, and install the linker)build_script
set the required compiler and linker flags, instead ofrpmbuild
This is only tested on x64 and Swift 5.8.
It is known to not work with Swift 5.9. Additional changes are required to build Swift 5.9 (list is not complete) :