diff --git a/.gitignore b/.gitignore index dd0d0c6..410bde1 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,90 @@ /swift-llvm-bindings.zip /swift-testing.tar.gz /zlib13.zip +/zlib131.zip +/swift-async-algorithms.tar.gz +/swift-log.tar.gz +/swift-sdk-generator.tar.gz +/swift-toolchain-sqlite.tar.gz +/CMake-3.30.2.tar.gz +/curl-curl-8_9_1.tar.gz +/indexstore-db-swift-6.1.3-RELEASE.tar.gz +/libxml2-2.11.5.tar.gz +/llvm-project-swift-6.1.3-RELEASE.tar.gz +/ninja-1.11.1.tar.gz +/sourcekit-lsp-swift-6.1.3-RELEASE.tar.gz +/swift-argument-parser-1.4.0.tar.gz +/swift-asn1-1.0.0.tar.gz +/swift-async-algorithms-1.0.1.tar.gz +/swift-atomics-1.2.0.tar.gz +/swift-certificates-1.0.1.tar.gz +/swift-cmark-swift-6.1.3-RELEASE.tar.gz +/swift-collections-1.1.3.tar.gz +/swift-corelibs-foundation-swift-6.1.3-RELEASE.tar.gz +/swift-corelibs-libdispatch-swift-6.1.3-RELEASE.tar.gz +/swift-corelibs-xctest-swift-6.1.3-RELEASE.tar.gz +/swift-crypto-3.0.0.tar.gz +/swift-docc-render-artifact-swift-6.1.3-RELEASE.tar.gz +/swift-docc-swift-6.1.3-RELEASE.tar.gz +/swift-docc-symbolkit-swift-6.1.3-RELEASE.tar.gz +/swift-driver-swift-6.1.3-RELEASE.tar.gz +/swift-experimental-string-processing-swift-6.1.3-RELEASE.tar.gz +/swift-format-swift-6.1.3-RELEASE.tar.gz +/swift-foundation-icu-swift-6.1.3-RELEASE.tar.gz +/swift-foundation-swift-6.1.3-RELEASE.tar.gz +/swift-installer-scripts-swift-6.1.3-RELEASE.tar.gz +/swift-integration-tests-swift-6.1.3-RELEASE.tar.gz +/swift-llbuild-swift-6.1.3-RELEASE.tar.gz +/swift-llvm-bindings-swift-6.1.3-RELEASE.tar.gz +/swift-lmdb-swift-6.1.3-RELEASE.tar.gz +/swift-log-1.5.4.tar.gz +/swift-markdown-swift-6.1.3-RELEASE.tar.gz +/swift-nio-2.65.0.tar.gz +/swift-numerics-1.0.2.tar.gz +/swift-package-manager-swift-6.1.3-RELEASE.tar.gz +/swift-sdk-generator-swift-6.1.3-RELEASE.tar.gz +/swift-stress-tester-swift-6.1.3-RELEASE.tar.gz +/swift-swift-6.1.3-RELEASE.tar.gz +/swift-syntax-swift-6.1.3-RELEASE.tar.gz +/swift-system-1.3.0.tar.gz +/swift-testing-swift-6.1.3-RELEASE.tar.gz +/swift-toolchain-sqlite-1.0.1.tar.gz +/swift-tools-support-core-swift-6.1.3-RELEASE.tar.gz +/swift-xcode-playground-support-swift-6.1.3-RELEASE.tar.gz +/wasi-libc-wasi-sdk-22.tar.gz +/WasmKit-0.1.2.tar.gz +/Yams-5.0.6.tar.gz +/zlib-1.3.1.tar.gz +/indexstore-db-swift-6.2-RELEASE.tar.gz +/llvm-project-swift-6.2-RELEASE.tar.gz +/mimalloc-3.0.1.tar.gz +/sourcekit-lsp-swift-6.2-RELEASE.tar.gz +/swift-build-swift-6.2-RELEASE.tar.gz +/swift-cmark-gfm.tar.gz +/swift-corelibs-foundation-swift-6.2-RELEASE.tar.gz +/swift-corelibs-libdispatch-swift-6.2-RELEASE.tar.gz +/swift-corelibs-xctest-swift-6.2-RELEASE.tar.gz +/swift-docc-render-artifact-swift-6.2-RELEASE.tar.gz +/swift-docc-swift-6.2-RELEASE.tar.gz +/swift-docc-symbolkit-swift-6.2-RELEASE.tar.gz +/swift-driver-swift-6.2-RELEASE.tar.gz +/swift-experimental-string-processing-swift-6.2-RELEASE.tar.gz +/swift-format-swift-6.2-RELEASE.tar.gz +/swift-foundation-icu-swift-6.2-RELEASE.tar.gz +/swift-foundation-swift-6.2-RELEASE.tar.gz +/swift-installer-scripts-swift-6.2-RELEASE.tar.gz +/swift-integration-tests-swift-6.2-RELEASE.tar.gz +/swift-llbuild-swift-6.2-RELEASE.tar.gz +/swift-llvm-bindings-swift-6.2-RELEASE.tar.gz +/swift-lmdb-swift-6.2-RELEASE.tar.gz +/swift-markdown-swift-6.2-RELEASE.tar.gz +/swift-package-manager-swift-6.2-RELEASE.tar.gz +/swift-sdk-generator-swift-6.2-RELEASE.tar.gz +/swift-stress-tester-swift-6.2-RELEASE.tar.gz +/swift-swift-6.2-RELEASE.tar.gz +/swift-syntax-swift-6.2-RELEASE.tar.gz +/swift-system-1.5.0.tar.gz +/swift-testing-swift-6.2-RELEASE.tar.gz +/swift-tools-support-core-swift-6.2-RELEASE.tar.gz +/swift-xcode-playground-support-swift-6.2-RELEASE.tar.gz +/wasi-libc-wasi-sdk-24.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..1cfec91 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# Swift Language Fedora Package + +## update-swift-version.sh + +A script to update the Swift language package to a new version by automatically downloading the official Swift configuration and updating the RPM spec file. + +### Usage + +```bash +./update-swift-version.sh +``` + +### Example + +```bash +./update-swift-version.sh 6.1.3 +``` + +### What it does + +1. Downloads the Swift release configuration from the official Swift repository +2. Parses the repository versions for all Swift components +3. Updates the `swift-lang.spec` file with new source URLs and version information +4. Removes old forge sources and adds new ones based on the Swift release configuration + +### Requirements + +- `curl` - for downloading configuration files +- `jq` - for parsing JSON configuration +- `sed` - for updating the spec file + +### After running + +Review the changes to `swift-lang.spec` and remove any patches that are no longer needed for the new version. diff --git a/changelog b/changelog new file mode 100644 index 0000000..b3a89c1 --- /dev/null +++ b/changelog @@ -0,0 +1,716 @@ +* Fri Sep 12 2025 Link Dupont - 6.1.3-1 +- Update to 6.1.3-RELEASE (RHBZ#2356394) +- Fix FTBFS in Fedora 43 (RHBZ#2385672) + +* Fri Jul 25 2025 Fedora Release Engineering - 6.0.3-4.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Wed Jan 22 2025 Ron Olson - 6.0.3-4 +- Resolves: rhbz#2341403 +* Wed Jan 22 2025 Ron Olson - 6.0.3-3 +- Added patch to explicitly include cstdint +* Sun Jan 19 2025 Fedora Release Engineering - 6.0.3-2.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Dec 16 2024 Ron Olson - 6.0.3-2 +- Added swift-run and swift-build as symlinks for future + versions of Swift +* Thu Dec 12 2024 Ron Olson - 6.0.3-1 +- Updated to Swift 6.0.3-RELEASE + Resolves: rhbz#2332031 +* Tue Dec 10 2024 Zephyr Lykos - 6.0.2-2 +- fix libdir symlink installation +* Thu Nov 14 2024 Ron Olson - 6.0.2-1 +- Updated to Swift 6.0.2-RELEASE + Resolves: rhbz#2291122 + Resolves: rhbz#2322729 + Resolves: rhbz#2324076 +* Wed Sep 25 2024 Ron Olson - 6.0.1-1 +- Updated to Swift 6.0.1-RELEASE +* Mon Sep 16 2024 Ron Olson - 6.0-1 +- Updated to Swift 6.0-RELEASE +* Mon Aug 26 2024 Zephyr Lykos - 6.0-1 +- Export Swift development tool libraries to libdir +* Mon Jul 22 2024 Byoungchan Lee - 6.0-1 +- Minimize runtime/compile time dependencies +* Fri Jul 19 2024 Ron Olson - 6.0-1 +- Added file to add the Swift libraries to the ld.so.conf.d directory +* Sun Jun 30 2024 Ron Olson - 6.0-1 +- Patch from finagolfin + https://github.com/swiftlang/swift/pull/74814 +* Tue Apr 23 2024 Ron Olson - 6.0-1 +- First attempt at getting 6.0 working +* Mon Sep 18 2023 Ron Olson - 5.9-1 +- Updated to Swift 5.9-RELEASE + Resolves: rhbz#2239543 +* Fri Sep 15 2023 Ron Olson - 5.10-1 +- First working version of Swift 5.10 +* Wed Mar 29 2023 Ron Olson - 5.9-1 +- Cleanup and first attempt at getting 5.9 going though + 5.8 hasn't been released yet +* Sat Jan 21 2023 Fedora Release Engineering - 5.7.2-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild +* Tue Dec 27 2022 Ron Olson - 5.8-1 +- Cleanup and first attempt at getting 5.8 going +* Fri Dec 16 2022 Ron Olson - 5.7.2-2 +- SPDX migration +* Wed Dec 14 2022 Ron Olson - 5.7.2-1 +- Updated to Swift 5.7.2-RELEASE + Resolves: rhbz#2153189 +* Wed Nov 02 2022 Ron Olson - 5.7.1-1 +- Updated to Swift 5.7.1-RELEASE + Resolves: rhbz#2139320 +* Tue Nov 01 2022 Ron Olson - 5.7-4 +- Merged fix from Lumír Balhar to replace the pathfix.py tool + with the new way for Python 3.12 +* Tue Sep 27 2022 Ron Olson - 5.7-3 +- Resolves: rhbz#2130233 +* Tue Sep 27 2022 Ron Olson - 5.7-2 +- Added patch to handle an initialized variable but not + used +* Tue Sep 13 2022 Ron Olson - 5.7-1 +- Updated to Swift 5.7-RELEASE +* Thu May 05 2022 Ron Olson - 5.7-1 +- First working version of Swift 5.7 +* Mon Apr 25 2022 Ron Olson - 5.7-1 +- First attempt to build swift-5.7 +* Thu Apr 21 2022 Ron Olson - 5.6.1-2 +- Removed ncurses-compat-libs as a runtime dependency as it + has been removed from Fedora Rawhide +* Mon Apr 11 2022 Ron Olson - 5.6.1-1 +- Updated to Swift 5.6.1-RELEASE +* Wed Mar 30 2022 Ron Olson - 5.6-1 +- Updated to Swift 5.6-RELEASE +* Tue Feb 15 2022 Ron Olson - 5.5.3-1 +- Updated to Swift 5.5.3-RELEASE +* Sat Jan 22 2022 Fedora Release Engineering - 5.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild +* Wed Jan 12 2022 Ron Olson - 5.6-1 +- First build of Swift-5.6 +* Tue Dec 14 2021 Ron Olson - 5.5.2-1 +- Updated to Swift 5.5.2-RELEASE +* Wed Oct 27 2021 Ron Olson - 5.5.1-1 +- Updated to Swift 5.5.1-RELEASE +* Tue Sep 21 2021 Ron Olson - 5.5-1 +- Updated to Swift 5.5-RELEASE +* Fri Sep 17 2021 Ron Olson - 5.4.3-2 +- Added patch to allow building using Clang 13 +* Wed Sep 15 2021 Ron Olson - 5.4.3-1 +- Updated to swift-5.4.3-RELEASE +* Fri Jul 23 2021 Fedora Release Engineering - 5.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild +* Thu Jul 15 2021 Ron Olson - 5.4.2-2 +- Discovered that EPEL-8 doesn't have binutils-gold +* Mon Jul 05 2021 Ron Olson - 5.4.2-1 +- Updated to swift-5.4.2-RELEASE +* Mon Jun 21 2021 Ron Olson - 5.4.1-2 +- Changes for EPEL-8 +* Thu Jun 10 2021 Ron Olson - 5.4.1-1 +- Added fix for RPATH problems +* Fri Jun 04 2021 Python Maint - 5.4-2 +- Rebuilt for Python 3.10 +* Thu Jun 03 2021 Ron Olson 5.5-1 +- Removed special CMake stuff for EPEL 8 +* Tue Jun 01 2021 Ron Olson 5.5-1 +- Added patch to remove Cyclades from LLVM +* Fri May 28 2021 Jesús Abelardo Saldívar Aguilar 5.5-1 +- Added patches to fix circular dependency on PkgConfig +* Fri May 21 2021 Ron Olson 5.5-1 +- First version of Swift 5.5 - 5.5-DEVELOPMENT-SNAPSHOT-2021-05-18-a +* Tue Apr 27 2021 Ron Olson 5.4-1 +- Updated to swift-5.4-RELEASE +* Tue Apr 06 2021 Ron Olson 5.4-1 +- Updated to swift-5.4-DEVELOPMENT-SNAPSHOT-2021-03-25-a +* Tue Mar 30 2021 Jonathan Wakely - 5.3.3-2 +- Rebuilt for removed libstdc++ symbol (#1937698) +* Thu Jan 28 2021 Ron Olson 5.3.3-1 +- Updated to swift-5.3.3-RELEASE +* Wed Jan 27 2021 Fedora Release Engineering - 5.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild +* Thu Jan 21 2021 Ron Olson 5.4-1 +- First working version of Swift 5.4 +* Tue Dec 22 2020 Ron Olson 5.3.2-1 +- Updated to swift-5.3.2-RELEASE +* Fri Dec 04 2020 Jeff Law 5.3.1-2 +- Fix missing #include for gcc-11 + +* Fri Nov 13 2020 Ron Olson 5.3.1-1 +- Updated to swift-5.3.1-RELEASE +* Thu Sep 17 2020 Ron Olson 5.3-1 +- Updated to swift-5.3-RELEASE +* Mon Aug 10 2020 Ron Olson 5.2.5-1 +- Updated to swift-5.2.5-RELEASE +* Wed Jul 29 2020 Fedora Release Engineering - 5.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 5.2.4-2 +- Rebuilt for Python 3.9 + +* Wed May 20 2020 Ron Olson 5.2.4-1 +- Updated to swift-5.2.4-RELEASE +* Wed Apr 29 2020 Ron Olson 5.2.3-1 +- Updated to swift-5.2.3-RELEASE +* Fri Apr 17 2020 Ron Olson 5.2.2-2 +- Added patch to remove use of sys/sysctl.h as it was removed + in Rawhide (future F33) +* Wed Apr 15 2020 Ron Olson 5.2.2-1 +- Updated to swift-5.2.2-RELEASE +* Sun Apr 12 2020 Ron Olson 5.2.1-3 +- Put CMake back as a build step because the version in EPEL 8 is too + old +* Sun Apr 12 2020 Ron Olson 5.2.1-2 +- Added s390x architecture and F30-specific requires +* Mon Apr 06 2020 Ron Olson 5.2.1-1 +- Reorganized the package to place everything in a single location, + changed the versioning scheme, and removed a number of obsolete patches +* Wed Apr 01 2020 Ron Olson 5.2.1-0.1.20200331git2e3b1b3 +- Updated to swift-5.2.1-RELEASE +* Wed Mar 25 2020 Ron Olson 5.2-0.10.20200324git443e9a4 +- Updated to swift-5.2-RELEASE +* Thu Mar 12 2020 Ron Olson 5.2-0.9.20200311git33150e3 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-11-a and switched to + using patched version of cmake to get around issues building 5.2 with + 3.17 +* Fri Feb 28 2020 Ron Olson 5.2-0.8.20200227git33150e3 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-02-27-a +* Sun Feb 02 2020 Ron Olson 5.2-0.7.20200201git66c06ab +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-02-01-a +* Sat Feb 01 2020 Ron Olson 5.2-0.6.20200131gitfab20c6 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-31-a +* Thu Jan 30 2020 Ron Olson 5.2-0.5.20200129gita0c1677 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-29-a +* Tue Jan 28 2020 Ron Olson 5.2-0.4.20200127git7c02102 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-27-a +* Mon Jan 20 2020 Ron Olson 5.2-0.3.20200117git3194881 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-17-a +* Fri Jan 10 2020 Ron Olson 5.2-0.2.20200109git880e9e6 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-09-a +* Tue Jan 07 2020 Ron Olson 5.2-0.1.20200106git74df113 +- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-06-a +* Sat Dec 21 2019 Ron Olson 5.1-0.6.20191220git04833a6 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-20-a +* Fri Dec 20 2019 Ron Olson 5.1-0.5.20191219git04833a6 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-19-a +* Thu Dec 19 2019 Ron Olson 5.1-0.4.20191218git04833a6 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-18-a +* Wed Dec 18 2019 Ron Olson 5.1-0.3.20191217git04833a6 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-17-a +* Tue Dec 17 2019 Ron Olson 5.1-0.2.20191216git04833a6 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-16-a +* Fri Dec 13 2019 Ron Olson 5.1.3-0.1.20191213git005fc1f +- Updated to swift-5.1.3-RELEASE +* Fri Dec 13 2019 Ron Olson 5.1-0.20.20191212gita22eb08 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-12-a +* Wed Dec 11 2019 Ron Olson 5.1-0.19.20191210git4a1b378 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-10-a +* Tue Dec 10 2019 Ron Olson 5.1-0.18.20191209git4a1b378 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-09-a +* Mon Dec 09 2019 Ron Olson 5.1-0.17.20191130gited9117a +- Release of 5.1.2 with sourcekit-lsp enabled. The user still needs to build + and install the plugin for vscode; if they do this version will support + code-completion, also works with neovim too +* Sat Dec 07 2019 Ron Olson 5.1-0.16.20191206git4b8db65 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-06-a +* Fri Dec 06 2019 Ron Olson 5.1-0.15.20191205git4b8db65 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-05-a +* Thu Dec 05 2019 Ron Olson 5.1-0.14.20191204git4b8db65 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-04-a +* Wed Dec 04 2019 Ron Olson 5.1-0.13.20191203git4b8db65 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-03-a +* Sat Nov 30 2019 Ron Olson 5.1-0.12.20191129git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-29-a +* Fri Nov 29 2019 Ron Olson 5.1-0.11.20191128git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-28-a +* Thu Nov 28 2019 Ron Olson 5.1-0.10.20191127git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-27-a +* Wed Nov 27 2019 Ron Olson 5.1-0.9.20191126git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-26-a +* Tue Nov 26 2019 Ron Olson 5.1-0.8.20191125git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-25-a +* Mon Nov 25 2019 Ron Olson 5.1-0.7.20191124git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-24-a +* Sat Nov 23 2019 Ron Olson 5.1-0.6.20191122git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-22-a +* Fri Nov 22 2019 Ron Olson 5.1-0.5.20191121git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-21-a +* Tue Nov 19 2019 Ron Olson 5.1-0.4.20191118git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-18-a +* Mon Nov 18 2019 Ron Olson 5.1-0.3.20191117git60f3082 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-17-a +* Sat Nov 16 2019 Ron Olson 5.1-0.2.20191115git51fe191 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-15-a +* Fri Nov 15 2019 Ron Olson 5.1.3-0.1.20191114gite74feb6 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-14-a +* Thu Nov 07 2019 Ron Olson 5.1.2-0.1.20191107git71def56 +- Updated to swift-5.1.2-RELEASE +* Wed Nov 06 2019 Ron Olson 5.1-0.7.20191105gitb368b0d +- Added icu, also updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-05-a +* Mon Nov 04 2019 Ron Olson 5.1-0.6.20191101git74328cd +- Added unpackaged files, switched to new llvm-project-based subproject +* Sun Nov 03 2019 Ron Olson 5.1-0.5.20191101git74328cd +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-01-a +* Thu Oct 31 2019 Ron Olson 5.1.1-0.4.20191004git4242edd +- Added sourcekit-lsp +* Wed Oct 30 2019 Ron Olson 5.1.1-0.3.20191004git4242edd +- Clang 9 was causing compiler-rt to not build properly due to a macro. +* Thu Oct 17 2019 Ron Olson 5.1.1-0.2.20191004git4242edd +- Fixed issue with installing swift-lang only gave the option for + swift-lang-runtime +* Fri Oct 04 2019 Ron Olson 5.1.1-0.1.20191004git4242edd +- Updated to swift-5.1.1-RELEASE +* Thu Sep 19 2019 Ron Olson 5.1-0.57.20190919gitfa33242 +- Updated to swift-5.1-RELEASE and removed FrameworkABIBaseline as apparently + it disappeared +* Thu Sep 19 2019 Ron Olson 5.1-0.56.20190918gite05f800 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-18-a +* Wed Sep 18 2019 Ron Olson 5.1-0.55.20190917git1f49050 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-17-a +* Tue Sep 17 2019 Ron Olson 5.1-0.54.20190916git279ca88 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-16-a +* Mon Sep 16 2019 Ron Olson 5.1-0.53.20190915git279ca88 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-15-a +* Sun Sep 15 2019 Ron Olson 5.1-0.52.20190914git279ca88 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-14-a +* Sat Sep 14 2019 Ron Olson 5.1-0.51.20190913git11b9972 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-13-a +* Fri Sep 13 2019 Ron Olson 5.1-0.50.20190912gitb9d082f +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-12-a +* Thu Sep 12 2019 Ron Olson 5.1-0.49.20190911gitb8f4481 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-11-a +* Tue Sep 10 2019 Ron Olson 5.1-0.48.20190909git28a0436 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-09-a +* Mon Sep 09 2019 Ron Olson 5.1-0.47.20190908git28a0436 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-08-a also added test for + Red Hat Enterprise Linux and CentOS (when it is updated to match RHEL 8) + Also packaged some new files +* Fri Sep 06 2019 Ron Olson 5.1-0.46.20190905git1880eb0 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-05-a +* Thu Sep 05 2019 Ron Olson 5.1-0.45.20190904git1880eb0 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-04-a +* Wed Sep 04 2019 Ron Olson 5.1-0.44.20190903gitfcc37cd +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-03-a +* Tue Sep 03 2019 Ron Olson 5.1-0.43.20190902gitfcc37cd +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-02-a +* Mon Sep 02 2019 Ron Olson 5.1-0.42.20190901gitfcc37cd +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-01-a +* Sun Sep 01 2019 Ron Olson 5.1-0.41.20190831gitfcc37cd +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-31-a +* Fri Aug 30 2019 Ron Olson 5.1-0.40.20190829gitfcc37cd +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-29-a +* Thu Aug 29 2019 Ron Olson 5.1-0.39.20190828gite90298c +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-28-a and added explicit + requirement for python3-distro +* Wed Aug 28 2019 Ron Olson 5.1-0.38.20190827gite90298c +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-27-a and added a patch + to allow LLDB to be built using Python 3.8 (currently in F32/Rawhide) +* Tue Aug 27 2019 Ron Olson 5.1-0.37.20190826git3b0cf9e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-26-a +* Mon Aug 26 2019 Ron Olson 5.1-0.36.20190825git3b0cf9e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-25-a +* Sun Aug 25 2019 Ron Olson 5.1-0.35.20190824git3b0cf9e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-24-a +* Sat Aug 24 2019 Ron Olson 5.1-0.34.20190823git3b0cf9e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-23-a +* Fri Aug 23 2019 Ron Olson 5.1-0.33.20190822git3b0cf9e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-22-a +* Wed Aug 21 2019 Ron Olson 5.1-0.32.20190820git3b0cf9e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-20-a +* Mon Aug 19 2019 Ron Olson 5.1-0.31.20190817git3b0cf9e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-17-a +* Sat Aug 17 2019 Ron Olson 5.1-0.30.20190816git1329017 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-16-a +* Fri Aug 16 2019 Ron Olson 5.1-0.29.20190815git1329017 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-15-a +* Wed Aug 14 2019 Ron Olson 5.1-0.28.20190813git425a146 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-13-a +* Tue Aug 13 2019 Ron Olson 5.1-0.27.20190812git425a146 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-12-a and added another + directory +* Fri Jul 26 2019 Ron Olson 5.1-0.26.20190725git0450b7d +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-25-a +* Thu Jul 25 2019 Ron Olson 5.1-0.25.20190724gite9b6385 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-24-a +* Wed Jul 24 2019 Ron Olson 5.1-0.24.20190723git3e8f631 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-23-a +* Tue Jul 23 2019 Ron Olson 5.1-0.23.20190719gitf883175 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-19-a and first version + that relies on Python 3 for building +* Mon Jul 15 2019 Ron Olson 5.1-0.22.20190714git7b90512 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-14-a +* Sun Jul 14 2019 Ron Olson 5.1-0.21.20190713git26c2dbe +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-13-a +* Sat Jul 13 2019 Ron Olson 5.1-0.20.20190712gita062b3c +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-12-a +* Fri Jul 12 2019 Ron Olson 5.1-0.19.20190711gitacd767e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-11-a +* Thu Jul 11 2019 Ron Olson 5.1-0.18.20190710gitd7f811d +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-10-a +* Wed Jul 10 2019 Ron Olson 5.1-0.17.20190709gitf67864b +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-09-a +* Thu Jul 04 2019 Ron Olson 5.1-0.16.20190703gitd2c038e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-03-a +* Wed Jul 03 2019 Ron Olson 5.1-0.15.20190702git2efadfd +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-02-a +* Tue Jul 02 2019 Ron Olson 5.1-0.14.20190701git6761ba4 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-01-a and removed + dependency on python-sphinx as a problem with a pygments lexer was being + treated as an error and causing the builds to fail +* Sun Jun 30 2019 Ron Olson 5.1-0.13.20190629gitdcde8ac +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-29-a +* Sat Jun 29 2019 Ron Olson 5.1-0.12.20190628gitca3c825 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-28-a +* Fri Jun 28 2019 Ron Olson 5.1-0.11.20190627git993b248 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-27-a +* Thu Jun 27 2019 Ron Olson 5.1-0.10.20190626git16859f1 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-26-a and added patch + to remove reference to depreciated header file +* Wed Jun 26 2019 Ron Olson 5.1-0.9.20190624git4e7bcdb +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-24-a and got the REPL + to work +* Sun Jun 23 2019 Ron Olson 5.1-0.8.20190621git9729868 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-21-a +* Fri Jun 21 2019 Ron Olson 5.1-0.7.20190620gita5aa0c6 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-20-a +* Thu Jun 20 2019 Ron Olson 5.1-0.6.20190619git500333c +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-19-a +* Thu Jun 20 2019 Ron Olson 5.1-0.5.20190619git500333c +- Cleaned up the spec file to remove 4.2 to 5 migration code and some + old patches +* Mon Jun 17 2019 Ron Olson 5.1-0.4.20190616gitcbfbc8e +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-16-a +* Sun Jun 02 2019 Ron Olson 5.1-0.3.20190529git37f230a +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-05-29-a +* Fri Apr 26 2019 Ron Olson 5.1-0.2.20190425git6d89fc9 +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-04-25-a +* Thu Apr 18 2019 Ron Olson 5.1-0.1.20190416git85a776d +- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-04-16-a +* Thu Mar 28 2019 Ron Olson 5.0-0.53.20190325gitba33f9e +- Modified spec file to handle upgrades from 4.2 to 5.0. +* Mon Mar 25 2019 Ron Olson 5.0-0.52.20190325gitba33f9e +- Updated to swift-5.0-RELEASE +* Mon Mar 25 2019 Ron Olson 5.0-0.51.20190324git130a414 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-24-a, removed _gettid + patch as the changed were merged upstream +* Fri Mar 22 2019 Ron Olson 5.0-0.50.20190310git4d6e741 +- The swift-corelibs-xctest library was being zeroed out due to issue with + CMake 3.14 where it was being copied into the same directory. A bug + report has been filed with CMake but until it is resolved, the cmake file + has been patched to not perform the copy. +* Fri Mar 15 2019 Ron Olson 5.0-0.50.20190310git4d6e741 +- Modules did not work properly in the REPL due to additional lib path; + fixed with symlinks to the lower directory structures +* Fri Mar 15 2019 Ron Olson 5.0-0.50.20190310git4d6e741 +- python2-sphinx was removed from Fedora after 30 so it will use the python3 + version +* Thu Mar 14 2019 Ron Olson 5.0-0.50.20190310git4d6e741 +- Fixed issues introduced by upstream changes +* Mon Mar 11 2019 Ron Olson 5.0-0.50.20190310git4d6e741 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-10-a +* Thu Mar 07 2019 Ron Olson 5.0-0.49.20190306git5834830 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-06-a +* Wed Mar 06 2019 Ron Olson 5.0-0.48.20190305git5834830 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-05-a +* Tue Mar 05 2019 Ron Olson 5.0-0.47.20190304gitad10379 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-04-a +* Fri Mar 01 2019 Ron Olson 5.0-0.46.20190228gitfeacc3f +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-28-a +* Wed Feb 27 2019 Ron Olson 5.0-0.45.20190226gitfa5d493 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-26-a +* Tue Feb 26 2019 Ron Olson 5.0-0.44.20190225gita8126fb +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-25-a +* Mon Feb 25 2019 Ron Olson 5.0-0.43.20190224gita8126fb +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-24-a +* Sun Feb 24 2019 Ron Olson 5.0-0.42.20190223gita8126fb +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-23-a +* Sat Feb 23 2019 Ron Olson 5.0-0.41.20190222gita24adaf +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-22-a +* Fri Feb 22 2019 Ron Olson 5.0-0.40.20190221git86a39df +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-21-a +* Thu Feb 21 2019 Ron Olson 5.0-0.39.20190220git817dff3 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-20-a +* Wed Feb 20 2019 Ron Olson 5.0-0.38.20190219git817dff3 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-19-a +* Mon Feb 18 2019 Ron Olson 5.0-0.37.20190217git15be364 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-17-a +* Sun Feb 17 2019 Ron Olson 5.0-0.36.20190216git15be364 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-16-a +* Sat Feb 16 2019 Ron Olson 5.0-0.35.20190215git15be364 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-15-a +* Fri Feb 15 2019 Ron Olson 5.0-0.34.20190214git8d88441 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-14-a +* Wed Feb 13 2019 Ron Olson 5.0-0.33.20190206gitd07c25a +- Added patch to fix an issue with compiler-rt using std::thread in a vector +* Fri Feb 08 2019 Ron Olson 5.0-0.32.20190206gitd07c25a +- Added patch to allow the Swift REPL to work properly, also removed patch + for aarch64 because the changes were merged upstream +* Sun Feb 03 2019 Fedora Release Engineering - 5.0-0.31.20181214gitee39236 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild +* Sat Dec 15 2018 Ron Olson 5.0-0.31.20181212gite231ae1 +- First version that supports aarch64 +* Thu Dec 13 2018 Ron Olson 5.0-0.31.20181212gite231ae1 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-12-a +* Thu Dec 13 2018 Ron Olson 5.0-0.30.20181212gite231ae1 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-12-a +* Thu Dec 13 2018 Ron Olson 5.0-0.29.20181212gite231ae1 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-12-a +* Tue Dec 11 2018 Ron Olson 5.0-0.28.20181210gitf83ec0c +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-10-a +* Mon Dec 10 2018 Ron Olson 5.0-0.26.20181209gitc14e1a3 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-09-a +* Sun Dec 09 2018 Ron Olson 5.0-0.25.20181208git3945260 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-08-a +* Sat Dec 08 2018 Ron Olson 5.0-0.24.20181207git0a73e15 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-07-a +* Fri Dec 07 2018 Ron Olson 5.0-0.23.20181206git565e767 +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-06-a +* Wed Dec 05 2018 Ron Olson 5.0-0.22.20181204gitb74d54a +- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-04-a +* Wed Dec 05 2018 Egor Zhdan +- Include dependencies to ncurses which are required by SourceKit and + included in Apple installation guide +* Wed Dec 05 2018 Ron Olson 5.0-0.21.20181204gitfacaad1 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-04-a +* Tue Dec 04 2018 Ron Olson 5.0-0.20.20181203git3376f9f +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-03-a +* Mon Dec 03 2018 Ron Olson 5.0-0.19.20181202gita8a8bdc +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-02-a +* Sun Dec 02 2018 Ron Olson 5.0-0.18.20181201gitb01ee72 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-01-a +* Sat Dec 01 2018 Ron Olson 5.0-0.17.20181130gitd8f12cb +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-30-a +* Thu Nov 29 2018 Ron Olson 5.0-0.16.20181128git806cf57 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-28-a +* Tue Nov 27 2018 Ron Olson 5.0-0.15.20181126gita820992 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-26-a +* Mon Nov 26 2018 Ron Olson 5.0-0.14.20181125gita820992 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-25-a +* Sat Nov 24 2018 Ron Olson 5.0-0.13.20181123gita820992 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-23-a +* Fri Nov 23 2018 Ron Olson 5.0-0.12.20181122gitfb52a2e +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-22-a +* Mon Nov 19 2018 Ron Olson 5.0-0.11.20181116git201dcba +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-16-a +* Fri Nov 16 2018 Ron Olson 5.0-0.10.20181115git739169d +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-15-a +* Wed Oct 31 2018 Ron Olson 4.2.1-0.101.20181030git02a6ca9 +- Updated to swift-4.2.1-RELEASE +* Tue Oct 30 2018 Ron Olson 4.2-0.100.20181029gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-29-a +* Sat Oct 27 2018 Ron Olson 4.2-0.99.20181026gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-26-a +* Fri Oct 26 2018 Ron Olson 4.2-0.98.20181025gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-25-a +* Wed Oct 24 2018 Ron Olson 4.2-0.97.20181023gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-23-a +* Tue Oct 23 2018 Ron Olson 4.2-0.96.20181022gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-22-a +* Mon Oct 22 2018 Ron Olson 4.2-0.95.20181021gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-21-a +* Sun Oct 21 2018 Ron Olson 4.2-0.94.20181020gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-20-a +* Fri Oct 19 2018 Ron Olson 4.2-0.93.20181018gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-18-a +* Thu Oct 18 2018 Ron Olson 4.2-0.92.20181017gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-17-a +* Wed Oct 17 2018 Ron Olson 4.2-0.91.20181016gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-16-a +* Tue Oct 16 2018 Ron Olson 4.2-0.90.20181015gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-15-a +* Mon Oct 15 2018 Ron Olson 4.2-0.89.20181014gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-14-a +* Sun Oct 14 2018 Ron Olson 4.2-0.88.20181013gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-13-a +* Sat Oct 13 2018 Ron Olson 4.2-0.87.20181012gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-12-a +* Fri Oct 12 2018 Ron Olson 4.2-0.86.20181011gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-11-a +* Thu Oct 11 2018 Ron Olson 4.2-0.85.20181010gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-10-a +* Wed Oct 10 2018 Ron Olson 4.2-0.84.20181009gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-09-a +* Tue Oct 09 2018 Ron Olson 4.2-0.83.20181008gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-08-a +* Mon Oct 08 2018 Ron Olson 4.2-0.82.20181007gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-07-a +* Sun Oct 07 2018 Ron Olson 4.2-0.81.20181006gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-06-a +* Sat Oct 06 2018 Ron Olson 4.2-0.80.20181005gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-05-a +* Thu Oct 04 2018 Ron Olson 4.2-0.79.20181003gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-03-a +* Wed Oct 03 2018 Ron Olson 4.2-0.78.20181002gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-02-a +* Tue Oct 02 2018 Ron Olson 4.2-0.77.20181001gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-01-a +* Sat Sep 29 2018 Ron Olson 4.2-0.76.20180928gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-28-a +* Fri Sep 28 2018 Ron Olson 4.2-0.75.20180927gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-27-a +* Thu Sep 27 2018 Ron Olson 4.2-0.74.20180926gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-26-a +* Wed Sep 26 2018 Ron Olson 4.2-0.73.20180925gitf4134eb +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-25-a +* Tue Sep 25 2018 Ron Olson 4.2-0.72.20180924git01644d5 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-24-a +* Mon Sep 24 2018 Ron Olson 4.2-0.71.20180922gitac7c511 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-22-a +* Sat Sep 15 2018 Ron Olson 4.2-0.70.20180914git2dfdbf2 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-14-a +* Fri Sep 14 2018 Ron Olson 4.2-0.69.20180913git2dfdbf2 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-13-a +* Thu Sep 13 2018 Ron Olson 4.2-0.68.20180912git2c6399a +- Updated to swift-4.2-RELEASE +* Wed Sep 12 2018 Ron Olson 4.2-0.67.20180911gitbe88499 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-11-a +* Sun Sep 09 2018 Ron Olson 4.2-0.66.20180908gitbe88499 +- Added patch for clang 7.0 +* Sun Sep 09 2018 Ron Olson 4.2-0.65.20180908gitbe88499 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-08-a +* Sat Sep 08 2018 Ron Olson 4.2-0.64.20180907gitc922f68 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-07-a +* Sun Aug 26 2018 Ron Olson 4.2-0.63.20180825git7d204ce +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-25-a +* Sat Aug 25 2018 Ron Olson 4.2-0.62.20180824git7d204ce +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-24-a +* Fri Aug 24 2018 Ron Olson 4.2-0.61.20180823git7d204ce +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-23-a +* Thu Aug 23 2018 Ron Olson 4.2-0.60.20180822git7d204ce +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-22-a +* Wed Aug 22 2018 Ron Olson 4.2-0.59.20180821git7d204ce +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-21-a +* Tue Aug 21 2018 Ron Olson 4.2-0.58.20180820gitde88335 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a +* Sun Aug 19 2018 Ron Olson 4.2-0.57.20180818gitde88335 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-18-a +* Sat Aug 18 2018 Ron Olson 4.2-0.56.20180817gitde88335 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-17-a +* Fri Aug 17 2018 Ron Olson 4.2-0.55.20180816gitde88335 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-16-a +* Thu Aug 16 2018 Ron Olson 4.2-0.54.20180815gitefbe78e +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-15-a +* Wed Aug 15 2018 Ron Olson 4.2-0.53.20180814git3146921 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-14-a +* Sat Aug 11 2018 Ron Olson 4.2-0.52.20180810gita710c2f +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-10-a +* Thu Aug 09 2018 Ron Olson 4.2-0.51.20180808git1c8f885 +- Updated to swift-4.2-CONVERGENCE +* Wed Aug 08 2018 Ron Olson 4.2-0.50.20180807gitab5ce2e +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-07-a +* Tue Aug 07 2018 Ron Olson 4.2-0.49.20180806gitab5ce2e +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-06-a +* Sat Aug 04 2018 Ron Olson 4.2-0.48.20180803git68f32fc +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-03-a +* Fri Aug 03 2018 Ron Olson 4.2-0.47.20180802git44a88d4 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-02-a +* Thu Aug 02 2018 Ron Olson 4.2-0.46.20180801git3f7d681 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-01-a +* Wed Aug 01 2018 Ron Olson 4.2-0.45.20180731git00acd41 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-31-a +* Tue Jul 31 2018 Ron Olson 4.2-0.44.20180730gitfe1f442 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-30-a +* Sun Jul 29 2018 Ron Olson 4.2-0.43.20180728gitfe1f442 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-28-a +* Sat Jul 28 2018 Ron Olson 4.2-0.42.20180727git9d01b59 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-27-a +* Wed Jul 25 2018 Ron Olson 4.2-0.41.20180724git18650bc +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-24-a and removed + lldb patches as they were merged upstream into the 4.2 branch +* Tue Jul 24 2018 Ron Olson 4.2-0.40.20180723git18650bc +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-23-a +* Mon Jul 23 2018 Ron Olson 4.2-0.39.20180722git18650bc +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-22-a +* Sun Jul 22 2018 Ron Olson 4.2-0.38.20180721git18650bc +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-21-a +* Sat Jul 21 2018 Ron Olson 4.2-0.37.20180720git18650bc +- Added patches for lldb to fix relative path issue (see URL by patches) until + it's merged into the 4.2 branch +* Sat Jul 21 2018 Ron Olson 4.2-0.37.20180720git18650bc +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-20-a +* Fri Jul 20 2018 Ron Olson 4.2-0.36.20180719git9277281 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-19-a +* Thu Jul 19 2018 Ron Olson 4.2-0.35.20180718gite325e32 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-18-a +* Tue Jul 17 2018 Ron Olson 4.2-0.34.20180716gitaaf545a +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-16-a +* Sun Jul 15 2018 Ron Olson 4.2-0.33.20180703git107e307 +- Switched from __provides_exclude_from to __provides_exclude to inhibit + lldb being included as a dependency +* Thu Jul 12 2018 Ron Olson 4.2-0.32.20180703git107e307 +- Reverted to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-03-a as loading modules + in the REPL seems to have been broken as of the 2018-07-04 builds. + 2018-07-03 is currently the best version until the issue is resolved. +* Thu Jul 12 2018 Ron Olson 4.2-0.31.20180711git104c96a +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-11-a +* Wed Jul 11 2018 Ron Olson 4.2-0.30.20180709gitd9561d9 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-09-a and added a check to + include python-unversioned-command for verisons greated than 28 while + working on making patches/pull requests upstream to be explicit about + which version of Python to use. Also removed patch for time struct issue + as the fix has been handled upstream. Also switched to ExclusiveArch + instead of ExcludeArch per suggestion from Dan Horák. +* Thu Jul 05 2018 Ron Olson 4.2-0.29.20180705git1e2dc99 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-05-a +* Thu Jul 05 2018 Ron Olson 4.2-0.28.20180704gitf56a941 +- Removed explicit requirement on libatomic and libbsd, modifed files section + of the runtime package so it can own the directory +* Thu Jul 05 2018 Ron Olson 4.2-0.27.20180704gitf56a941 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-04-a +* Tue Jul 03 2018 Ron Olson 4.2-0.26.20180703git107e307 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-03-a, added a + filter for excluding lldb libraries from public view, and broke out the + runtime libraries into their own -runtime package. +* Mon Jul 02 2018 Ron Olson 4.2-0.25.20180702gitc2e1567 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-02-a +* Mon Jul 02 2018 Ron Olson 4.2-0.24.20180701git6079032 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-01-a, removed unnecessary + lldb headers +* Sat Jun 30 2018 Ron Olson 4.2-0.23.20180630gitb3408e8 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-30-a +* Fri Jun 29 2018 Ron Olson 4.2-0.22.20180629gitdab0d8e +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-29-a, removed unnecessary + files and links +* Fri Jun 29 2018 Ron Olson 4.2-0.21.20180628git9f8f2a1 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-28-a +* Thu Jun 28 2018 Ron Olson 4.2-0.20.20180626gitbe3b9a7 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-26-a +* Wed Jun 13 2018 Ron Olson 4.2-0.19.20180612gitbb9532c +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-12-a and removed + gcc-c++ as a build requirement +* Tue Jun 12 2018 Ron Olson 4.2-0.18.20180611gitd99cd32 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-10-a and removed + separate ninja build (will now use the repo-based one) +* Mon Jun 11 2018 Ron Olson 4.2-0.17.20180610git7a35ad0 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-10-a +* Fri Jun 08 2018 Ron Olson 4.2-0.16.20180607git78e9497 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-07-a +* Thu Jun 07 2018 Ron Olson 4.2-0.15.20180606git4e2064e +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-06-a +* Tue Jun 05 2018 Ron Olson 4.2-0.14.20180604git9e274fc +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-04-a +* Sun Jun 03 2018 Ron Olson 4.2-0.13.20180602gitadad0f5 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-02-a +* Wed May 30 2018 Ron Olson 4.2-0.12.20180529git4160301 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-29-a +* Wed May 23 2018 Ron Olson 4.2-0.11.20180522git58f7399 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-22-a +* Mon May 21 2018 Ron Olson 4.2-0.10.20180520gitbb77484 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-20-a and added + patch for removing sys/ustat.h references +* Tue May 15 2018 Ron Olson 4.2-0.9.20180514gitf58f528 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-14-a +* Wed May 09 2018 Ron Olson 4.2-0.8.20180508git0e6d867 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-08-a +* Wed May 02 2018 Ron Olson 4.2-0.7.20180502gitb08fb12 +- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-02-a +* Mon Apr 23 2018 Ron Olson 4.2-0.6.20180422git5030d38 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-22-a +* Thu Apr 19 2018 Ron Olson 4.2-0.5.20180418gitac06163 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-18-a +* Mon Apr 16 2018 Ron Olson 4.2-0.4.20180415git22530b9 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-15-a +* Thu Apr 12 2018 Ron Olson 4.2-0.3.20180411git537a846 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-11-a +* Wed Feb 28 2018 Ron Olson 4.1-0.2.20180227git5f2f440 +- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-02-27-a +* Wed Feb 14 2018 Ron Olson 4.1-0.1.20180214git5a1a34b +- Initial package for Fedora diff --git a/cmake.patch b/cmake.patch new file mode 100644 index 0000000..6e5a113 --- /dev/null +++ b/cmake.patch @@ -0,0 +1,12 @@ +diff --git cmake.orig/Utilities/cmcppdap/include/dap/network.h cmake/Utilities/cmcppdap/include/dap/network.h +index 9d14f6b70f..491f023493 100644 +--- cmake.orig/Utilities/cmcppdap/include/dap/network.h ++++ cmake/Utilities/cmcppdap/include/dap/network.h +@@ -15,6 +15,7 @@ + #ifndef dap_network_h + #define dap_network_h + ++#include + #include + #include + diff --git a/cmark.patch b/cmark.patch new file mode 100644 index 0000000..cfd11c8 --- /dev/null +++ b/cmark.patch @@ -0,0 +1,13 @@ +diff --git cmark.orig/CMakeLists.txt cmark/CMakeLists.txt +index 23eca3c5..beba0702 100755 +--- cmark.orig/CMakeLists.txt ++++ cmark/CMakeLists.txt +@@ -22,6 +22,8 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN TRUE) + + set(CMAKE_INCLUDE_CURRENT_DIR YES) + ++set(CMAKE_POSITION_INDEPENDENT_CODE YES) ++ + option(CMARK_FUZZ_QUADRATIC "Build quadratic fuzzing harness" OFF) + option(CMARK_LIB_FUZZER "Build libFuzzer fuzzing harness" OFF) + option(CMARK_THREADING "Add locks around static accesses" OFF) diff --git a/cython_updates.patch b/cython_updates.patch deleted file mode 100644 index e3dc9c4..0000000 --- a/cython_updates.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --color -Naur llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp ---- llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 2024-06-21 17:13:30.216450095 -0500 -+++ llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 2024-06-21 17:17:12.418191122 -0500 -@@ -76,7 +76,7 @@ - #elif PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 7 - return _Py_Finalizing != nullptr; - #else -- return _Py_IsFinalizing(); -+ return Py_IsFinalizing(); - #endif - } - -diff --color -Naur llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp ---- llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 2024-06-21 17:13:30.217450161 -0500 -+++ llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 2024-06-21 17:18:29.299291469 -0500 -@@ -201,16 +201,6 @@ - return; - #endif - -- if (PyEval_ThreadsInitialized()) { -- Log *log = GetLog(LLDBLog::Script); -- -- m_was_already_initialized = true; -- m_gil_state = PyGILState_Ensure(); -- LLDB_LOGV(log, "Ensured PyGILState. Previous state = {0}locked\n", -- m_gil_state == PyGILState_UNLOCKED ? "un" : ""); -- return; -- } -- - // InitThreads acquires the GIL if it hasn't been called before. - PyEval_InitThreads(); - } diff --git a/debug_build.patch b/debug_build.patch deleted file mode 100644 index fab8482..0000000 --- a/debug_build.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- swift/utils/build-presets.ini.orig 2024-12-18 16:04:59.478543323 -0600 -+++ swift/utils/build-presets.ini 2024-12-18 16:07:08.704085878 -0600 -@@ -857,7 +857,7 @@ - mixin_linux_installation - build-subdir=buildbot_linux - lldb --release -+debug - test - validation-test - long-test diff --git a/disable_warning.patch b/disable_warning.patch deleted file mode 100644 index 25464b2..0000000 --- a/disable_warning.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --color -Naur swift-corelibs-libdispatch-orig/src/apply.c swift-corelibs-libdispatch/src/apply.c ---- swift-corelibs-libdispatch-orig/src/apply.c 2022-10-01 10:48:05.000000000 -0500 -+++ swift-corelibs-libdispatch/src/apply.c 2024-12-17 14:56:01.110477562 -0600 -@@ -20,6 +20,9 @@ - - #include "internal.h" - -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wcast-function-type-mismatch" -+ - typedef void (*dispatch_apply_function_t)(void *, size_t); - static char const * const _dispatch_apply_key = "apply"; - -@@ -366,3 +369,6 @@ - (dispatch_apply_function_t)_dispatch_Block_invoke(work)); - } - #endif -+ -+#pragma GCC diagnostic pop -+ -diff --color -Naur swift-corelibs-libdispatch-orig/src/data.c swift-corelibs-libdispatch/src/data.c ---- swift-corelibs-libdispatch-orig/src/data.c 2022-10-01 10:48:05.000000000 -0500 -+++ swift-corelibs-libdispatch/src/data.c 2024-12-17 14:57:39.514903781 -0600 -@@ -20,6 +20,9 @@ - - #include "internal.h" - -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wcast-function-type-mismatch" -+ - /* - * Dispatch data objects are dispatch objects with standard retain/release - * memory management. A dispatch data object either points to a number of other -@@ -738,3 +741,5 @@ - return mep; - } - #endif // HAVE_MACH -+ -+#pragma GCC diagnostic pop diff --git a/enablelzma.patch b/enablelzma.patch deleted file mode 100644 index 5371a21..0000000 --- a/enablelzma.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- swift/utils/build-script-impl.orig 2022-04-12 11:12:59.832022240 -0500 -+++ swift/utils/build-script-impl 2022-04-12 11:13:19.694223857 -0500 -@@ -2272,7 +2272,7 @@ - -DLLDB_ENABLE_CURSES=ON - -DLLDB_ENABLE_LIBEDIT=ON - -DLLDB_ENABLE_PYTHON=ON -- -DLLDB_ENABLE_LZMA=OFF -+ -DLLDB_ENABLE_LZMA=ON - -DLLDB_ENABLE_LUA=OFF - -DLLDB_INCLUDE_TESTS:BOOL=$(false_true ${BUILD_TOOLCHAIN_ONLY}) - -DLLDB_TEST_USER_ARGS="${DOTEST_ARGS}" diff --git a/fclose_issues.patch b/fclose_issues.patch deleted file mode 100644 index 4625dd8..0000000 --- a/fclose_issues.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- swift-tools-support-core/Sources/TSCBasic/FileSystem.swift.orig 2024-06-07 15:57:58.282574272 -0500 -+++ swift-tools-support-core/Sources/TSCBasic/FileSystem.swift 2024-06-07 16:00:41.442339293 -0500 -@@ -425,19 +425,19 @@ - if fp == nil { - throw FileSystemError(errno: errno, path) - } -- defer { fclose(fp) } -+ defer { fclose(fp!) } - - // Read the data one block at a time. - let data = BufferedOutputByteStream() - var tmpBuffer = [UInt8](repeating: 0, count: 1 << 12) - while true { -- let n = fread(&tmpBuffer, 1, tmpBuffer.count, fp) -+ let n = fread(&tmpBuffer, 1, tmpBuffer.count, fp!) - if n < 0 { - if errno == EINTR { continue } - throw FileSystemError(.ioError(code: errno), path) - } - if n == 0 { -- let errno = ferror(fp) -+ let errno = ferror(fp!) - if errno != 0 { - throw FileSystemError(.ioError(code: errno), path) - } -@@ -455,12 +455,12 @@ - if fp == nil { - throw FileSystemError(errno: errno, path) - } -- defer { fclose(fp) } -+ defer { fclose(fp!) } - - // Write the data in one chunk. - var contents = bytes.contents - while true { -- let n = fwrite(&contents, 1, contents.count, fp) -+ let n = fwrite(&contents, 1, contents.count, fp!) - if n < 0 { - if errno == EINTR { continue } - throw FileSystemError(.ioError(code: errno), path) diff --git a/fedora-presets.ini b/fedora-presets.ini new file mode 100644 index 0000000..9f74408 --- /dev/null +++ b/fedora-presets.ini @@ -0,0 +1,64 @@ +# Custom preset for Fedora packaging +# This preset builds the final production toolchain including swift-driver +# using the bootstrapped Swift compiler from bootstrap_stage2 + +[preset: fedora_final] +bootstrapping=hosttools + +# Skip all tests (inlined from mixin_buildbot_linux,no_test) +skip-test-cmark +skip-test-lldb +skip-test-swift +skip-test-llbuild +skip-test-swiftpm +skip-test-swift-driver +skip-test-xctest +skip-test-foundation +skip-test-libdispatch +skip-test-playgroundsupport +skip-test-indexstore-db +skip-test-sourcekit-lsp +skip-test-swiftdocc +skip-test-wasm-stdlib +skip-test-swiftformat + +release + +# Build additional components for production toolchain +llbuild +xctest +swift-testing +swift-testing-macros +swiftpm +swift-driver +indexstore-db +sourcekit-lsp +swiftformat + +swift-include-tests=0 +llvm-include-tests=0 + +foundation +libdispatch + +skip-build-benchmarks + +build-subdir=%(build_subdir)s +install-destdir=%(install_destdir)s + +swift-install-components=autolink-driver;compiler;clang-resource-dir-symlink;stdlib;sdk-overlay;toolchain-tools;license +llvm-install-components=llvm-ar;llvm-ranlib;clang;clang-resource-headers;compiler-rt;clang-features-file;lld;IndexStore + +install-llvm +install-swift +install-foundation +install-libdispatch +install-llbuild +install-swiftpm +install-swift-driver +install-swiftsyntax +install-swift-testing +install-swift-testing-macros +install-xctest +install-sourcekit-lsp +install-swiftformat diff --git a/fs.patch b/fs.patch deleted file mode 100644 index fa12d1d..0000000 --- a/fs.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp.orig 2022-08-03 19:13:51.591055629 -0500 -+++ llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp 2022-08-03 19:13:56.112348435 -0500 -@@ -73,7 +73,11 @@ - #include - #include - #include --#include -+//#include -+#define FS_IOC_GETFLAGS _IOR('f', 1, long) -+#define FS_IOC_SETFLAGS _IOW('f', 2, long) -+#define FS_IOC_GETVERSION _IOR('v', 1, long) -+#define FS_IOC_SETVERSION _IOW('v', 2, long) - #include - #include - #include diff --git a/latest_python.patch b/latest_python.patch deleted file mode 100644 index b260489..0000000 --- a/latest_python.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --color -Naur llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp ---- llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 2024-09-19 10:08:49.705575598 -0500 -+++ llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 2024-09-19 10:10:32.912369606 -0500 -@@ -76,7 +76,7 @@ - #elif PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 7 - return _Py_Finalizing != nullptr; - #else -- return _Py_IsFinalizing(); -+ return Py_IsFinalizing(); - #endif - } - -diff --color -Naur llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp ---- llvm-project-orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 2024-09-19 10:08:49.706575663 -0500 -+++ llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 2024-09-19 10:12:11.357850178 -0500 -@@ -201,7 +201,7 @@ - return; - #endif - -- if (PyEval_ThreadsInitialized()) { -+ if (Py_IsInitialized()) { - Log *log = GetLog(LLDBLog::Script); - - m_was_already_initialized = true; -@@ -210,9 +210,6 @@ - m_gil_state == PyGILState_UNLOCKED ? "un" : ""); - return; - } -- -- // InitThreads acquires the GIL if it hasn't been called before. -- PyEval_InitThreads(); - } - - PyGILState_STATE m_gil_state = PyGILState_UNLOCKED; diff --git a/llbuild.patch b/llbuild.patch new file mode 100644 index 0000000..c1ff87a --- /dev/null +++ b/llbuild.patch @@ -0,0 +1,12 @@ +diff --git llbuild.orig/utils/unittest/googletest/include/gtest/gtest.h llbuild/utils/unittest/googletest/include/gtest/gtest.h +index eb5c5cc0..30c8d68a 100644 +--- llbuild.orig/utils/unittest/googletest/include/gtest/gtest.h ++++ llbuild/utils/unittest/googletest/include/gtest/gtest.h +@@ -51,6 +51,7 @@ + #ifndef GTEST_INCLUDE_GTEST_GTEST_H_ + #define GTEST_INCLUDE_GTEST_GTEST_H_ + ++#include + #include + #include + #include diff --git a/llvm-project.patch b/llvm-project.patch new file mode 100644 index 0000000..6faeb85 --- /dev/null +++ b/llvm-project.patch @@ -0,0 +1,76 @@ +diff --git llvm-project.orig/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +index 49ec4097c900..dda11daa77f4 100644 +--- llvm-project.orig/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc ++++ llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +@@ -338,17 +338,9 @@ static void ioctl_table_fill() { + _(SOUND_PCM_WRITE_CHANNELS, WRITE, sizeof(int)); + _(SOUND_PCM_WRITE_FILTER, WRITE, sizeof(int)); + _(TCFLSH, NONE, 0); +-#if SANITIZER_GLIBC +- _(TCGETA, WRITE, struct_termio_sz); +-#endif + _(TCGETS, WRITE, struct_termios_sz); + _(TCSBRK, NONE, 0); + _(TCSBRKP, NONE, 0); +-#if SANITIZER_GLIBC +- _(TCSETA, READ, struct_termio_sz); +- _(TCSETAF, READ, struct_termio_sz); +- _(TCSETAW, READ, struct_termio_sz); +-#endif + _(TCSETS, READ, struct_termios_sz); + _(TCSETSF, READ, struct_termios_sz); + _(TCSETSW, READ, struct_termios_sz); +diff --git llvm-project.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp +index 6d61d276d77e..3fb5a40ba852 100644 +--- llvm-project.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp ++++ llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp +@@ -479,9 +479,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + unsigned struct_input_id_sz = sizeof(struct input_id); + unsigned struct_mtpos_sz = sizeof(struct mtpos); + unsigned struct_rtentry_sz = sizeof(struct rtentry); +-#if SANITIZER_GLIBC || SANITIZER_ANDROID +- unsigned struct_termio_sz = sizeof(struct termio); +-#endif + unsigned struct_vt_consize_sz = sizeof(struct vt_consize); + unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes); + unsigned struct_vt_stat_sz = sizeof(struct vt_stat); +@@ -758,13 +755,9 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + unsigned IOCTL_SOUND_PCM_WRITE_FILTER = SOUND_PCM_WRITE_FILTER; + #endif // SOUND_VERSION + unsigned IOCTL_TCFLSH = TCFLSH; +- unsigned IOCTL_TCGETA = TCGETA; + unsigned IOCTL_TCGETS = TCGETS; + unsigned IOCTL_TCSBRK = TCSBRK; + unsigned IOCTL_TCSBRKP = TCSBRKP; +- unsigned IOCTL_TCSETA = TCSETA; +- unsigned IOCTL_TCSETAF = TCSETAF; +- unsigned IOCTL_TCSETAW = TCSETAW; + unsigned IOCTL_TCSETS = TCSETS; + unsigned IOCTL_TCSETSF = TCSETSF; + unsigned IOCTL_TCSETSW = TCSETSW; +diff --git llvm-project.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h +index 34bfef1f7ef4..62d553b18ef5 100644 +--- llvm-project.orig/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h ++++ llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h +@@ -1013,7 +1013,6 @@ extern unsigned struct_hd_geometry_sz; + extern unsigned struct_input_absinfo_sz; + extern unsigned struct_input_id_sz; + extern unsigned struct_mtpos_sz; +-extern unsigned struct_termio_sz; + extern unsigned struct_vt_consize_sz; + extern unsigned struct_vt_sizes_sz; + extern unsigned struct_vt_stat_sz; +@@ -1258,13 +1257,9 @@ extern unsigned IOCTL_SNDCTL_COPR_SENDMSG; + extern unsigned IOCTL_SNDCTL_COPR_WCODE; + extern unsigned IOCTL_SNDCTL_COPR_WDATA; + extern unsigned IOCTL_TCFLSH; +-extern unsigned IOCTL_TCGETA; + extern unsigned IOCTL_TCGETS; + extern unsigned IOCTL_TCSBRK; + extern unsigned IOCTL_TCSBRKP; +-extern unsigned IOCTL_TCSETA; +-extern unsigned IOCTL_TCSETAF; +-extern unsigned IOCTL_TCSETAW; + extern unsigned IOCTL_TCSETS; + extern unsigned IOCTL_TCSETSF; + extern unsigned IOCTL_TCSETSW; diff --git a/new_glibc.patch b/new_glibc.patch deleted file mode 100644 index 6a84f8c..0000000 --- a/new_glibc.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --color -Naur swift-corelibs-foundation-orig/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h ---- swift-corelibs-foundation-orig/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h 2023-07-06 10:02:48.000000000 -0500 -+++ swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h 2023-08-16 12:53:42.332226574 -0500 -@@ -189,7 +189,7 @@ - #define CF_RETAIN_BALANCED_ELSEWHERE(obj, identified_location) do { } while (0) - #endif - --#if (TARGET_OS_LINUX && !TARGET_OS_ANDROID && !TARGET_OS_CYGWIN) || TARGET_OS_WIN32 -+#if (TARGET_OS_LINUX && !TARGET_OS_ANDROID && !TARGET_OS_CYGWIN && !ALREADY_HAVE_STRL_FUNCS) || TARGET_OS_WIN32 - CF_INLINE size_t - strlcpy(char * dst, const char * src, size_t maxlen) { - const size_t srclen = strlen(src); -diff --color -Naur swift-corelibs-foundation-orig/CoreFoundation/CMakeLists.txt swift-corelibs-foundation/CoreFoundation/CMakeLists.txt ---- swift-corelibs-foundation-orig/CoreFoundation/CMakeLists.txt 2023-07-06 10:02:48.000000000 -0500 -+++ swift-corelibs-foundation/CoreFoundation/CMakeLists.txt 2023-08-16 12:53:44.851386844 -0500 -@@ -80,6 +80,11 @@ - add_compile_definitions($<$:HAVE_SCHED_GETAFFINITY>) - endif() - endif() -+ # XYZZY -+ check_symbol_exists(strlcpy "string.h" HAVE_NEW_GLIBC) -+ if(HAVE_NEW_GLIBC) -+ add_compile_definitions($<$:ALREADY_HAVE_STRL_FUNCS>) -+ endif() - endif() - elseif(CMAKE_SYSTEM_NAME STREQUAL Windows) - # NOTE(compnerd) we only support building with the dynamic CRT as using the diff --git a/ninja.patch b/ninja.patch new file mode 100644 index 0000000..ee5d71a --- /dev/null +++ b/ninja.patch @@ -0,0 +1,22 @@ +diff --git ninja.orig/configure.py ninja/configure.py +index 4390434..c80a43b 100755 +--- ninja.orig/configure.py ++++ ninja/configure.py +@@ -23,7 +23,7 @@ from __future__ import print_function + + from optparse import OptionParser + import os +-import pipes ++import shlex + import string + import subprocess + import sys +@@ -264,7 +264,7 @@ n.variable('configure_args', ' '.join(configure_args)) + env_keys = set(['CXX', 'AR', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS']) + configure_env = dict((k, os.environ[k]) for k in os.environ if k in env_keys) + if configure_env: +- config_str = ' '.join([k + '=' + pipes.quote(configure_env[k]) ++ config_str = ' '.join([k + '=' + shlex.quote(configure_env[k]) + for k in configure_env]) + n.variable('configure_env', config_str + '$ ') + n.newline() diff --git a/no-test.patch b/no-test.patch deleted file mode 100644 index 3df50ca..0000000 --- a/no-test.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- swift/utils/build-presets.ini.orig 2023-02-06 19:59:52.297617075 -0600 -+++ swift/utils/build-presets.ini 2023-02-06 20:00:17.131186971 -0600 -@@ -834,7 +834,7 @@ - # Executes the lit tests for the installable package that is created - # Assumes the swift-integration-tests repo is checked out - --test-installable-package -+#test-installable-package - - # Build the benchmarks against the toolchain. - toolchain-benchmarks diff --git a/no_pipes_58.patch b/no_pipes_58.patch deleted file mode 100644 index 49f2754..0000000 --- a/no_pipes_58.patch +++ /dev/null @@ -1,270 +0,0 @@ -diff --color -Naur llvm-project/clang/utils/creduce-clang-crash.py llvm-project/clang/utils/creduce-clang-crash.py ---- llvm-project/clang/utils/creduce-clang-crash.py 2024-06-20 13:38:53.943180833 -0500 -+++ llvm-project/clang/utils/creduce-clang-crash.py 2024-06-20 13:42:30.244711005 -0500 -@@ -14,7 +14,6 @@ - import stat - import sys - import subprocess --import pipes - import shlex - import tempfile - import shutil -@@ -57,7 +56,7 @@ - sys.exit("ERROR: `%s` not found in %s" % (cmd_name, cmd_dir)) - - def quote_cmd(cmd): -- return ' '.join(pipes.quote(arg) for arg in cmd) -+ return ' '.join(shlex.quote(arg) for arg in cmd) - - def write_to_script(text, filename): - with open(filename, 'w') as f: -@@ -199,7 +198,7 @@ - """ % (disable_symbolization, quote_cmd(self.get_crash_cmd())) - - for msg in self.expected_output: -- output += 'grep -F %s t.log || exit 1\n' % pipes.quote(msg) -+ output += 'grep -F %s t.log || exit 1\n' % shlex.quote(msg) - - write_to_script(output, self.testfile) - self.check_interestingness() -diff --color -Naur llvm-project/compiler-rt/test/asan/lit.cfg.py llvm-project/compiler-rt/test/asan/lit.cfg.py ---- llvm-project/compiler-rt/test/asan/lit.cfg.py 2024-06-20 13:38:17.808753484 -0500 -+++ llvm-project/compiler-rt/test/asan/lit.cfg.py 2024-06-20 13:43:18.446949016 -0500 -@@ -6,14 +6,8 @@ - - import lit.formats - --# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if --# it's not available. --try: -- import shlex -- sh_quote = shlex.quote --except: -- import pipes -- sh_quote = pipes.quote -+import shlex -+sh_quote = shlex.quote - - def get_required_attr(config, attr_name): - attr_value = getattr(config, attr_name, None) -diff --color -Naur llvm-project/compiler-rt/test/lit.common.cfg.py llvm-project/compiler-rt/test/lit.common.cfg.py ---- llvm-project/compiler-rt/test/lit.common.cfg.py 2024-06-20 13:38:17.788752141 -0500 -+++ llvm-project/compiler-rt/test/lit.common.cfg.py 2024-06-20 13:43:44.961730162 -0500 -@@ -12,14 +12,8 @@ - import lit.formats - import lit.util - --# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if --# it's not available. --try: -- import shlex -- sh_quote = shlex.quote --except: -- import pipes -- sh_quote = pipes.quote -+import shlex -+sh_quote = shlex.quote - - def find_compiler_libdir(): - """ -diff --color -Naur llvm-project/compiler-rt/test/memprof/lit.cfg.py llvm-project/compiler-rt/test/memprof/lit.cfg.py ---- llvm-project/compiler-rt/test/memprof/lit.cfg.py 2024-06-20 13:38:17.852756440 -0500 -+++ llvm-project/compiler-rt/test/memprof/lit.cfg.py 2024-06-20 13:44:09.179356996 -0500 -@@ -6,14 +6,8 @@ - - import lit.formats - --# Get shlex.quote if available (added in 3.3), and fall back to pipes.quote if --# it's not available. --try: -- import shlex -- sh_quote = shlex.quote --except: -- import pipes -- sh_quote = pipes.quote -+import shlex -+sh_quote = shlex.quote - - def get_required_attr(config, attr_name): - attr_value = getattr(config, attr_name, None) -diff --color -Naur llvm-project/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py llvm-project/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py ---- llvm-project/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py 2024-06-20 13:38:17.946762755 -0500 -+++ llvm-project/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py 2024-06-20 13:48:37.348371396 -0500 -@@ -1,6 +1,6 @@ - #!/usr/bin/env python3 - --import glob, os, pipes, sys, subprocess -+import glob, os, shlex, sys, subprocess - - - device_id = os.environ.get('SANITIZER_IOSSIM_TEST_DEVICE_IDENTIFIER') -@@ -39,7 +39,7 @@ - rm_args.append(arg) - else: - # FIXME(dliew): pipes.quote() is deprecated -- rm_args.append(pipes.quote(arg)) -+ rm_args.append(shlex.quote(arg)) - rm_cmd_line = ["/bin/rm"] + rm_args - rm_cmd_line_str = ' '.join(rm_cmd_line) - # We use `shell=True` so that any wildcard globs get expanded by the shell. -diff --color -Naur llvm-project/libcxx/utils/libcxx/test/config.py llvm-project/libcxx/utils/libcxx/test/config.py ---- llvm-project/libcxx/utils/libcxx/test/config.py 2024-06-20 13:38:59.394547032 -0500 -+++ llvm-project/libcxx/utils/libcxx/test/config.py 2024-06-20 13:45:49.931125052 -0500 -@@ -9,7 +9,6 @@ - import copy - import os - import pkgutil --import pipes - import platform - import re - import shlex -@@ -434,7 +433,7 @@ - def quote(self, s): - if platform.system() == 'Windows': - return lit.TestRunner.quote_windows_command([s]) -- return pipes.quote(s) -+ return shlex.quote(s) - - def configure_substitutions(self): - sub = self.config.substitutions -diff --color -Naur llvm-project/libcxx/utils/libcxx/test/dsl.py llvm-project/libcxx/utils/libcxx/test/dsl.py ---- llvm-project/libcxx/utils/libcxx/test/dsl.py 2024-06-20 13:38:59.394547032 -0500 -+++ llvm-project/libcxx/utils/libcxx/test/dsl.py 2024-06-20 13:45:11.318531231 -0500 -@@ -8,7 +8,7 @@ - - import os - import pickle --import pipes -+import shlex - import platform - import re - import shutil -@@ -261,7 +261,7 @@ - } - #endif - """ -- return programSucceeds(config, program, args=[pipes.quote(l) for l in locales]) -+ return programSucceeds(config, program, args=[shlex.quote(l) for l in locales]) - - @_memoizeExpensiveOperation(lambda c, flags='': (c.substitutions, c.environment, flags)) - def compilerMacros(config, flags=''): -diff --color -Naur llvm-project/libcxx/utils/libcxx/test/format.py llvm-project/libcxx/utils/libcxx/test/format.py ---- llvm-project/libcxx/utils/libcxx/test/format.py 2024-06-20 13:38:59.394547032 -0500 -+++ llvm-project/libcxx/utils/libcxx/test/format.py 2024-06-20 13:45:31.689899688 -0500 -@@ -9,7 +9,7 @@ - import lit - import lit.formats - import os --import pipes -+import shlex - import re - import shutil - -diff --color -Naur ninja/configure.py ninja/configure.py ---- ninja/configure.py 2024-06-20 13:38:14.957561954 -0500 -+++ ninja/configure.py 2024-06-20 13:46:12.859665292 -0500 -@@ -23,7 +23,7 @@ - - from optparse import OptionParser - import os --import pipes -+import shlex - import string - import subprocess - import sys -@@ -264,7 +264,7 @@ - env_keys = set(['CXX', 'AR', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS']) - configure_env = dict((k, os.environ[k]) for k in os.environ if k in env_keys) - if configure_env: -- config_str = ' '.join([k + '=' + pipes.quote(configure_env[k]) -+ config_str = ' '.join([k + '=' + shlex.quote(configure_env[k]) - for k in configure_env]) - n.variable('configure_env', config_str + '$ ') - n.newline() -diff --color -Naur swift/utils/build_swift/build_swift/shell.py swift/utils/build_swift/build_swift/shell.py ---- swift/utils/build_swift/build_swift/shell.py 2024-06-20 13:39:16.267680494 -0500 -+++ swift/utils/build_swift/build_swift/shell.py 2024-06-20 13:47:56.850650939 -0500 -@@ -23,7 +23,7 @@ - import sys - from copy import copy as _copy - from pathlib import Path --from pipes import quote as _quote -+from shlex import quote as _quote - from shlex import split - from subprocess import CalledProcessError - -diff --color -Naur swift/utils/sil-opt-verify-all-modules.py swift/utils/sil-opt-verify-all-modules.py ---- swift/utils/sil-opt-verify-all-modules.py 2024-06-20 13:39:17.951793627 -0500 -+++ swift/utils/sil-opt-verify-all-modules.py 2024-06-20 13:40:50.278995757 -0500 -@@ -13,7 +13,7 @@ - import glob - import multiprocessing - import os --import pipes -+import shlex - import subprocess - import sys - import tempfile -@@ -91,7 +91,7 @@ - - - def quote_shell_command(args): -- return " ".join([pipes.quote(a) for a in args]) -+ return " ".join([shlex.quote(a) for a in args]) - - - def run_commands_in_parallel(commands): -diff --color -Naur swift/utils/swift_build_support/swift_build_support/build_script_invocation.py swift/utils/swift_build_support/swift_build_support/build_script_invocation.py ---- swift/utils/swift_build_support/swift_build_support/build_script_invocation.py 2024-06-20 13:39:16.270680695 -0500 -+++ swift/utils/swift_build_support/swift_build_support/build_script_invocation.py 2024-06-20 13:41:40.348359192 -0500 -@@ -11,7 +11,7 @@ - # ===---------------------------------------------------------------------===# - - import os --import pipes -+import shlex - import platform - - from build_swift.build_swift import argparse -@@ -128,9 +128,9 @@ - "--build-jobs", str(args.build_jobs), - "--lit-jobs", str(args.lit_jobs), - "--common-cmake-options=%s" % ' '.join( -- pipes.quote(opt) for opt in cmake.common_options()), -+ shlex.quote(opt) for opt in cmake.common_options()), - "--build-args=%s" % ' '.join( -- pipes.quote(arg) for arg in cmake.build_args()), -+ shlex.quote(arg) for arg in cmake.build_args()), - "--dsymutil-jobs", str(args.dsymutil_jobs), - ] - -@@ -388,7 +388,7 @@ - if args.extra_cmake_options: - impl_args += [ - "--extra-cmake-options=%s" % ' '.join( -- pipes.quote(opt) for opt in args.extra_cmake_options) -+ shlex.quote(opt) for opt in args.extra_cmake_options) - ] - - if args.lto_type is not None: -diff --color -Naur swift/utils/swift_build_support/swift_build_support/shell.py swift/utils/swift_build_support/swift_build_support/shell.py ---- swift/utils/swift_build_support/swift_build_support/shell.py 2024-06-20 13:39:16.271680762 -0500 -+++ swift/utils/swift_build_support/swift_build_support/shell.py 2024-06-20 13:42:02.214828084 -0500 -@@ -14,7 +14,7 @@ - # ---------------------------------------------------------------------------- - - import os --import pipes -+import shlex - import platform - import shutil - import subprocess -@@ -35,7 +35,7 @@ - - - def _quote(arg): -- return pipes.quote(str(arg)) -+ return shlex.quote(str(arg)) - - - def quote_command(args): diff --git a/sources b/sources index a45c2ce..14be3f4 100644 --- a/sources +++ b/sources @@ -1,35 +1,50 @@ -SHA512 (cmake.tar.gz) = d00dc63627c452494f0f240792b742529a9ba00622cc69ba42bda26299dcdf0f5596e1e7e17bff0daf0543e94de1f23b37d8fce8a79e8c90aeaca10c50bd4605 -SHA512 (cmark.tar.gz) = c53669e9d0166e8f62e7350455fdc96af181ca0c2876461807caa0a13a4ead466088d24f1e7de0e286e217806e0176c72c58da521750bfbca8860e177445158d -SHA512 (corelibs-foundation.tar.gz) = 6b574dbcd0f2fcc08093bb39a79bd1e8454ecdf3645ea9608e390370e8c63dad8e2e978084ac9e2c405b2c630287f5dab26cbbc9ee2ebad1892257776627eda2 -SHA512 (corelibs-libdispatch.tar.gz) = a3344e9df912c5cf86aa7e225748a22a747f48a41354e9bc38d03a20231676c199d2a1cd66091cc1edc87e2236fff79d92988b205c4921ec732c2a695fea23b6 -SHA512 (corelibs-xctest.tar.gz) = 1c804cfd6815a397241d2fcaa932950989507f3163c8d7ba777b726935d9ec1df59fbe2aa1b16c1dce0d52851ce14db64b0afec83113e4a1f754afad36b64a80 -SHA512 (icu.tar.gz) = 6902ccee36b29f31d7615d5bf5ce78e0d33744c8dcefce1aec90de7e18e384f673b4301fcca1f3cbe81f236dc250763104bff1af240621ff54b65a053ba6f6d7 -SHA512 (indexstore-db.tar.gz) = 6b088f42be7716ff03a77d8a14d0a5fed63f8d8680432badc76afd0a6ce8a61776b61fda59150165b12d9f5e54afcc493bd70ec28faac60a2ec6d9a48ba91945 -SHA512 (llbuild.tar.gz) = 1106ee4468e57daef87e81563ecdac07d34a7967110dd73b034d5106f1423d23df51158c6c40d02dc5dd0366d790e00bb8e9b9e59a71941912d77055320c1109 -SHA512 (llvm-project.tar.gz) = 16fbe31be33474d4d8bb2751dc7eb9634a001f2dfe929640b90995f2fece584427a9a83c7b84b63b8398737753acfab22ab11e016b2fab27b1a9a056d352c751 -SHA512 (ninja.tar.gz) = 1bca38877c70ee6613f347ffccef5adc02ba0a3947c62ae004ea97f918442b5a3de92378e4f820ae2a7676bc7609d25fbc7d41f6cfb3a61e5e4b26ec3639e403 -SHA512 (package-manager.tar.gz) = 9e725632568db8ebf1276dccc07efc8a28e5dc92821df87527e75529960d40412e02c840d7d14f9c2f1149de5cc30056bc05dc066bec5701bf47334c3b203184 -SHA512 (sourcekit-lsp.tar.gz) = 3ce7581ab1cae33ebd814a56f21efed069587b14a08c31cfc0af7053a2f7f4df1f949fafc78ca5b4286df6c1d8a35131521d67f6723e5dc6f923059c60419149 -SHA512 (swift-argument-parser.tar.gz) = f98558f3ea1f64a0046e037911b060b39a01ef60956c3529ddece76bb38181fbcf8fa6f08d3ee579755882e4a1a684316792627aeb698b20aafcac813d86dc9f -SHA512 (swift-atomics.tar.gz) = b538a9709eadfe96831393b977add28227da65d814b248bd03effc2bb7e36fff69cca692a6fd5946a029d43ddaca9b38aee91d9abf01e09ec8e5473d07d6886f -SHA512 (swift-collections.tar.gz) = f603f96827051fab8376ccb9d951e57e0ddd2e8a26350419c9d7356458e278ed7a9e8f1d240f5a9141880b476d53fb3c2148bf7ec15c928514acd1eed0ffc2ca -SHA512 (swift-crypto.tar.gz) = 93a1304a2ba7e7b7335f0c137339fb3ef510fd12120ed0ac1edaa678b6b013b32690d380f94936cc4bd76ce3f14f06b9e69e2eacdad6a1924749b71c08037217 -SHA512 (swift-docc-render-artifact.tar.gz) = c15adec69b5768ffcbe57cc7b08162d0475b9857057bb972be3bf909b973a4ed0103a1a5f182f108dfdf2c8c71131b3003cbfe7519df7fa645414bbd29507434 -SHA512 (swift-docc-symbolkit.tar.gz) = b4fa5587dbc85bb37af3904fd834efe1ead132ed07f076b146f78ee9947bb183a9fb6607686ed0cae4b92a19283fccfc39fefde378eb726396341ac12b874f58 -SHA512 (swift-docc.tar.gz) = 3cda8e2b01264a4b92e78dcff8629da2320d4461469dfe3a5589a14862ec88198d718dd8fad843953c89397d06c0cb0bf418bcdbfab9be905dadce75b125eafa -SHA512 (swift-driver.tar.gz) = 9da3de6b4242406f3465da42101ac4d64e295916a54b6a52dce7334ab62ca1e40305d2a202873060cf69dcb921d9b0f8a8229090a25613461b991eb334df5bf8 -SHA512 (swift-experimental-string-processing.tar.gz) = caebf49d60f589cdd377ccc72005f2c958e90e50cc650f077c42f8ee8e18e744925efa4786bfccbecb186f2cc383c859b75216a8449422a4a18f056e2e64ed99 -SHA512 (swift-format.tar.gz) = 683850cd6035f750ff2e9e066e53cae92370cddcfadf5e4df61c646c4b5911c0c644d0652752b22f00df9753fdeb750e7d7d61c72236bc6e8753eb4958c20ec1 -SHA512 (swift-integration-tests.tar.gz) = fbf26c69cd8b3e0f0f028aaf9da81f14ce528a2495f03b612ad0206e04c0c5b73dbe328b8953cbf168e406d11c01c72f6f38aa51965ca3fa72e9304b2057c8e2 -SHA512 (swift-lmdb.tar.gz) = 2d63f67867b767e9d2763308d15d9eac546de24cc93226a6b3a9a3f2d506c47f1d32d54c3faf4accb859d2872d7233e258e40f91b77c7968389b81861cc71b98 -SHA512 (swift-markdown.tar.gz) = a190320d309701fc86125fa78eb78bed01d831b00baab44f4f57ef6e27115180c29dbf6bafde3f1ed95a2c3584c8d47b96e586aaa69179b57a9f86cfe4273754 -SHA512 (swift-nio-ssl.tar.gz) = 5ba54beb93d669715b05627455003aad29847f04886ed08fd6bcc37f3ffcb64183c033ae3220446d69bc720a3da5940f3979b8039ddbe8869d81d70a18c42e36 -SHA512 (swift-nio.tar.gz) = e8b8bc5d49c92e327d660c1ee34a9bbdb169e19501211ed56765c51303905494f808d4b76ae9f9a50718db5efe337961ef6baad146197c9d7ba7a8b6c08e3a8e -SHA512 (swift-numerics.tar.gz) = 7d0d8f27d8c639f92fb652183ade9032b36f39e19b966aa734cab5b4d43ce5d342856dddd87ac1d4cd605c18583c8e629f37634e440de34ec0d5e18aa138d0ba -SHA512 (swift-stress-tester.tar.gz) = e94601e1e26838c38a280008222a118ace80fbf45d6eadcf7467eafa2ef4bd4affa31478c299570018a89a0c3850466b70022d2523d708959c680dc2b089075e -SHA512 (swift-syntax.tar.gz) = b9c016b6cd2ff40db6321df710d21a0de286160c71bba6d41aef33d360ffcc5203ac9a50fb850c1fd74014510b2a6d560881a531f99bf8876569d8366866aba3 -SHA512 (swift-system.tar.gz) = fec08fbc352197215596974303cd7e08b46ff44b1bd36c70b95be4e7490880f4d7e645e64e90f1c81bfca06d9302c600ccc02c9f5cc7b83a69da46489b105e1c -SHA512 (swift-tools-support-core.tar.gz) = f38400d2fb31017c4ff186bde408a1d3523ab6a6f1044668c4655a4737b7233552dbc2ec1035bdb18ecf07df500ac32e6a313df58292567069bab2ab52530f05 -SHA512 (swift-xcode-playground-support.tar.gz) = 66b186c8d6e8574e693172fa2acde44dd4d7b2225130c4f701a2d3a0922a9fce25e5889f391ebfb8074b55614654349365ef696e4089f418ddeec4f0162162cc -SHA512 (swift.tar.gz) = 2cc0a34fc4451553acea9be14b56d8e33dfa9f4a65847426f0998113cb42af5cf56acbda7be55b07e3f1a8524af66a98d786f5e8b770cf733159d6b84588d21d -SHA512 (yams.tar.gz) = 91feecb95d1997235e443dea925ff11fa665e94c12c8eca2ed066ef340a51ec0253df2545d91184c31423cb4b039e1f89ac8f743cf3f154c9d93495eecc45432 +SHA512 (CMake-3.30.2.tar.gz) = bd71bbd62a024cc93e97421ea50900072e9ab79ccec3ad0e012b5a9286a3c46a15c1b86a0f8ef2dd8518a4e63d4644d34c80cba869c0e9f9eb419fcc439acfa5 +SHA512 (curl-curl-8_9_1.tar.gz) = f5c425c3fbd7bfda13137e8e9bc969ed7dc94c5bfcf0681a2358ab7d3b5d10402781a93385255a80c402c9824aeb97d70213b412f2d208dee4abdba5bbed2ca4 +SHA512 (indexstore-db-swift-6.2-RELEASE.tar.gz) = 03b64a304faeb07c1943c8ce467fbee6b3a83192ec4c356877dd1647fc135c0e6c2e7a327d9c871e728f56bb44f05fb61ab69c18491879798b97d514df83dd0f +SHA512 (libxml2-2.11.5.tar.gz) = 303528ead0f020c8e172beca54d00bb1281f4080885c9f44b979158516b585d71bbcb024999a5712a850e48647b19b1f634a1428ea29f39a48e8e6cbf7c71936 +SHA512 (llvm-project-swift-6.2-RELEASE.tar.gz) = 4b517b77682d013bd5da25b54b80b780591b98e92e8bae3e0824b271a6657b195eb52e3e02000d66495a7f6c1746a3ac34bdb28b47527b7a08c4a494bf287b53 +SHA512 (mimalloc-3.0.1.tar.gz) = ba51cf9af3ef41728c94b72805bf8915e63910b32cb9ab331445ec28404d048c0737646e02c08dc0f0e958c526fe894e275b96326fa041a157e3e88f39f2b673 +SHA512 (ninja-1.11.1.tar.gz) = 1bca38877c70ee6613f347ffccef5adc02ba0a3947c62ae004ea97f918442b5a3de92378e4f820ae2a7676bc7609d25fbc7d41f6cfb3a61e5e4b26ec3639e403 +SHA512 (sourcekit-lsp-swift-6.2-RELEASE.tar.gz) = d6a8a9a30e31ae16963eaed23b82a55752311ee0800749e5afbf3a2b53035711f111017ec8043bc52ac35f1752bc1871eca447d2723c17a3590f8c6f058d09f1 +SHA512 (swift-argument-parser-1.4.0.tar.gz) = 38f0958c63dc01df1a5ac7164b8c76116050819a8747a71ff07c6c2208526e49c0f5411a2431bce4d3968b7100f95e4b00bbc49f69a6df69edfa7f8589a9892c +SHA512 (swift-asn1-1.0.0.tar.gz) = f0e3bd7a4369b84a140e46a111d3985b62e74581ca631e4354ef769ae7f9190ffb3ff68ea3917df9c377fc308a8681a69b8dea4158a05daf798960be229a48c2 +SHA512 (swift-async-algorithms-1.0.1.tar.gz) = a5687ddce9d051a671fc34d88cc77e2d30a60b99d7f4381956cee05d41d5afcc8fb34469155984f5b7dbedcc3f7f839a236fa528c3e0f660f4d6d409d39cf2f7 +SHA512 (swift-atomics-1.2.0.tar.gz) = efd9a6e6b016fb0ad2de5d98fb219b893e271378a8c8d23d01215e855830fc6f1728eaec74ba33983ab9e8aece5ed65e310bbae84c289b43e458941080293351 +SHA512 (swift-build-swift-6.2-RELEASE.tar.gz) = c884f5a2f2f488834c45661ca60c857d241b3ad88d21a19b1f800fe8e424f3814e1c442b1f4517679eda3e5f40297eda8b2bbb24544beef58578e8b653628836 +SHA512 (swift-certificates-1.0.1.tar.gz) = ea645425fffdb377efe1de9b897a7a6e42dc6668ce93068bbe6de69d42ab6e9801b6d9ff817b728d58eb9e2f66c4932869c281864bc432bd9fb9acb829311c41 +SHA512 (swift-cmark-gfm.tar.gz) = 5425963eceb537007989715cb66b9d713354ffe2e1a6d97ce9ec350548713271a5ea957072694c63466643b07c1f08436950c243e24927c29a51f29a62ce5f36 +SHA512 (swift-collections-1.1.3.tar.gz) = f26586b9c2e13279694a9bbb80b479ce8c34ceb6181dc455a228b52c8f704b88888ed5cdb3f92e913c228ff2aeca4625ee041fba7712086f57ec54ce709f73cd +SHA512 (swift-corelibs-foundation-swift-6.2-RELEASE.tar.gz) = a8e5cc5506331a9baa3244240a80654a7bc5e524915b694195d9e26cf7658569cb28034ee045c07b1c32c379dcd40a7b307f414d3a42570cf60d840f249cc3f3 +SHA512 (swift-corelibs-libdispatch-swift-6.2-RELEASE.tar.gz) = f2ddeb9c3d9ccea510eed8dcb02caf1a83dc89bae47be407a79a022e748f84049df96bad027af20c507bb3fb727095536bcc56e2879f79a6a8dd07cc33ca604f +SHA512 (swift-corelibs-xctest-swift-6.2-RELEASE.tar.gz) = 02f47ebe6d292fa8ca044c508bf89a14c105f53ea4de5e05e9e4f961222c2204faeca77907a72166d740facb97f18a5699a9150709de428f1308f06389957119 +SHA512 (swift-crypto-3.0.0.tar.gz) = 2d79147d32bfb8449726c73c8b267262cf1ddc7c18637f4168e3fd848ba71c0719b23b5683ca513260cbc537fc439e38488ae16010717303625bceb7d5edd36f +SHA512 (swift-docc-render-artifact-swift-6.2-RELEASE.tar.gz) = cf61e95767dc87a221212def3c0f84fab4ee09a3eaacd4a52763737fff4fc7651b30e527f6b798dca61ce604c0030c27af060eb6866d8014764f55a970886869 +SHA512 (swift-docc-swift-6.2-RELEASE.tar.gz) = 06df03a6ff4d7dd246120d19765dda505764dab18e90266076c50d1274beea9267d466d076454466729289f326645bf031e05f72833ee94cf9027438c865f525 +SHA512 (swift-docc-symbolkit-swift-6.2-RELEASE.tar.gz) = a0d034244638c2ae6393a047b9a90fd1545de287d6dec6637218dcb69459819e2334787c73c515cf4fe35a0e5772538fce5977c535e4a802057660a7992a3afb +SHA512 (swift-driver-swift-6.2-RELEASE.tar.gz) = 4370c443a80779838017db932cad0a20eb1a24c6eca02a44655f333a3621ae2dac502bc7f94c13371962c1c5b20814dd9129d9c9e2a0fd0eee33f90ac956fe50 +SHA512 (swift-experimental-string-processing-swift-6.2-RELEASE.tar.gz) = 9e3482abafaf4ee3209a56a9c33e9e9f0b8844975e28bfe6b31ac68e0fb14714952b4bcd5a0d44779664aaa786dd604a8a8dae0fb603e0041e23fb00e385f847 +SHA512 (swift-format-swift-6.2-RELEASE.tar.gz) = 9cdc3c68c01572592d91921fca44b8bc96b65e3d1af6651f545040b32a249021e358e38163f9ccadc04dbced41d07194fd54608a07280eed817c0debc6d9ca10 +SHA512 (swift-foundation-icu-swift-6.2-RELEASE.tar.gz) = e5484a60571a3182a9b2d12ef812c92a3f2d5e6c17c8f76ad763cac66baa5d92f7ee1dcff3a0b34931272f62ac0c7fc1a6e0849536c2e09a285a9bd5de5e3c8c +SHA512 (swift-foundation-swift-6.2-RELEASE.tar.gz) = 39efa81a52c568dc3f7db1b9608dcfd616451cbf6f9ef1b7e0314a0918efa97ff8a08f1b9b727df9a46bd3232759a22d055a22ea2b73b19a76b3efbcc59af6be +SHA512 (swift-installer-scripts-swift-6.2-RELEASE.tar.gz) = fd8eb7eeace3848aafdba4dffb6690f303f48d91b146f7a57449de743d2113dbd18b8eb7f1cab002178e9f42968ee53f7848da5414551fc9fccb7b36ea3f8522 +SHA512 (swift-integration-tests-swift-6.2-RELEASE.tar.gz) = 0c92c4cf44cdcc689bc0a52ef7b0a400c4aa885bd1ff353b4b5a87b0e53c473101be1cbe5bcd2ae3fd280017cae32a60923956ec9e15a332242f1311667b516b +SHA512 (swift-llbuild-swift-6.2-RELEASE.tar.gz) = 662836f819b278a0fc37fa5a12ac23fd478c2a163f12b389ae5f5d2fea0dc718d44d6b2a8834fa2b7134c4f2737ac060a8cb9b532819a2a75982910777a73e71 +SHA512 (swift-llvm-bindings-swift-6.2-RELEASE.tar.gz) = 09b7251143beaf86a593d9934e70b4aed93457dd1d48a7977908886ff54fc20fdc33e21accc2fce5148ee1adf6fb607011066312fced384eb551353369d5bfc2 +SHA512 (swift-lmdb-swift-6.2-RELEASE.tar.gz) = 8532eab40fd5c2368751663ce25f81baf4fb3e2cd09dcd897700a33abac48ba29a7368ed557b1535838e684a4beab5c617c9c9748155f486d20d3f128efa39ea +SHA512 (swift-log-1.5.4.tar.gz) = c148f7a20072fba57226bfbc0d9e9f6bb9ebfc952e920d7f4b6a12028fa49a2f61f1f7f13e53c2421b562b83e8160e3d64da51437840b9312c77113b1484c39f +SHA512 (swift-markdown-swift-6.2-RELEASE.tar.gz) = ef64f7e7e3747e7d44301ddc034d2bd869a3a6dcd6bed8a5e88495304652906bd00c4c104fd40cb73316c0bd2379d3491ba70e225d2a07b19d6232c255028fc3 +SHA512 (swift-nio-2.65.0.tar.gz) = 3eb24d634c8937270b88eda8c34b7b70290b28a601228e051cd2b414003902d18d066dc82f8682835b2c788d5d2b27ac0a1f1723e16f902b1d3d321ac7807f6d +SHA512 (swift-numerics-1.0.2.tar.gz) = 2d6a2c6aa21a86ece26983cbcaa366bd726e4e0c4341e4801510a0227be8856280102fd04726a91b5b335aaf7eb609b04113d6af824e904ae4c768755dd6707a +SHA512 (swift-package-manager-swift-6.2-RELEASE.tar.gz) = 548762907ccafcd8c3def171226d7ab6c4c2356a7bff4a8cecdf6d345297f3fe2840c0801a09077dc96917d27354f23c6d878983d960f577b6c070f9c699a4d9 +SHA512 (swift-sdk-generator-swift-6.2-RELEASE.tar.gz) = 4c4a80b589ba1f54787728ae0f58fa5fc9940c516eb0776da9eaa2019dc74feecc906626ace008d785c27a25aa002067e75bc4adf6fca1f00d68b053395c561b +SHA512 (swift-stress-tester-swift-6.2-RELEASE.tar.gz) = 0c421fe85718240b1559ee53f61c756b2ff9befff94f33b1760746a004e2ed1b80fdc79c04703a5e640c3ec11f6814be5b3df4c1a511701dce629d43b5d80bd0 +SHA512 (swift-swift-6.2-RELEASE.tar.gz) = 45863a270b621200ff2ae527b70403046398667bdc01c961d41215bf8cfc6cb6b00ea5598261263a27ce0d3b69c384b4f6ea0f9ef6222c6c06242ae9f588d976 +SHA512 (swift-syntax-swift-6.2-RELEASE.tar.gz) = 6eab83b1b0c76d111c04c4bf4cc72c043549f78d6ef8cace628806343a63a1921e9521322656451b6bff96ae270610eaab94e87773c7866e1280e1d83505ecc6 +SHA512 (swift-system-1.5.0.tar.gz) = 003f6112e47c2f9c5abc79ea13bd2904cfba6b265c49028b006a8a60f754e86085a87c9ef9eeb79266511a1afcfcd95b471e8a780959b94baaf6fd18e87f25f6 +SHA512 (swift-testing-swift-6.2-RELEASE.tar.gz) = a05c40510c5d01145e47dc85bd94193dbb5f82d1ba7d6d6901bd85b8db44c5d58ba3d0bb96a08b47135b8a5a48164dba6f09addb177d4ee5c361bb32128f91da +SHA512 (swift-toolchain-sqlite-1.0.1.tar.gz) = 2b2fe0287c7220505445a3143bdc8de31f4b38907025b42d016151f209ae63edc2a423f0fe9a6b78b6202392c8387e9b88ffa15c71b9c3b0ad9c5106ef16564a +SHA512 (swift-tools-support-core-swift-6.2-RELEASE.tar.gz) = fe5d16beee31187d652d52cff6cff9d7a167ec738d47c9e3f43144ff6f8d4c7ed6ebce8a6db4d01aeb0892ace4ee8d12be6f9e8c3929768c323df11313771000 +SHA512 (swift-xcode-playground-support-swift-6.2-RELEASE.tar.gz) = 33775028d1335f32bb9cfef46812bfc371a2e6e33864170b1ca203cc2bd478f0c7e14e1e655603b164547aed1a5d74bb9c8e698973f7ebc5eeb1ab1eb826b666 +SHA512 (wasi-libc-wasi-sdk-24.tar.gz) = ab9322dbcd0bb151ba3f5a8b722e04d39ea5d7632d0322257c3b67e4193d0de1b0820dd4db84923e7967f24189d02dd242693ea95ad184a309eec4d27df8ba21 +SHA512 (WasmKit-0.1.2.tar.gz) = ad14d710c9846b2258e01c7fb08fe7ac02cce7dc4f9335c13df872ab194d7827c2781e62bbc342cd00f04210c9165851aa4ee899e45a66ac286549e68e877a18 +SHA512 (zlib-1.3.1.tar.gz) = 8c9642495bafd6fad4ab9fb67f09b268c69ff9af0f4f20cf15dfc18852ff1f312bd8ca41de761b3f8d8e90e77d79f2ccacd3d4c5b19e475ecf09d021fdfe9088 diff --git a/swift-corelibs-foundation.patch b/swift-corelibs-foundation.patch new file mode 100644 index 0000000..e69de29 diff --git a/swift-corelibs-libdispatch.patch b/swift-corelibs-libdispatch.patch new file mode 100644 index 0000000..6dbb56e --- /dev/null +++ b/swift-corelibs-libdispatch.patch @@ -0,0 +1,60 @@ +diff --git swift-corelibs-libdispatch.orig/src/apply.c swift-corelibs-libdispatch/src/apply.c +index 9c7d60f..c682f95 100644 +--- swift-corelibs-libdispatch.orig/src/apply.c ++++ swift-corelibs-libdispatch/src/apply.c +@@ -20,6 +20,9 @@ + + #include "internal.h" + ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wcast-function-type-mismatch" ++ + typedef void (*dispatch_apply_function_t)(void *, size_t); + static char const * const _dispatch_apply_key = "apply"; + +@@ -366,3 +369,5 @@ dispatch_apply(size_t iterations, dispatch_queue_t dq, void (^work)(size_t)) + (dispatch_apply_function_t)_dispatch_Block_invoke(work)); + } + #endif ++ ++#pragma GCC diagnostic pop +diff --git swift-corelibs-libdispatch.orig/src/data.c swift-corelibs-libdispatch/src/data.c +index 0a3cb1a..81a483b 100644 +--- swift-corelibs-libdispatch.orig/src/data.c ++++ swift-corelibs-libdispatch/src/data.c +@@ -20,6 +20,9 @@ + + #include "internal.h" + ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wcast-function-type-mismatch" ++ + /* + * Dispatch data objects are dispatch objects with standard retain/release + * memory management. A dispatch data object either points to a number of other +@@ -738,3 +741,5 @@ retry: + return mep; + } + #endif // HAVE_MACH ++ ++#pragma GCC diagnostic pop +diff --git swift-corelibs-libdispatch.orig/src/event/event_epoll.c swift-corelibs-libdispatch/src/event/event_epoll.c +index f31d13e..ac80dfd 100644 +--- swift-corelibs-libdispatch.orig/src/event/event_epoll.c ++++ swift-corelibs-libdispatch/src/event/event_epoll.c +@@ -20,6 +20,9 @@ + + + #include "internal.h" ++ ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Wsign-conversion" + #if DISPATCH_EVENT_BACKEND_EPOLL + #include + #include +@@ -724,3 +727,5 @@ _dispatch_event_loop_leave_immediate(uint64_t dq_state) + } + + #endif // DISPATCH_EVENT_BACKEND_EPOLL ++ ++#pragma GCC diagnostic pop diff --git a/swift-foundation.patch b/swift-foundation.patch new file mode 100644 index 0000000..eb492cf --- /dev/null +++ b/swift-foundation.patch @@ -0,0 +1,19 @@ +diff --git swift-foundation.orig/Sources/_FoundationCShims/include/_CStdlib.h swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h +index 71e2fd2..a63a9dc 100644 +--- swift-foundation.orig/Sources/_FoundationCShims/include/_CStdlib.h ++++ swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h +@@ -51,8 +51,14 @@ + #include + #endif + ++#ifndef _GLIBCXX_MATH_H + #if __has_include() ++#ifndef _MATH_H ++#define _GLIBCXX_MATH_H 1 + #include ++#undef _GLIBCXX_MATH_H ++#endif ++#endif + #endif + + #if __has_include() diff --git a/swift-lang.spec b/swift-lang.spec index 488cd67..3528d77 100644 --- a/swift-lang.spec +++ b/swift-lang.spec @@ -1,129 +1,291 @@ + +%if 0%{?fedora} >= 41 +# on Fedora >= 41 +%undefine __brp_add_determinism +%endif %global debug_package %{nil} %undefine _auto_set_build_flags -%global linux_version fedora +Version: 6.2 -################################################# -# Make sure these are changed for every release! -################################################# -%global swift_version 5.8.1-RELEASE -%global fedora_release 6 -%global package_version 5.8.1 +# Main swift source and version +%global forgeurl0 https://github.com/swiftlang/swift +%global version0 %{version} +%global tag0 swift-%{version0}-RELEASE +%global subdir0 swift -# Set to the right version per the json file -%global swift_source_location swift-source -%global icu_version 65-1 -%global yams_version 5.0.1 -%global swift_argument_parser_version 1.0.3 -%global swift_crypto_version 2.2.3 -%global ninja_version 1.11.1 -%global cmake_version 3.19.6 -%global swift_atomics_version 1.0.2 -%global swift_collections_version 1.0.1 -%global swift_numerics_version 1.0.1 -%global swift_system_version 1.1.1 -%global swift_nio_version 2.31.2 -%global swift_nio_ssl_version 2.15.0 +# Begin forge sources +%global forgeurl1 https://github.com/apple/swift-atomics +%global tag1 1.2.0 +%global subdir1 swift-atomics -# Temporary I presume as the json file suggests there should -# be eventually a release version of swift-format -%global swift_format_version 0.50700.1 +%global forgeurl2 https://github.com/swiftlang/sourcekit-lsp +%global tag2 swift-%{version0}-RELEASE +%global subdir2 sourcekit-lsp +%global forgeurl3 https://github.com/swiftlang/swift-corelibs-xctest +%global tag3 swift-%{version0}-RELEASE +%global subdir3 swift-corelibs-xctest + +%global forgeurl4 https://github.com/apple/swift-log +%global tag4 1.5.4 +%global subdir4 swift-log + +%global forgeurl5 https://github.com/swiftlang/swift-llbuild +%global tag5 swift-%{version0}-RELEASE +%global subdir5 llbuild + +%global forgeurl6 https://github.com/swiftlang/swift-corelibs-foundation +%global tag6 swift-%{version0}-RELEASE +%global subdir6 swift-corelibs-foundation + +%global forgeurl7 https://github.com/swiftlang/swift-package-manager +%global tag7 swift-%{version0}-RELEASE +%global subdir7 swiftpm + +%global forgeurl8 https://github.com/swiftlang/swift-lmdb +%global tag8 swift-%{version0}-RELEASE +%global subdir8 swift-lmdb + +%global forgeurl9 https://github.com/KitWare/CMake +%global tag9 v3.30.2 +%global subdir9 cmake + +%global forgeurl10 https://github.com/apple/swift-collections +%global tag10 1.1.3 +%global subdir10 swift-collections + +%global forgeurl11 https://github.com/swiftlang/swift-driver +%global tag11 swift-%{version0}-RELEASE +%global subdir11 swift-driver + +%global forgeurl12 https://github.com/swiftlang/swift-docc-symbolkit +%global tag12 swift-%{version0}-RELEASE +%global subdir12 swift-docc-symbolkit + +%global forgeurl13 https://github.com/swiftlang/swift-foundation +%global tag13 swift-%{version0}-RELEASE +%global subdir13 swift-foundation + +%global forgeurl14 https://github.com/microsoft/mimalloc +%global tag14 v3.0.1 +%global subdir14 mimalloc + +%global forgeurl15 https://github.com/swiftlang/swift-cmark +%global tag15 gfm +%global subdir15 cmark + +%global forgeurl16 https://github.com/gnome/libxml2 +%global tag16 v2.11.5 +%global subdir16 libxml2 + +%global forgeurl17 https://github.com/swiftlang/swift-toolchain-sqlite +%global tag17 1.0.1 +%global subdir17 swift-toolchain-sqlite + +%global forgeurl18 https://github.com/WebAssembly/wasi-libc +%global tag18 wasi-sdk-24 +%global subdir18 wasi-libc + +%global forgeurl19 https://github.com/swiftlang/swift-format +%global tag19 swift-%{version0}-RELEASE +%global subdir19 swift-format + +%global forgeurl20 https://github.com/apple/swift-argument-parser +%global tag20 1.4.0 +%global subdir20 swift-argument-parser + +%global forgeurl21 https://github.com/swiftlang/swift-llvm-bindings +%global tag21 swift-%{version0}-RELEASE +%global subdir21 swift-llvm-bindings + +%global forgeurl22 https://github.com/swiftwasm/WasmKit +%global tag22 0.1.2 +%global subdir22 wasmkit + +%global forgeurl23 https://github.com/swiftlang/swift-syntax +%global tag23 swift-%{version0}-RELEASE +%global subdir23 swift-syntax + +%global forgeurl24 https://github.com/ninja-build/ninja +%global tag24 v1.11.1 +%global subdir24 ninja + +%global forgeurl25 https://github.com/swiftlang/swift-corelibs-libdispatch +%global tag25 swift-%{version0}-RELEASE +%global subdir25 swift-corelibs-libdispatch + +%global forgeurl26 https://github.com/swiftlang/swift-markdown +%global tag26 swift-%{version0}-RELEASE +%global subdir26 swift-markdown + +%global forgeurl27 https://github.com/swiftlang/swift-foundation-icu +%global tag27 swift-%{version0}-RELEASE +%global subdir27 swift-foundation-icu + +%global forgeurl28 https://github.com/madler/zlib +%global tag28 v1.3.1 +%global subdir28 zlib + +%global forgeurl29 https://github.com/apple/swift-system +%global tag29 1.5.0 +%global subdir29 swift-system + +%global forgeurl30 https://github.com/apple/swift-asn1 +%global tag30 1.0.0 +%global subdir30 swift-asn1 + +%global forgeurl31 https://github.com/swiftlang/swift-tools-support-core +%global tag31 swift-%{version0}-RELEASE +%global subdir31 swift-tools-support-core + +%global forgeurl32 https://github.com/swiftlang/swift-stress-tester +%global tag32 swift-%{version0}-RELEASE +%global subdir32 swift-stress-tester + +%global forgeurl33 https://github.com/apple/swift-nio +%global tag33 2.65.0 +%global subdir33 swift-nio + +%global forgeurl34 https://github.com/swiftlang/indexstore-db +%global tag34 swift-%{version0}-RELEASE +%global subdir34 indexstore-db + +%global forgeurl35 https://github.com/swiftlang/swift-build +%global tag35 swift-%{version0}-RELEASE +%global subdir35 swift-build + +%global forgeurl36 https://github.com/apple/swift-certificates +%global tag36 1.0.1 +%global subdir36 swift-certificates + +%global forgeurl37 https://github.com/swiftlang/swift-installer-scripts +%global tag37 swift-%{version0}-RELEASE +%global subdir37 swift-installer-scripts + +%global forgeurl38 https://github.com/swiftlang/swift-testing +%global tag38 swift-%{version0}-RELEASE +%global subdir38 swift-testing + +%global forgeurl39 https://github.com/swiftlang/swift-docc-render-artifact +%global tag39 swift-%{version0}-RELEASE +%global subdir39 swift-docc-render-artifact + +%global forgeurl40 https://github.com/apple/swift-async-algorithms +%global tag40 1.0.1 +%global subdir40 swift-async-algorithms + +%global forgeurl41 https://github.com/swiftlang/swift-integration-tests +%global tag41 swift-%{version0}-RELEASE +%global subdir41 swift-integration-tests + +%global forgeurl42 https://github.com/apple/swift-crypto +%global tag42 3.0.0 +%global subdir42 swift-crypto + +%global forgeurl43 https://github.com/swiftlang/swift-sdk-generator +%global tag43 swift-%{version0}-RELEASE +%global subdir43 swift-sdk-generator + +%global forgeurl44 https://github.com/swiftlang/llvm-project +%global tag44 swift-%{version0}-RELEASE +%global subdir44 llvm-project + +%global forgeurl45 https://github.com/curl/curl +%global tag45 curl-8_9_1 +%global subdir45 curl + +%global forgeurl46 https://github.com/apple/swift-xcode-playground-support +%global tag46 swift-%{version0}-RELEASE +%global subdir46 swift-xcode-playground-support + +%global forgeurl47 https://github.com/swiftlang/swift-experimental-string-processing +%global tag47 swift-%{version0}-RELEASE +%global subdir47 swift-experimental-string-processing + +%global forgeurl48 https://github.com/apple/swift-numerics +%global tag48 1.0.2 +%global subdir48 swift-numerics + +%global forgeurl49 https://github.com/swiftlang/swift-docc +%global tag49 swift-%{version0}-RELEASE +%global subdir49 swift-docc + +# End forge sources Name: swift-lang -Version: %{package_version} -Release: %{fedora_release}%{?dist} +Release: %autorelease +%forgemeta -a + Summary: The Swift programming language License: Apache-2.0 URL: https://www.swift.org -Source0: https://github.com/apple/swift/archive/refs/tags/swift-%{swift_version}.tar.gz#/swift.tar.gz -Source1: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{swift_version}.tar.gz#/corelibs-libdispatch.tar.gz -Source2: https://github.com/apple/swift-corelibs-foundation/archive/swift-%{swift_version}.tar.gz#/corelibs-foundation.tar.gz -Source3: https://github.com/apple/swift-integration-tests/archive/swift-%{swift_version}.tar.gz#/swift-integration-tests.tar.gz -Source4: https://github.com/apple/swift-corelibs-xctest/archive/swift-%{swift_version}.tar.gz#/corelibs-xctest.tar.gz -Source5: https://github.com/apple/swift-package-manager/archive/swift-%{swift_version}.tar.gz#/package-manager.tar.gz -Source6: https://github.com/apple/swift-llbuild/archive/swift-%{swift_version}.tar.gz#/llbuild.tar.gz -Source7: https://github.com/apple/swift-cmark/archive/swift-%{swift_version}.tar.gz#/cmark.tar.gz -Source8: https://github.com/apple/swift-xcode-playground-support/archive/swift-%{swift_version}.tar.gz#/swift-xcode-playground-support.tar.gz -Source9: https://github.com/apple/sourcekit-lsp/archive/swift-%{swift_version}.tar.gz#/sourcekit-lsp.tar.gz -Source10: https://github.com/apple/indexstore-db/archive/swift-%{swift_version}.tar.gz#/indexstore-db.tar.gz -Source11: https://github.com/apple/llvm-project/archive/swift-%{swift_version}.tar.gz#/llvm-project.tar.gz -Source12: https://github.com/apple/swift-tools-support-core/archive/swift-%{swift_version}.tar.gz#/swift-tools-support-core.tar.gz -Source13: https://github.com/apple/swift-argument-parser/archive/%{swift_argument_parser_version}.tar.gz#/swift-argument-parser.tar.gz -Source14: https://github.com/apple/swift-driver/archive/swift-%{swift_version}.tar.gz#/swift-driver.tar.gz -Source15: https://github.com/unicode-org/icu/archive/release-%{icu_version}.tar.gz#/icu.tar.gz -Source16: https://github.com/apple/swift-syntax/archive/swift-%{swift_version}.zip#/swift-syntax.tar.gz -Source17: https://github.com/jpsim/Yams/archive/%{yams_version}.tar.gz#/yams.tar.gz -Source18: https://github.com/apple/swift-crypto/archive/refs/tags/%{swift_crypto_version}.tar.gz#/swift-crypto.tar.gz -Source19: https://github.com/ninja-build/ninja/archive/refs/tags/v%{ninja_version}.tar.gz#/ninja.tar.gz -Source20: https://github.com/KitWare/CMake/archive/refs/tags/v%{cmake_version}.tar.gz#/cmake.tar.gz -Source21: https://github.com/apple/swift-atomics/archive/%{swift_atomics_version}.tar.gz#/swift-atomics.tar.gz -Source22: https://github.com/apple/swift-stress-tester/archive/swift-%{swift_version}.tar.gz#/swift-stress-tester.tar.gz -Source23: https://github.com/apple/swift-docc/archive/swift-%{swift_version}.tar.gz#/swift-docc.tar.gz -Source24: https://github.com/apple/swift-docc-render-artifact/archive/swift-%{swift_version}.tar.gz#/swift-docc-render-artifact.tar.gz -Source25: https://github.com/apple/swift-docc-symbolkit/archive/swift-%{swift_version}.tar.gz#/swift-docc-symbolkit.tar.gz -Source26: https://github.com/apple/swift-collections/archive/%{swift_collections_version}.tar.gz#/swift-collections.tar.gz -Source27: https://github.com/apple/swift-numerics/archive/%{swift_numerics_version}.tar.gz#/swift-numerics.tar.gz -Source28: https://github.com/apple/swift-system/archive/%{swift_system_version}.tar.gz#/swift-system.tar.gz -Source29: https://github.com/apple/swift-nio/archive/%{swift_nio_version}.tar.gz#/swift-nio.tar.gz -Source30: https://github.com/apple/swift-nio-ssl/archive/%{swift_nio_ssl_version}.tar.gz#/swift-nio-ssl.tar.gz -%dnl Source31: https://github.com/apple/swift-format/archive/swift-%{swift_version}.tar.gz#/swift-format.tar.gz -Source31: https://github.com/apple/swift-format/archive/refs/tags/%{swift_format_version}.tar.gz#/swift-format.tar.gz -Source32: https://github.com/apple/swift-lmdb/archive/swift-%{swift_version}.tar.gz#/swift-lmdb.tar.gz -Source33: https://github.com/apple/swift-markdown/archive/swift-%{swift_version}.tar.gz#/swift-markdown.tar.gz -Source34: https://github.com/apple/swift-experimental-string-processing/archive/swift-%{swift_version}.tar.gz#/swift-experimental-string-processing.tar.gz -%dnl Source35: https://github.com/apple/swift-llvm-bindings/archive/swift-%{swift_version}.tar.gz#/swift-llvm-bindings.tar.gz +%{lua: +for i = 0, 49 do + local forgesource = rpm.expand("%{?forgesource" .. i .. "}") + if forgesource ~= "" then + print("Source" .. i .. ": " .. forgesource .. "\n") + end +end +} +Source99: swiftlang.conf +Source100: fedora-presets.ini -Patch1: uintptr.patch -Patch2: enablelzma.patch -Patch3: fs.patch -Patch4: unusedvars.patch -Patch5: no-test.patch -Patch7: fclose_issues.patch -Patch8: new_glibc.patch -Patch9: no_pipes_58.patch -Patch10: cython_updates.patch -Patch11: latest_python.patch -Patch12: disable_warning.patch -Patch13: debug_build.patch +# NOTE: The patch number corresponds to the source it's packaging. For example, +# Patch25 is patching Source25, swift-foundation. +Patch0: swift.patch +Patch44: llvm-project.patch +Patch15: cmark.patch +Patch5: llbuild.patch +Patch7: swiftpm.patch +Patch13: swift-foundation.patch +Patch25: swift-corelibs-libdispatch.patch +Patch24: ninja.patch +Patch9: cmake.patch -%ifarch aarch64 -BuildRequires: clang >= 15 -%else BuildRequires: clang -%endif BuildRequires: swig BuildRequires: rsync BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-distro -BuildRequires: libbsd-devel BuildRequires: libxml2-devel BuildRequires: sqlite-devel -BuildRequires: libdispatch-devel BuildRequires: libcurl-devel BuildRequires: libuuid-devel BuildRequires: libedit-devel -BuildRequires: libicu-devel BuildRequires: perl-podlators -BuildRequires: python3-six -BuildRequires: binutils-devel -%if ! 0%{?el8} -BuildRequires: python-unversioned-command -%endif +BuildRequires: lld BuildRequires: binutils-gold Requires: glibc-devel -Requires: binutils-gold +Requires: lld Requires: gcc -Requires: ncurses-devel -Requires: lldb + +Recommends: libstdc++-devel +Recommends: gcc-c++ ExclusiveArch: x86_64 aarch64 -Provides: swiftlang = %{version}-%{release} +Provides: swiftlang = %{version}-%{release} + +# https://bugzilla.redhat.com/show_bug.cgi?id=2291122 +# (python3-swiftclient provides a program called "swift" +# that clashes with the binary created by this package) +# This is currently for all versions, so we don't +# specify one +Conflicts: python3-swiftclient + + +# Per https://bugzilla.redhat.com/show_bug.cgi?id=2324076 we +# need to exclude all of the LLVM libraries, basically everything +# we bundle, from being picked up by the RPM dependency +# generator for "provides" (i.e. we don't want to have our +# version of liblldb.so found when someone is searching for +# general version of LLDB). +%global __provides_exclude ^(libLTO[.]so.*|libclang_rt.*.so.*|liblldb[.]so.*)$ +%global __requires_exclude ^(libLTO[.]so.*|libclang_rt.*.so.*|liblldb[.]so.*)$ %description @@ -139,121 +301,111 @@ correct programs easier for the developer. %prep -%setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 -a 34 -# The Swift build script requires directories to be named -# in a specific way so renaming the source directories is -# necessary -mv swift-cmark-swift-%{swift_version} cmark -mv swift-corelibs-foundation-swift-%{swift_version} swift-corelibs-foundation -mv swift-corelibs-libdispatch-swift-%{swift_version} swift-corelibs-libdispatch -mv swift-corelibs-xctest-swift-%{swift_version} swift-corelibs-xctest -mv swift-integration-tests-swift-%{swift_version} swift-integration-tests -mv swift-llbuild-swift-%{swift_version} llbuild -mv swift-package-manager-swift-%{swift_version} swiftpm -mv swift-swift-%{swift_version} swift -mv swift-xcode-playground-support-swift-%{swift_version} swift-xcode-playground-support -mv sourcekit-lsp-swift-%{swift_version} sourcekit-lsp -mv indexstore-db-swift-%{swift_version} indexstore-db -mv llvm-project-swift-%{swift_version} llvm-project -mv swift-syntax-swift-%{swift_version} swift-syntax -mv swift-tools-support-core-swift-%{swift_version} swift-tools-support-core -mv swift-argument-parser-%{swift_argument_parser_version} swift-argument-parser -mv swift-driver-swift-%{swift_version} swift-driver -mv swift-crypto-%{swift_crypto_version} swift-crypto -mv CMake-%{cmake_version} cmake -mv swift-atomics-%{swift_atomics_version} swift-atomics -mv swift-docc-swift-%{swift_version} swift-docc -mv swift-docc-render-artifact-swift-%{swift_version} swift-docc-render-artifact -mv swift-docc-symbolkit-swift-%{swift_version} swift-docc-symbolkit -mv swift-collections-%{swift_collections_version} swift-collections -mv swift-numerics-%{swift_numerics_version} swift-numerics -mv swift-system-%{swift_system_version} swift-system -mv swift-nio-%{swift_nio_version} swift-nio -mv swift-nio-ssl-%{swift_nio_ssl_version} swift-nio-ssl -%dnl mv swift-format-swift-%{swift_version} swift-format -mv swift-format-%{swift_format_version} swift-format -mv swift-lmdb-swift-%{swift_version} swift-lmdb -mv swift-markdown-swift-%{swift_version} swift-markdown -mv swift-stress-tester-swift-%{swift_version} swift-stress-tester -mv swift-experimental-string-processing-swift-%{swift_version} swift-experimental-string-processing +%forgesetup -a +cd %{builddir} +%{lua: +for i = 0, 49 do + local subdir = rpm.expand("%{?subdir" .. i .. "}") + if subdir ~= "" then + print(rpm.expand("mv %{archivename" .. i .. "} " .. subdir .. "\n")) + end +end +} -# ICU -mv icu-release-%{icu_version} icu +%patch 0 +%patch 44 +%patch 15 +%patch 5 +%patch 7 +%patch 13 +%patch 25 +%patch 24 +%patch 9 -# Yams -mv Yams-%{yams_version} yams - -# Ninja -mv ninja-%{ninja_version} ninja +# Install custom Fedora preset +cp %{SOURCE100} swift/utils/fedora-presets.ini # Fix python to python3 %py3_shebang_fix swift/utils/api_checker/swift-api-checker.py %py3_shebang_fix llvm-project/compiler-rt/lib/hwasan/scripts/hwasan_symbolize -# Fix for uinit_ptr not being declared implicitly -%patch -P1 -p0 - -# Enable LZMA -%patch -P2 -p0 - -# Tests fail for some reason preventing the package from being built -%patch -P5 -p0 - -# Issue with >= F39 not liking not having the file object -# explicitly forced in an fclose() -%patch -P7 -p0 - -# 39 and later, so this patch modifies the CMakeLists.txt file -# to add a check for them, along with a patch to the header -# file that if they are present, don't define the functions -# seperately. -%patch -P8 -p0 - -# For 41 and later, python pipes are no longer a thing -%patch -P9 -p0 -# For 41 and later, some additional old parts removed -%dnl %patch -P10 -p0 - -# Python 3.12 changes -%dnl %patch -P11 -p0 - -# Warning as error in EPEL 10 -%patch -P12 -p0 - -# Trying to troubleshoot compiler crash on aarch64 -%ifarch aarch64 -%patch -P13 -p0 -%endif - +# Build wasmkit using current swift-tools-version +sed -i 's/swift-tools-version:999.0.0/swift-tools-version:6.1.3/' wasmkit/Package@swift-6.1.swift +%global buildsubdir %{nil} %build export VERBOSE=1 -# Specific for aarch64 architecture -%ifarch aarch64 -if [ ! -d $PWD/oldclang ] ; then - mkdir -p $PWD/oldclang - ln -s /usr/bin/clang-15 $PWD/oldclang/clang - ln -s /usr/bin/clang++-15 $PWD/oldclang/clang++ -fi -export PATH=$PWD/oldclang:$PATH -%endif +# Four-stage bootstrap to build Swift from scratch without external Swift compiler +# Stage 0: Build minimal Swift toolchain from C++ using gold linker +# Produces: Swift compiler with C++ legacy driver (no SwiftPM, no swift-driver) +# Stage 0 clang defaults to gold +# Stage 1: Rebuild Swift compiler using Stage 0 with gold linker +# Produces: Swift compiler with macros support + Foundation + Dispatch +# Stage 1 clang is compiled with lld as its default linker +# Stage 2: Build Swift compiler using Stage 1 with lld linker +# Produces: Swift compiler + SwiftPM + basic tools (still no swift-driver) +# Stage 2 clang defaults to lld +# Stage 3: Build final production toolchain using Stage 2 +# Produces: Complete toolchain with swift-driver, sourcekit-lsp, swift-format, etc. +# This matches upstream first-party distributions -# Here we go! -swift/utils/build-script --preset=buildbot_linux,no_test install_destdir=%{_builddir} installable_package=%{_builddir}/swift-%{version}-%{linux_version}.tar.gz +echo "=== Bootstrap Stage 0: Building minimal Swift from C++ ===" +%{builddir}/swift/utils/build-script --preset=bootstrap_stage0 \ + build_subdir=bootstrap_stage0 \ + install_destdir=%{_builddir}/stage0 \ + installable_package=%{_builddir}/swift-%{version}-stage0.tar.gz \ + extra-cmake-options="-DLLVM_USE_LINKER=gold -DCLANG_DEFAULT_LINKER=gold" + +echo "=== Bootstrap Stage 1: Rebuilding Swift with Stage 0 ===" +export PATH=%{_builddir}/stage0/usr/bin:$PATH +%{builddir}/swift/utils/build-script --preset=bootstrap_stage1 \ + build_subdir=bootstrap_stage1 \ + install_destdir=%{_builddir}/stage1 \ + installable_package=%{_builddir}/swift-%{version}-stage1.tar.gz \ + extra-cmake-options="-DLLVM_USE_LINKER=gold -DCLANG_DEFAULT_LINKER=lld" + +echo "=== Bootstrap Stage 2: Building toolchain with SwiftPM ===" +export PATH=%{_builddir}/stage1/usr/bin:%{_builddir}/stage0/usr/bin:$PATH +%{builddir}/swift/utils/build-script --preset=bootstrap_stage2 \ + build_subdir=bootstrap_stage2 \ + install_destdir=%{_builddir}/stage2 \ + installable_package=%{_builddir}/swift-%{version}-stage2.tar.gz \ + extra-cmake-options="-DLLVM_USE_LINKER=lld -DCLANG_DEFAULT_LINKER=lld" + +echo "=== Stage 3: Building final production toolchain with swift-driver ===" +export PATH=%{_builddir}/stage2/usr/bin:%{_builddir}/stage1/usr/bin:%{_builddir}/stage0/usr/bin:$PATH +%{builddir}/swift/utils/build-script --preset=fedora_final \ + --preset-file=%{builddir}/swift/utils/fedora-presets.ini \ + build_subdir=fedora_final \ + install_destdir=%{_builddir} \ + installable_package=%{_builddir}/swift-%{version}-f%{fedora}.tar.gz \ + extra-cmake-options="-DLLVM_USE_LINKER=lld -DCLANG_DEFAULT_LINKER=lld -DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro,-z,now -DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro,-z,now" %install -mkdir -p %{buildroot}%{_libexecdir}/swift/%{package_version} -cp -r %{_builddir}/usr/* %{buildroot}%{_libexecdir}/swift/%{package_version} +mkdir -p %{buildroot}%{_libexecdir}/swift/%{version} +cp -r %{_builddir}/usr/* %{buildroot}%{_libexecdir}/swift/%{version} mkdir -p %{buildroot}%{_bindir} -ln -fs %{_libexecdir}/swift/%{package_version}/bin/swift %{buildroot}%{_bindir}/swift -ln -fs %{_libexecdir}/swift/%{package_version}/bin/swiftc %{buildroot}%{_bindir}/swiftc -ln -fs %{_libexecdir}/swift/%{package_version}/bin/sourcekit-lsp %{buildroot}%{_bindir}/sourcekit-lsp +ln -fs %{_libexecdir}/swift/%{version}/bin/swift %{buildroot}%{_bindir}/swift +ln -fs %{_libexecdir}/swift/%{version}/bin/swiftc %{buildroot}%{_bindir}/swiftc +ln -fs %{_libexecdir}/swift/%{version}/bin/swift-build %{buildroot}%{_bindir}/swift-build +ln -fs %{_libexecdir}/swift/%{version}/bin/swift-run %{buildroot}%{_bindir}/swift-run +ln -fs %{_libexecdir}/swift/%{version}/bin/sourcekit-lsp %{buildroot}%{_bindir}/sourcekit-lsp mkdir -p %{buildroot}%{_mandir}/man1 cp %{_builddir}/usr/share/man/man1/swift.1 %{buildroot}%{_mandir}/man1/swift.1 mkdir -p %{buildroot}/usr/lib -ln -fs %{_libexecdir}/swift/%{package_version}/lib/swift %{buildroot}/usr/lib/swift +ln -fs %{_libexecdir}/swift/%{version}/lib/swift %{buildroot}/usr/lib/swift +mkdir -p %{buildroot}%{_libdir} +ln -fs %{_libexecdir}/swift/%{version}/lib/libIndexStore.so %{buildroot}%{_libdir}/ +ln -fs %{_libexecdir}/swift/%{version}/lib/libIndexStore.so.17.0 %{buildroot}%{_libdir}/ +ln -fs %{_libexecdir}/swift/%{version}/lib/libsourcekitdInProc.so %{buildroot}%{_libdir}/ +ln -fs %{_libexecdir}/swift/%{version}/lib/libswiftDemangle.so %{buildroot}%{_libdir}/ +mkdir -p %{buildroot}%{_includedir}/swift +cp -r %{_builddir}/swift/include/swift/SwiftDemangle %{buildroot}%{_includedir}/swift/ +mkdir -p %{buildroot}/%{_sysconfdir}/ld.so.conf.d/ +install -m 0644 %{SOURCE99} %{buildroot}/%{_sysconfdir}/ld.so.conf.d/swiftlang.conf + # This is to fix an issue with check-rpaths complaining about # how the Swift binaries use RPATH @@ -264,10 +416,17 @@ export QA_SKIP_RPATHS=1 %license swift/LICENSE.txt %{_bindir}/swift %{_bindir}/swiftc +%{_bindir}/swift-build +%{_bindir}/swift-run %{_bindir}/sourcekit-lsp %{_mandir}/man1/swift.1.gz %{_libexecdir}/swift/ %{_usr}/lib/swift +%{_libdir}/libIndexStore.so* +%{_libdir}/libsourcekitdInProc.so +%{_libdir}/libswiftDemangle.so +%{_includedir}/swift/ +%{_sysconfdir}/ld.so.conf.d/swiftlang.conf %post -p /sbin/ldconfig @@ -275,695 +434,4 @@ export QA_SKIP_RPATHS=1 %changelog -* Tue Dec 17 2024 Ron Olson 5.8.1-6 -- Made 5.8.1 work for EPEL 10 as it is the last version of - Swift that could be built without another version of - Swift being present -* Fri Jun 21 2024 Ron Olson 5.8.1-5 -- Added another patch -* Thu Jun 20 2024 Ron Olson 5.8.1-4 -- Added patch to build without pipes on Rawhide and Fedora 41 -* Fri Feb 16 2024 Ron Olson 5.8.1-3 -- Added symlink for future versions of Swift -* Tue Aug 22 2023 Ron Olson 5.8.1-2 -- Added patch to work with glibc 2.38 - Resolves: rhbz#2226476 - -* Sat Jul 22 2023 Fedora Release Engineering - 5.8.1-1.2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jun 13 2023 Python Maint - 5.8.1-1.1 -- Rebuilt for Python 3.12 - -* Fri Jun 02 2023 Ron Olson - 5.8.1-1 -- Updated to Swift 5.8.1-RELEASE - Resolves: rhbz#2211845 -* Fri Mar 31 2023 Ron Olson - 5.8-1 -- Updated to Swift 5.8-RELEASE - Resolves: rhbz#2183429 -* Sat Jan 21 2023 Fedora Release Engineering - 5.7.2-1.1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild -* Tue Dec 27 2022 Ron Olson - 5.8-1 -- Cleanup and first attempt at getting 5.8 going -* Fri Dec 16 2022 Ron Olson - 5.7.2-2 -- SPDX migration -* Wed Dec 14 2022 Ron Olson - 5.7.2-1 -- Updated to Swift 5.7.2-RELEASE - Resolves: rhbz#2153189 -* Wed Nov 02 2022 Ron Olson - 5.7.1-1 -- Updated to Swift 5.7.1-RELEASE - Resolves: rhbz#2139320 -* Tue Nov 01 2022 Ron Olson - 5.7-4 -- Merged fix from Lumír Balhar to replace the pathfix.py tool - with the new way for Python 3.12 -* Tue Sep 27 2022 Ron Olson - 5.7-3 -- Resolves: rhbz#2130233 -* Tue Sep 27 2022 Ron Olson - 5.7-2 -- Added patch to handle an initialized variable but not - used -* Tue Sep 13 2022 Ron Olson - 5.7-1 -- Updated to Swift 5.7-RELEASE -* Thu May 05 2022 Ron Olson - 5.7-1 -- First working version of Swift 5.7 -* Mon Apr 25 2022 Ron Olson - 5.7-1 -- First attempt to build swift-5.7 -* Thu Apr 21 2022 Ron Olson - 5.6.1-2 -- Removed ncurses-compat-libs as a runtime dependency as it - has been removed from Fedora Rawhide -* Mon Apr 11 2022 Ron Olson - 5.6.1-1 -- Updated to Swift 5.6.1-RELEASE -* Wed Mar 30 2022 Ron Olson - 5.6-1 -- Updated to Swift 5.6-RELEASE -* Tue Feb 15 2022 Ron Olson - 5.5.3-1 -- Updated to Swift 5.5.3-RELEASE -* Sat Jan 22 2022 Fedora Release Engineering - 5.5.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild -* Wed Jan 12 2022 Ron Olson - 5.6-1 -- First build of Swift-5.6 -* Tue Dec 14 2021 Ron Olson - 5.5.2-1 -- Updated to Swift 5.5.2-RELEASE -* Wed Oct 27 2021 Ron Olson - 5.5.1-1 -- Updated to Swift 5.5.1-RELEASE -* Tue Sep 21 2021 Ron Olson - 5.5-1 -- Updated to Swift 5.5-RELEASE -* Fri Sep 17 2021 Ron Olson - 5.4.3-2 -- Added patch to allow building using Clang 13 -* Wed Sep 15 2021 Ron Olson - 5.4.3-1 -- Updated to swift-5.4.3-RELEASE -* Fri Jul 23 2021 Fedora Release Engineering - 5.4.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild -* Thu Jul 15 2021 Ron Olson - 5.4.2-2 -- Discovered that EPEL-8 doesn't have binutils-gold -* Mon Jul 05 2021 Ron Olson - 5.4.2-1 -- Updated to swift-5.4.2-RELEASE -* Mon Jun 21 2021 Ron Olson - 5.4.1-2 -- Changes for EPEL-8 -* Thu Jun 10 2021 Ron Olson - 5.4.1-1 -- Added fix for RPATH problems -* Fri Jun 04 2021 Python Maint - 5.4-2 -- Rebuilt for Python 3.10 -* Thu Jun 03 2021 Ron Olson 5.5-1 -- Removed special CMake stuff for EPEL 8 -* Tue Jun 01 2021 Ron Olson 5.5-1 -- Added patch to remove Cyclades from LLVM -* Fri May 28 2021 Jesús Abelardo Saldívar Aguilar 5.5-1 -- Added patches to fix circular dependency on PkgConfig -* Fri May 21 2021 Ron Olson 5.5-1 -- First version of Swift 5.5 - 5.5-DEVELOPMENT-SNAPSHOT-2021-05-18-a -* Tue Apr 27 2021 Ron Olson 5.4-1 -- Updated to swift-5.4-RELEASE -* Tue Apr 06 2021 Ron Olson 5.4-1 -- Updated to swift-5.4-DEVELOPMENT-SNAPSHOT-2021-03-25-a -* Tue Mar 30 2021 Jonathan Wakely - 5.3.3-2 -- Rebuilt for removed libstdc++ symbol (#1937698) -* Thu Jan 28 2021 Ron Olson 5.3.3-1 -- Updated to swift-5.3.3-RELEASE -* Wed Jan 27 2021 Fedora Release Engineering - 5.3.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild -* Thu Jan 21 2021 Ron Olson 5.4-1 -- First working version of Swift 5.4 -* Tue Dec 22 2020 Ron Olson 5.3.2-1 -- Updated to swift-5.3.2-RELEASE -* Fri Dec 04 2020 Jeff Law 5.3.1-2 -- Fix missing #include for gcc-11 - -* Fri Nov 13 2020 Ron Olson 5.3.1-1 -- Updated to swift-5.3.1-RELEASE -* Thu Sep 17 2020 Ron Olson 5.3-1 -- Updated to swift-5.3-RELEASE -* Mon Aug 10 2020 Ron Olson 5.2.5-1 -- Updated to swift-5.2.5-RELEASE -* Wed Jul 29 2020 Fedora Release Engineering - 5.2.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue May 26 2020 Miro Hrončok - 5.2.4-2 -- Rebuilt for Python 3.9 - -* Wed May 20 2020 Ron Olson 5.2.4-1 -- Updated to swift-5.2.4-RELEASE -* Wed Apr 29 2020 Ron Olson 5.2.3-1 -- Updated to swift-5.2.3-RELEASE -* Fri Apr 17 2020 Ron Olson 5.2.2-2 -- Added patch to remove use of sys/sysctl.h as it was removed - in Rawhide (future F33) -* Wed Apr 15 2020 Ron Olson 5.2.2-1 -- Updated to swift-5.2.2-RELEASE -* Sun Apr 12 2020 Ron Olson 5.2.1-3 -- Put CMake back as a build step because the version in EPEL 8 is too - old -* Sun Apr 12 2020 Ron Olson 5.2.1-2 -- Added s390x architecture and F30-specific requires -* Mon Apr 06 2020 Ron Olson 5.2.1-1 -- Reorganized the package to place everything in a single location, - changed the versioning scheme, and removed a number of obsolete patches -* Wed Apr 01 2020 Ron Olson 5.2.1-0.1.20200331git2e3b1b3 -- Updated to swift-5.2.1-RELEASE -* Wed Mar 25 2020 Ron Olson 5.2-0.10.20200324git443e9a4 -- Updated to swift-5.2-RELEASE -* Thu Mar 12 2020 Ron Olson 5.2-0.9.20200311git33150e3 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-11-a and switched to - using patched version of cmake to get around issues building 5.2 with - 3.17 -* Fri Feb 28 2020 Ron Olson 5.2-0.8.20200227git33150e3 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-02-27-a -* Sun Feb 02 2020 Ron Olson 5.2-0.7.20200201git66c06ab -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-02-01-a -* Sat Feb 01 2020 Ron Olson 5.2-0.6.20200131gitfab20c6 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-31-a -* Thu Jan 30 2020 Ron Olson 5.2-0.5.20200129gita0c1677 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-29-a -* Tue Jan 28 2020 Ron Olson 5.2-0.4.20200127git7c02102 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-27-a -* Mon Jan 20 2020 Ron Olson 5.2-0.3.20200117git3194881 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-17-a -* Fri Jan 10 2020 Ron Olson 5.2-0.2.20200109git880e9e6 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-09-a -* Tue Jan 07 2020 Ron Olson 5.2-0.1.20200106git74df113 -- Updated to swift-5.2-DEVELOPMENT-SNAPSHOT-2020-01-06-a -* Sat Dec 21 2019 Ron Olson 5.1-0.6.20191220git04833a6 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-20-a -* Fri Dec 20 2019 Ron Olson 5.1-0.5.20191219git04833a6 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-19-a -* Thu Dec 19 2019 Ron Olson 5.1-0.4.20191218git04833a6 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-18-a -* Wed Dec 18 2019 Ron Olson 5.1-0.3.20191217git04833a6 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-17-a -* Tue Dec 17 2019 Ron Olson 5.1-0.2.20191216git04833a6 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-16-a -* Fri Dec 13 2019 Ron Olson 5.1.3-0.1.20191213git005fc1f -- Updated to swift-5.1.3-RELEASE -* Fri Dec 13 2019 Ron Olson 5.1-0.20.20191212gita22eb08 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-12-a -* Wed Dec 11 2019 Ron Olson 5.1-0.19.20191210git4a1b378 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-10-a -* Tue Dec 10 2019 Ron Olson 5.1-0.18.20191209git4a1b378 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-09-a -* Mon Dec 09 2019 Ron Olson 5.1-0.17.20191130gited9117a -- Release of 5.1.2 with sourcekit-lsp enabled. The user still needs to build - and install the plugin for vscode; if they do this version will support - code-completion, also works with neovim too -* Sat Dec 07 2019 Ron Olson 5.1-0.16.20191206git4b8db65 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-06-a -* Fri Dec 06 2019 Ron Olson 5.1-0.15.20191205git4b8db65 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-05-a -* Thu Dec 05 2019 Ron Olson 5.1-0.14.20191204git4b8db65 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-04-a -* Wed Dec 04 2019 Ron Olson 5.1-0.13.20191203git4b8db65 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-12-03-a -* Sat Nov 30 2019 Ron Olson 5.1-0.12.20191129git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-29-a -* Fri Nov 29 2019 Ron Olson 5.1-0.11.20191128git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-28-a -* Thu Nov 28 2019 Ron Olson 5.1-0.10.20191127git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-27-a -* Wed Nov 27 2019 Ron Olson 5.1-0.9.20191126git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-26-a -* Tue Nov 26 2019 Ron Olson 5.1-0.8.20191125git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-25-a -* Mon Nov 25 2019 Ron Olson 5.1-0.7.20191124git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-24-a -* Sat Nov 23 2019 Ron Olson 5.1-0.6.20191122git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-22-a -* Fri Nov 22 2019 Ron Olson 5.1-0.5.20191121git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-21-a -* Tue Nov 19 2019 Ron Olson 5.1-0.4.20191118git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-18-a -* Mon Nov 18 2019 Ron Olson 5.1-0.3.20191117git60f3082 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-17-a -* Sat Nov 16 2019 Ron Olson 5.1-0.2.20191115git51fe191 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-15-a -* Fri Nov 15 2019 Ron Olson 5.1.3-0.1.20191114gite74feb6 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-14-a -* Thu Nov 07 2019 Ron Olson 5.1.2-0.1.20191107git71def56 -- Updated to swift-5.1.2-RELEASE -* Wed Nov 06 2019 Ron Olson 5.1-0.7.20191105gitb368b0d -- Added icu, also updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-05-a -* Mon Nov 04 2019 Ron Olson 5.1-0.6.20191101git74328cd -- Added unpackaged files, switched to new llvm-project-based subproject -* Sun Nov 03 2019 Ron Olson 5.1-0.5.20191101git74328cd -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-11-01-a -* Thu Oct 31 2019 Ron Olson 5.1.1-0.4.20191004git4242edd -- Added sourcekit-lsp -* Wed Oct 30 2019 Ron Olson 5.1.1-0.3.20191004git4242edd -- Clang 9 was causing compiler-rt to not build properly due to a macro. -* Thu Oct 17 2019 Ron Olson 5.1.1-0.2.20191004git4242edd -- Fixed issue with installing swift-lang only gave the option for - swift-lang-runtime -* Fri Oct 04 2019 Ron Olson 5.1.1-0.1.20191004git4242edd -- Updated to swift-5.1.1-RELEASE -* Thu Sep 19 2019 Ron Olson 5.1-0.57.20190919gitfa33242 -- Updated to swift-5.1-RELEASE and removed FrameworkABIBaseline as apparently - it disappeared -* Thu Sep 19 2019 Ron Olson 5.1-0.56.20190918gite05f800 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-18-a -* Wed Sep 18 2019 Ron Olson 5.1-0.55.20190917git1f49050 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-17-a -* Tue Sep 17 2019 Ron Olson 5.1-0.54.20190916git279ca88 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-16-a -* Mon Sep 16 2019 Ron Olson 5.1-0.53.20190915git279ca88 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-15-a -* Sun Sep 15 2019 Ron Olson 5.1-0.52.20190914git279ca88 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-14-a -* Sat Sep 14 2019 Ron Olson 5.1-0.51.20190913git11b9972 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-13-a -* Fri Sep 13 2019 Ron Olson 5.1-0.50.20190912gitb9d082f -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-12-a -* Thu Sep 12 2019 Ron Olson 5.1-0.49.20190911gitb8f4481 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-11-a -* Tue Sep 10 2019 Ron Olson 5.1-0.48.20190909git28a0436 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-09-a -* Mon Sep 09 2019 Ron Olson 5.1-0.47.20190908git28a0436 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-08-a also added test for - Red Hat Enterprise Linux and CentOS (when it is updated to match RHEL 8) - Also packaged some new files -* Fri Sep 06 2019 Ron Olson 5.1-0.46.20190905git1880eb0 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-05-a -* Thu Sep 05 2019 Ron Olson 5.1-0.45.20190904git1880eb0 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-04-a -* Wed Sep 04 2019 Ron Olson 5.1-0.44.20190903gitfcc37cd -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-03-a -* Tue Sep 03 2019 Ron Olson 5.1-0.43.20190902gitfcc37cd -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-02-a -* Mon Sep 02 2019 Ron Olson 5.1-0.42.20190901gitfcc37cd -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-09-01-a -* Sun Sep 01 2019 Ron Olson 5.1-0.41.20190831gitfcc37cd -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-31-a -* Fri Aug 30 2019 Ron Olson 5.1-0.40.20190829gitfcc37cd -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-29-a -* Thu Aug 29 2019 Ron Olson 5.1-0.39.20190828gite90298c -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-28-a and added explicit - requirement for python3-distro -* Wed Aug 28 2019 Ron Olson 5.1-0.38.20190827gite90298c -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-27-a and added a patch - to allow LLDB to be built using Python 3.8 (currently in F32/Rawhide) -* Tue Aug 27 2019 Ron Olson 5.1-0.37.20190826git3b0cf9e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-26-a -* Mon Aug 26 2019 Ron Olson 5.1-0.36.20190825git3b0cf9e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-25-a -* Sun Aug 25 2019 Ron Olson 5.1-0.35.20190824git3b0cf9e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-24-a -* Sat Aug 24 2019 Ron Olson 5.1-0.34.20190823git3b0cf9e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-23-a -* Fri Aug 23 2019 Ron Olson 5.1-0.33.20190822git3b0cf9e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-22-a -* Wed Aug 21 2019 Ron Olson 5.1-0.32.20190820git3b0cf9e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-20-a -* Mon Aug 19 2019 Ron Olson 5.1-0.31.20190817git3b0cf9e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-17-a -* Sat Aug 17 2019 Ron Olson 5.1-0.30.20190816git1329017 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-16-a -* Fri Aug 16 2019 Ron Olson 5.1-0.29.20190815git1329017 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-15-a -* Wed Aug 14 2019 Ron Olson 5.1-0.28.20190813git425a146 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-13-a -* Tue Aug 13 2019 Ron Olson 5.1-0.27.20190812git425a146 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-08-12-a and added another - directory -* Fri Jul 26 2019 Ron Olson 5.1-0.26.20190725git0450b7d -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-25-a -* Thu Jul 25 2019 Ron Olson 5.1-0.25.20190724gite9b6385 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-24-a -* Wed Jul 24 2019 Ron Olson 5.1-0.24.20190723git3e8f631 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-23-a -* Tue Jul 23 2019 Ron Olson 5.1-0.23.20190719gitf883175 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-19-a and first version - that relies on Python 3 for building -* Mon Jul 15 2019 Ron Olson 5.1-0.22.20190714git7b90512 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-14-a -* Sun Jul 14 2019 Ron Olson 5.1-0.21.20190713git26c2dbe -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-13-a -* Sat Jul 13 2019 Ron Olson 5.1-0.20.20190712gita062b3c -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-12-a -* Fri Jul 12 2019 Ron Olson 5.1-0.19.20190711gitacd767e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-11-a -* Thu Jul 11 2019 Ron Olson 5.1-0.18.20190710gitd7f811d -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-10-a -* Wed Jul 10 2019 Ron Olson 5.1-0.17.20190709gitf67864b -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-09-a -* Thu Jul 04 2019 Ron Olson 5.1-0.16.20190703gitd2c038e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-03-a -* Wed Jul 03 2019 Ron Olson 5.1-0.15.20190702git2efadfd -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-02-a -* Tue Jul 02 2019 Ron Olson 5.1-0.14.20190701git6761ba4 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-07-01-a and removed - dependency on python-sphinx as a problem with a pygments lexer was being - treated as an error and causing the builds to fail -* Sun Jun 30 2019 Ron Olson 5.1-0.13.20190629gitdcde8ac -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-29-a -* Sat Jun 29 2019 Ron Olson 5.1-0.12.20190628gitca3c825 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-28-a -* Fri Jun 28 2019 Ron Olson 5.1-0.11.20190627git993b248 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-27-a -* Thu Jun 27 2019 Ron Olson 5.1-0.10.20190626git16859f1 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-26-a and added patch - to remove reference to depreciated header file -* Wed Jun 26 2019 Ron Olson 5.1-0.9.20190624git4e7bcdb -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-24-a and got the REPL - to work -* Sun Jun 23 2019 Ron Olson 5.1-0.8.20190621git9729868 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-21-a -* Fri Jun 21 2019 Ron Olson 5.1-0.7.20190620gita5aa0c6 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-20-a -* Thu Jun 20 2019 Ron Olson 5.1-0.6.20190619git500333c -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-19-a -* Thu Jun 20 2019 Ron Olson 5.1-0.5.20190619git500333c -- Cleaned up the spec file to remove 4.2 to 5 migration code and some - old patches -* Mon Jun 17 2019 Ron Olson 5.1-0.4.20190616gitcbfbc8e -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-06-16-a -* Sun Jun 02 2019 Ron Olson 5.1-0.3.20190529git37f230a -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-05-29-a -* Fri Apr 26 2019 Ron Olson 5.1-0.2.20190425git6d89fc9 -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-04-25-a -* Thu Apr 18 2019 Ron Olson 5.1-0.1.20190416git85a776d -- Updated to swift-5.1-DEVELOPMENT-SNAPSHOT-2019-04-16-a -* Thu Mar 28 2019 Ron Olson 5.0-0.53.20190325gitba33f9e -- Modified spec file to handle upgrades from 4.2 to 5.0. -* Mon Mar 25 2019 Ron Olson 5.0-0.52.20190325gitba33f9e -- Updated to swift-5.0-RELEASE -* Mon Mar 25 2019 Ron Olson 5.0-0.51.20190324git130a414 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-24-a, removed _gettid - patch as the changed were merged upstream -* Fri Mar 22 2019 Ron Olson 5.0-0.50.20190310git4d6e741 -- The swift-corelibs-xctest library was being zeroed out due to issue with - CMake 3.14 where it was being copied into the same directory. A bug - report has been filed with CMake but until it is resolved, the cmake file - has been patched to not perform the copy. -* Fri Mar 15 2019 Ron Olson 5.0-0.50.20190310git4d6e741 -- Modules did not work properly in the REPL due to additional lib path; - fixed with symlinks to the lower directory structures -* Fri Mar 15 2019 Ron Olson 5.0-0.50.20190310git4d6e741 -- python2-sphinx was removed from Fedora after 30 so it will use the python3 - version -* Thu Mar 14 2019 Ron Olson 5.0-0.50.20190310git4d6e741 -- Fixed issues introduced by upstream changes -* Mon Mar 11 2019 Ron Olson 5.0-0.50.20190310git4d6e741 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-10-a -* Thu Mar 07 2019 Ron Olson 5.0-0.49.20190306git5834830 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-06-a -* Wed Mar 06 2019 Ron Olson 5.0-0.48.20190305git5834830 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-05-a -* Tue Mar 05 2019 Ron Olson 5.0-0.47.20190304gitad10379 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-03-04-a -* Fri Mar 01 2019 Ron Olson 5.0-0.46.20190228gitfeacc3f -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-28-a -* Wed Feb 27 2019 Ron Olson 5.0-0.45.20190226gitfa5d493 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-26-a -* Tue Feb 26 2019 Ron Olson 5.0-0.44.20190225gita8126fb -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-25-a -* Mon Feb 25 2019 Ron Olson 5.0-0.43.20190224gita8126fb -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-24-a -* Sun Feb 24 2019 Ron Olson 5.0-0.42.20190223gita8126fb -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-23-a -* Sat Feb 23 2019 Ron Olson 5.0-0.41.20190222gita24adaf -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-22-a -* Fri Feb 22 2019 Ron Olson 5.0-0.40.20190221git86a39df -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-21-a -* Thu Feb 21 2019 Ron Olson 5.0-0.39.20190220git817dff3 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-20-a -* Wed Feb 20 2019 Ron Olson 5.0-0.38.20190219git817dff3 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-19-a -* Mon Feb 18 2019 Ron Olson 5.0-0.37.20190217git15be364 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-17-a -* Sun Feb 17 2019 Ron Olson 5.0-0.36.20190216git15be364 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-16-a -* Sat Feb 16 2019 Ron Olson 5.0-0.35.20190215git15be364 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-15-a -* Fri Feb 15 2019 Ron Olson 5.0-0.34.20190214git8d88441 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-14-a -* Wed Feb 13 2019 Ron Olson 5.0-0.33.20190206gitd07c25a -- Added patch to fix an issue with compiler-rt using std::thread in a vector -* Fri Feb 08 2019 Ron Olson 5.0-0.32.20190206gitd07c25a -- Added patch to allow the Swift REPL to work properly, also removed patch - for aarch64 because the changes were merged upstream -* Sun Feb 03 2019 Fedora Release Engineering - 5.0-0.31.20181214gitee39236 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Sat Dec 15 2018 Ron Olson 5.0-0.31.20181212gite231ae1 -- First version that supports aarch64 -* Thu Dec 13 2018 Ron Olson 5.0-0.31.20181212gite231ae1 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-12-a -* Thu Dec 13 2018 Ron Olson 5.0-0.30.20181212gite231ae1 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-12-a -* Thu Dec 13 2018 Ron Olson 5.0-0.29.20181212gite231ae1 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-12-a -* Tue Dec 11 2018 Ron Olson 5.0-0.28.20181210gitf83ec0c -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-10-a -* Mon Dec 10 2018 Ron Olson 5.0-0.26.20181209gitc14e1a3 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-09-a -* Sun Dec 09 2018 Ron Olson 5.0-0.25.20181208git3945260 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-08-a -* Sat Dec 08 2018 Ron Olson 5.0-0.24.20181207git0a73e15 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-07-a -* Fri Dec 07 2018 Ron Olson 5.0-0.23.20181206git565e767 -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-06-a -* Wed Dec 05 2018 Ron Olson 5.0-0.22.20181204gitb74d54a -- Updated to swift-5.0-DEVELOPMENT-SNAPSHOT-2018-12-04-a -* Wed Dec 05 2018 Egor Zhdan -- Include dependencies to ncurses which are required by SourceKit and - included in Apple installation guide -* Wed Dec 05 2018 Ron Olson 5.0-0.21.20181204gitfacaad1 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-04-a -* Tue Dec 04 2018 Ron Olson 5.0-0.20.20181203git3376f9f -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-03-a -* Mon Dec 03 2018 Ron Olson 5.0-0.19.20181202gita8a8bdc -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-02-a -* Sun Dec 02 2018 Ron Olson 5.0-0.18.20181201gitb01ee72 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-12-01-a -* Sat Dec 01 2018 Ron Olson 5.0-0.17.20181130gitd8f12cb -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-30-a -* Thu Nov 29 2018 Ron Olson 5.0-0.16.20181128git806cf57 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-28-a -* Tue Nov 27 2018 Ron Olson 5.0-0.15.20181126gita820992 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-26-a -* Mon Nov 26 2018 Ron Olson 5.0-0.14.20181125gita820992 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-25-a -* Sat Nov 24 2018 Ron Olson 5.0-0.13.20181123gita820992 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-23-a -* Fri Nov 23 2018 Ron Olson 5.0-0.12.20181122gitfb52a2e -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-22-a -* Mon Nov 19 2018 Ron Olson 5.0-0.11.20181116git201dcba -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-16-a -* Fri Nov 16 2018 Ron Olson 5.0-0.10.20181115git739169d -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-11-15-a -* Wed Oct 31 2018 Ron Olson 4.2.1-0.101.20181030git02a6ca9 -- Updated to swift-4.2.1-RELEASE -* Tue Oct 30 2018 Ron Olson 4.2-0.100.20181029gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-29-a -* Sat Oct 27 2018 Ron Olson 4.2-0.99.20181026gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-26-a -* Fri Oct 26 2018 Ron Olson 4.2-0.98.20181025gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-25-a -* Wed Oct 24 2018 Ron Olson 4.2-0.97.20181023gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-23-a -* Tue Oct 23 2018 Ron Olson 4.2-0.96.20181022gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-22-a -* Mon Oct 22 2018 Ron Olson 4.2-0.95.20181021gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-21-a -* Sun Oct 21 2018 Ron Olson 4.2-0.94.20181020gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-20-a -* Fri Oct 19 2018 Ron Olson 4.2-0.93.20181018gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-18-a -* Thu Oct 18 2018 Ron Olson 4.2-0.92.20181017gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-17-a -* Wed Oct 17 2018 Ron Olson 4.2-0.91.20181016gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-16-a -* Tue Oct 16 2018 Ron Olson 4.2-0.90.20181015gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-15-a -* Mon Oct 15 2018 Ron Olson 4.2-0.89.20181014gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-14-a -* Sun Oct 14 2018 Ron Olson 4.2-0.88.20181013gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-13-a -* Sat Oct 13 2018 Ron Olson 4.2-0.87.20181012gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-12-a -* Fri Oct 12 2018 Ron Olson 4.2-0.86.20181011gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-11-a -* Thu Oct 11 2018 Ron Olson 4.2-0.85.20181010gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-10-a -* Wed Oct 10 2018 Ron Olson 4.2-0.84.20181009gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-09-a -* Tue Oct 09 2018 Ron Olson 4.2-0.83.20181008gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-08-a -* Mon Oct 08 2018 Ron Olson 4.2-0.82.20181007gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-07-a -* Sun Oct 07 2018 Ron Olson 4.2-0.81.20181006gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-06-a -* Sat Oct 06 2018 Ron Olson 4.2-0.80.20181005gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-05-a -* Thu Oct 04 2018 Ron Olson 4.2-0.79.20181003gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-03-a -* Wed Oct 03 2018 Ron Olson 4.2-0.78.20181002gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-02-a -* Tue Oct 02 2018 Ron Olson 4.2-0.77.20181001gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-01-a -* Sat Sep 29 2018 Ron Olson 4.2-0.76.20180928gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-28-a -* Fri Sep 28 2018 Ron Olson 4.2-0.75.20180927gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-27-a -* Thu Sep 27 2018 Ron Olson 4.2-0.74.20180926gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-26-a -* Wed Sep 26 2018 Ron Olson 4.2-0.73.20180925gitf4134eb -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-25-a -* Tue Sep 25 2018 Ron Olson 4.2-0.72.20180924git01644d5 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-24-a -* Mon Sep 24 2018 Ron Olson 4.2-0.71.20180922gitac7c511 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-22-a -* Sat Sep 15 2018 Ron Olson 4.2-0.70.20180914git2dfdbf2 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-14-a -* Fri Sep 14 2018 Ron Olson 4.2-0.69.20180913git2dfdbf2 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-13-a -* Thu Sep 13 2018 Ron Olson 4.2-0.68.20180912git2c6399a -- Updated to swift-4.2-RELEASE -* Wed Sep 12 2018 Ron Olson 4.2-0.67.20180911gitbe88499 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-11-a -* Sun Sep 09 2018 Ron Olson 4.2-0.66.20180908gitbe88499 -- Added patch for clang 7.0 -* Sun Sep 09 2018 Ron Olson 4.2-0.65.20180908gitbe88499 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-08-a -* Sat Sep 08 2018 Ron Olson 4.2-0.64.20180907gitc922f68 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-09-07-a -* Sun Aug 26 2018 Ron Olson 4.2-0.63.20180825git7d204ce -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-25-a -* Sat Aug 25 2018 Ron Olson 4.2-0.62.20180824git7d204ce -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-24-a -* Fri Aug 24 2018 Ron Olson 4.2-0.61.20180823git7d204ce -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-23-a -* Thu Aug 23 2018 Ron Olson 4.2-0.60.20180822git7d204ce -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-22-a -* Wed Aug 22 2018 Ron Olson 4.2-0.59.20180821git7d204ce -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-21-a -* Tue Aug 21 2018 Ron Olson 4.2-0.58.20180820gitde88335 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a -* Sun Aug 19 2018 Ron Olson 4.2-0.57.20180818gitde88335 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-18-a -* Sat Aug 18 2018 Ron Olson 4.2-0.56.20180817gitde88335 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-17-a -* Fri Aug 17 2018 Ron Olson 4.2-0.55.20180816gitde88335 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-16-a -* Thu Aug 16 2018 Ron Olson 4.2-0.54.20180815gitefbe78e -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-15-a -* Wed Aug 15 2018 Ron Olson 4.2-0.53.20180814git3146921 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-14-a -* Sat Aug 11 2018 Ron Olson 4.2-0.52.20180810gita710c2f -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-10-a -* Thu Aug 09 2018 Ron Olson 4.2-0.51.20180808git1c8f885 -- Updated to swift-4.2-CONVERGENCE -* Wed Aug 08 2018 Ron Olson 4.2-0.50.20180807gitab5ce2e -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-07-a -* Tue Aug 07 2018 Ron Olson 4.2-0.49.20180806gitab5ce2e -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-06-a -* Sat Aug 04 2018 Ron Olson 4.2-0.48.20180803git68f32fc -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-03-a -* Fri Aug 03 2018 Ron Olson 4.2-0.47.20180802git44a88d4 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-02-a -* Thu Aug 02 2018 Ron Olson 4.2-0.46.20180801git3f7d681 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-01-a -* Wed Aug 01 2018 Ron Olson 4.2-0.45.20180731git00acd41 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-31-a -* Tue Jul 31 2018 Ron Olson 4.2-0.44.20180730gitfe1f442 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-30-a -* Sun Jul 29 2018 Ron Olson 4.2-0.43.20180728gitfe1f442 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-28-a -* Sat Jul 28 2018 Ron Olson 4.2-0.42.20180727git9d01b59 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-27-a -* Wed Jul 25 2018 Ron Olson 4.2-0.41.20180724git18650bc -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-24-a and removed - lldb patches as they were merged upstream into the 4.2 branch -* Tue Jul 24 2018 Ron Olson 4.2-0.40.20180723git18650bc -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-23-a -* Mon Jul 23 2018 Ron Olson 4.2-0.39.20180722git18650bc -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-22-a -* Sun Jul 22 2018 Ron Olson 4.2-0.38.20180721git18650bc -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-21-a -* Sat Jul 21 2018 Ron Olson 4.2-0.37.20180720git18650bc -- Added patches for lldb to fix relative path issue (see URL by patches) until - it's merged into the 4.2 branch -* Sat Jul 21 2018 Ron Olson 4.2-0.37.20180720git18650bc -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-20-a -* Fri Jul 20 2018 Ron Olson 4.2-0.36.20180719git9277281 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-19-a -* Thu Jul 19 2018 Ron Olson 4.2-0.35.20180718gite325e32 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-18-a -* Tue Jul 17 2018 Ron Olson 4.2-0.34.20180716gitaaf545a -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-16-a -* Sun Jul 15 2018 Ron Olson 4.2-0.33.20180703git107e307 -- Switched from __provides_exclude_from to __provides_exclude to inhibit - lldb being included as a dependency -* Thu Jul 12 2018 Ron Olson 4.2-0.32.20180703git107e307 -- Reverted to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-03-a as loading modules - in the REPL seems to have been broken as of the 2018-07-04 builds. - 2018-07-03 is currently the best version until the issue is resolved. -* Thu Jul 12 2018 Ron Olson 4.2-0.31.20180711git104c96a -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-11-a -* Wed Jul 11 2018 Ron Olson 4.2-0.30.20180709gitd9561d9 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-09-a and added a check to - include python-unversioned-command for verisons greated than 28 while - working on making patches/pull requests upstream to be explicit about - which version of Python to use. Also removed patch for time struct issue - as the fix has been handled upstream. Also switched to ExclusiveArch - instead of ExcludeArch per suggestion from Dan Horák. -* Thu Jul 05 2018 Ron Olson 4.2-0.29.20180705git1e2dc99 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-05-a -* Thu Jul 05 2018 Ron Olson 4.2-0.28.20180704gitf56a941 -- Removed explicit requirement on libatomic and libbsd, modifed files section - of the runtime package so it can own the directory -* Thu Jul 05 2018 Ron Olson 4.2-0.27.20180704gitf56a941 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-04-a -* Tue Jul 03 2018 Ron Olson 4.2-0.26.20180703git107e307 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-03-a, added a - filter for excluding lldb libraries from public view, and broke out the - runtime libraries into their own -runtime package. -* Mon Jul 02 2018 Ron Olson 4.2-0.25.20180702gitc2e1567 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-02-a -* Mon Jul 02 2018 Ron Olson 4.2-0.24.20180701git6079032 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-07-01-a, removed unnecessary - lldb headers -* Sat Jun 30 2018 Ron Olson 4.2-0.23.20180630gitb3408e8 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-30-a -* Fri Jun 29 2018 Ron Olson 4.2-0.22.20180629gitdab0d8e -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-29-a, removed unnecessary - files and links -* Fri Jun 29 2018 Ron Olson 4.2-0.21.20180628git9f8f2a1 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-28-a -* Thu Jun 28 2018 Ron Olson 4.2-0.20.20180626gitbe3b9a7 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-26-a -* Wed Jun 13 2018 Ron Olson 4.2-0.19.20180612gitbb9532c -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-12-a and removed - gcc-c++ as a build requirement -* Tue Jun 12 2018 Ron Olson 4.2-0.18.20180611gitd99cd32 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-10-a and removed - separate ninja build (will now use the repo-based one) -* Mon Jun 11 2018 Ron Olson 4.2-0.17.20180610git7a35ad0 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-10-a -* Fri Jun 08 2018 Ron Olson 4.2-0.16.20180607git78e9497 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-07-a -* Thu Jun 07 2018 Ron Olson 4.2-0.15.20180606git4e2064e -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-06-a -* Tue Jun 05 2018 Ron Olson 4.2-0.14.20180604git9e274fc -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-04-a -* Sun Jun 03 2018 Ron Olson 4.2-0.13.20180602gitadad0f5 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-06-02-a -* Wed May 30 2018 Ron Olson 4.2-0.12.20180529git4160301 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-29-a -* Wed May 23 2018 Ron Olson 4.2-0.11.20180522git58f7399 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-22-a -* Mon May 21 2018 Ron Olson 4.2-0.10.20180520gitbb77484 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-20-a and added - patch for removing sys/ustat.h references -* Tue May 15 2018 Ron Olson 4.2-0.9.20180514gitf58f528 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-14-a -* Wed May 09 2018 Ron Olson 4.2-0.8.20180508git0e6d867 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-08-a -* Wed May 02 2018 Ron Olson 4.2-0.7.20180502gitb08fb12 -- Updated to swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-02-a -* Mon Apr 23 2018 Ron Olson 4.2-0.6.20180422git5030d38 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-22-a -* Thu Apr 19 2018 Ron Olson 4.2-0.5.20180418gitac06163 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-18-a -* Mon Apr 16 2018 Ron Olson 4.2-0.4.20180415git22530b9 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-15-a -* Thu Apr 12 2018 Ron Olson 4.2-0.3.20180411git537a846 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-04-11-a -* Wed Feb 28 2018 Ron Olson 4.1-0.2.20180227git5f2f440 -- Updated to swift-DEVELOPMENT-SNAPSHOT-2018-02-27-a -* Wed Feb 14 2018 Ron Olson 4.1-0.1.20180214git5a1a34b -- Initial package for Fedora +%autochangelog diff --git a/swift.patch b/swift.patch new file mode 100644 index 0000000..32f5786 --- /dev/null +++ b/swift.patch @@ -0,0 +1,37 @@ +diff --git swift.orig/include/swift/AST/FunctionRefInfo.h swift/include/swift/AST/FunctionRefInfo.h +index a298f08e8c2..75d3f18c222 100644 +--- swift.orig/include/swift/AST/FunctionRefInfo.h ++++ swift/include/swift/AST/FunctionRefInfo.h +@@ -18,6 +18,7 @@ + #ifndef SWIFT_AST_FUNCTION_REF_INFO_H + #define SWIFT_AST_FUNCTION_REF_INFO_H + ++#include + #include "swift/Basic/Debug.h" + #include "swift/Basic/LLVM.h" + +diff --git swift.orig/stdlib/include/llvm/ADT/SmallVector.h swift/stdlib/include/llvm/ADT/SmallVector.h +index 56b9e606302..ca651fc8845 100644 +--- swift.orig/stdlib/include/llvm/ADT/SmallVector.h ++++ swift/stdlib/include/llvm/ADT/SmallVector.h +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git swift.orig/utils/build-script-impl swift/utils/build-script-impl +index 3140c8bb545..32a0b502ae6 100755 +--- swift.orig/utils/build-script-impl ++++ swift/utils/build-script-impl +@@ -2179,7 +2179,7 @@ for host in "${ALL_HOSTS[@]}"; do + -DLLDB_ENABLE_CURSES=ON + -DLLDB_ENABLE_LIBEDIT=ON + -DLLDB_ENABLE_PYTHON=ON +- -DLLDB_ENABLE_LZMA=OFF ++ -DLLDB_ENABLE_LZMA=ON + -DLLDB_ENABLE_LUA=OFF + -DLLDB_INCLUDE_TESTS:BOOL="${should_configure_tests}" + -DLLDB_TEST_LIBCXX_ROOT_DIR:STRING="${libcxx_build_dir}" diff --git a/swiftlang.conf b/swiftlang.conf new file mode 100644 index 0000000..d19930a --- /dev/null +++ b/swiftlang.conf @@ -0,0 +1 @@ +/usr/lib/swift/linux diff --git a/swiftpm.patch b/swiftpm.patch new file mode 100644 index 0000000..d3ac51a --- /dev/null +++ b/swiftpm.patch @@ -0,0 +1,13 @@ +diff --git swiftpm.orig/Sources/Build/BuildDescription/ClangModuleBuildDescription.swift swiftpm/Sources/Build/BuildDescription/ClangModuleBuildDescription.swift +index 3aadda6b5..61c1c3532 100644 +--- swiftpm.orig/Sources/Build/BuildDescription/ClangModuleBuildDescription.swift ++++ swiftpm/Sources/Build/BuildDescription/ClangModuleBuildDescription.swift +@@ -440,7 +440,7 @@ public final class ClangModuleBuildDescription { + case .debug: + return ["-O0"] + case .release: +- return ["-O2"] ++ return ["-O1"] + } + } + diff --git a/uintptr.patch b/uintptr.patch deleted file mode 100644 index 8bfc97e..0000000 --- a/uintptr.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- llvm-project/llvm/include/llvm/Support/Signals.h.orig 2023-01-25 12:42:42.006799309 -0600 -+++ llvm-project/llvm/include/llvm/Support/Signals.h 2023-01-25 12:43:15.856946625 -0600 -@@ -15,6 +15,7 @@ - #define LLVM_SUPPORT_SIGNALS_H - - #include -+#include - - namespace llvm { - class StringRef; diff --git a/unusedvars.patch b/unusedvars.patch deleted file mode 100644 index 46e4bcf..0000000 --- a/unusedvars.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- swift-corelibs-libdispatch/src/shims/yield.c.orig 2022-09-16 12:04:16.691448773 -0500 -+++ swift-corelibs-libdispatch/src/shims/yield.c 2022-09-16 12:05:43.047145102 -0500 -@@ -25,6 +25,11 @@ - __DISPATCH_WAIT_FOR_ENQUEUER__(void **ptr) - { - int spins = 0; -+ int nothing = spins; -+ nothing = 23; -+ spins = nothing; -+ spins = 0; -+ - void *value; - while ((value = os_atomic_load(ptr, relaxed)) == NULL) { - _dispatch_preemption_yield(++spins); diff --git a/update-swift-version.sh b/update-swift-version.sh new file mode 100755 index 0000000..5fe95d8 --- /dev/null +++ b/update-swift-version.sh @@ -0,0 +1,88 @@ +#!/bin/bash + +set -e + +SWIFT_VERSION="${1:-}" +# Only shorten the version if it contains two dots. +if [[ "${SWIFT_VERSION}" =~ \.\. ]]; then + SHORT_SWIFT_VERSION="${SWIFT_VERSION%.*}" +else + SHORT_SWIFT_VERSION="${SWIFT_VERSION}" +fi + +if [[ -z "$SWIFT_VERSION" ]]; then + echo "Usage: $0 " + echo "Example: $0 6.1.3" + exit 1 +fi + +SPEC_FILE="swift-lang.spec" +TAG="swift-${SWIFT_VERSION}-RELEASE" +CONFIG_URL="https://raw.githubusercontent.com/swiftlang/swift/${TAG}/utils/update_checkout/update-checkout-config.json" +TEMP_CONFIG=$(mktemp) + +echo "Downloading Swift $SWIFT_VERSION configuration..." +if ! curl -sSL "$CONFIG_URL" -o "$TEMP_CONFIG"; then + echo "Error: Failed to download configuration for Swift $SWIFT_VERSION" + echo "URL: $CONFIG_URL" + rm -f "$TEMP_CONFIG" + exit 1 +fi + +if ! jq . "$TEMP_CONFIG" >/dev/null 2>&1; then + echo "Error: Downloaded file is not valid JSON" + rm -f "$TEMP_CONFIG" + exit 1 +fi + +echo "Parsing repository versions..." + +# Collect all the projects included in the desired branch scheme +PROJECTS=$(jq -r --arg scheme "release/${SHORT_SWIFT_VERSION}" '.["branch-schemes"][$scheme]["repos"]|keys[]' "${TEMP_CONFIG}") + +# Associate each project with the ref used by the desired branch scheme +declare -A PROJECT_REFS +for PROJECT in ${PROJECTS}; do + PROJECT_REF=$(jq -r --arg scheme "release/${SHORT_SWIFT_VERSION}" --arg project "$PROJECT" '.["branch-schemes"][$scheme]["repos"][$project]' "${TEMP_CONFIG}") + PROJECT_REFS["${PROJECT}"]="${PROJECT_REF}" +done + +# Remove all existing sources between the lines "Begin forge sources" and "End forge sources" +sed -i "/Begin forge sources/,/End forge sources/{//!d;}" "${SPEC_FILE}" + +IDX=1 +# Get each project's "ID" (Github repo org/proj URL fragment) +for PROJECT in "${!PROJECT_REFS[@]}"; do + if [ "${PROJECT}" == "swift" ]; then + continue + fi + + PROJECT_REF=${PROJECT_REFS[${PROJECT}]} + PROJECT_ID=$(jq -r --arg project "${PROJECT}" '.["repos"][$project].remote.id' "${TEMP_CONFIG}") + FORGEURL="https://github.com/${PROJECT_ID}" + + PADDING=" " + if [ "${IDX}" -lt 10 ]; then + PADDING=" " + fi + if [ "${IDX}" -ge 100 ]; then + PADDING=" " + fi + + if [[ "${PROJECT_REF}" =~ ^(swift/)?release/.* ]]; then + PROJECT_REF="swift-%{version0}-RELEASE" + fi + + # Add a new source to the spec file between the lines "Begin forge sources" and "End forge sources" + sed -i -e "/End forge sources/i %global forgeurl${IDX} ${FORGEURL}\n%global tag${IDX} ${PADDING}${PROJECT_REF}\n%global subdir${IDX} ${PROJECT}\n" "${SPEC_FILE}" + IDX=$((IDX + 1)) +done + +# Update the version number in the spec file. +echo "Updating version number in the spec file." +sed -i "s|Version: .*|Version: ${SWIFT_VERSION}|" "${SPEC_FILE}" + +rm -f "$TEMP_CONFIG" + +echo "Done! Please review the changes to ensure everything is correct." +echo "Remember to review the patches and remove any that are no longer needed."