diff --git a/.gitignore b/.gitignore index 2bf6ff8..410bde1 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,134 @@ /cmake-3.19.3.tar.gz /swift-driver.tar.gz /swift-tools-support-core.tar.gz +/0.4.1.tar.gz +/4.0.2.zip +/release-65-1.tar.gz +/0.4.3.tar.gz +/1.1.5.tar.gz +/ninja.tar.gz +/1.0.2.zip +/cmake-3.19.6.tar.gz +/swift-cmark-gfm.zip +/swift-collections.zip +/swift-docc-render-artifact.tar.gz +/swift-docc-symbolkit.tar.gz +/swift-docc.tar.gz +/swift-lmdb.tar.gz +/swift-markdown.tar.gz +/swift-nio-ssl.zip +/swift-nio.zip +/swift-numerics.zip +/swift-stress-tester.tar.gz +/swift-system.zip +/cmake.tar.gz +/icu.tar.gz +/swift-argument-parser.tar.gz +/swift-atomics.tar.gz +/swift-collections.tar.gz +/swift-crypto.tar.gz +/swift-format.tar.gz +/swift-nio-ssl.tar.gz +/swift-nio.tar.gz +/swift-numerics.tar.gz +/swift-system.tar.gz +/yams.tar.gz +/swift-experimental-string-processing.tar.gz +/swift-asn1.tar.gz +/swift-certificates.tar.gz +/wasi-sdk.tar.gz +/wasm.tar.gz +/icu.zip +/swift-format.zip +/swift-foundation-icu.zip +/swift-foundation.zip +/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/compiler-rt-fuzzer.patch b/compiler-rt-fuzzer.patch deleted file mode 100644 index 19575b7..0000000 --- a/compiler-rt-fuzzer.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp.orig 2019-02-13 14:24:24.239239031 -0600 -+++ llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp 2019-02-13 14:28:18.525530281 -0600 -@@ -248,13 +248,16 @@ - Command Cmd(Args); - Cmd.removeFlag("jobs"); - Cmd.removeFlag("workers"); -- Vector V; -+ Vector> V; - std::thread Pulse(PulseThread); - Pulse.detach(); -- for (unsigned i = 0; i < NumWorkers; i++) -- V.push_back(std::thread(WorkerThread, std::ref(Cmd), &Counter, NumJobs, &HasErrors)); -+ for (unsigned i = 0; i < NumWorkers; i++) { -+ std::shared_ptr wt(new std::thread(WorkerThread, std::ref(Cmd), &Counter, NumJobs, &HasErrors)); -+ V.push_back(wt); -+ } - for (auto &T : V) -- T.join(); -+ T->join(); -+ Vector>().swap(V); - return HasErrors ? 1 : 0; - } - 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/glibcpthread.patch b/glibcpthread.patch deleted file mode 100644 index 24ce515..0000000 --- a/glibcpthread.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- llvm-project/compiler-rt/lib/builtins/CMakeLists.txt.orig 2019-12-11 15:39:19.537518740 -0600 -+++ llvm-project/compiler-rt/lib/builtins/CMakeLists.txt 2019-12-11 23:23:57.583292289 -0600 -@@ -537,7 +537,7 @@ - add_subdirectory(macho_embedded) - darwin_add_builtin_libraries(${BUILTIN_SUPPORTED_OS}) - else () -- set(BUILTIN_CFLAGS "") -+ set(BUILTIN_CFLAGS "-D_DEFAULT_SOURCE") - - append_list_if(COMPILER_RT_HAS_STD_C11_FLAG -std=c11 BUILTIN_CFLAGS) - diff --git a/linux-tests-python-3-2.patch b/linux-tests-python-3-2.patch deleted file mode 100644 index 45a1bb6..0000000 --- a/linux-tests-python-3-2.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -Naur swift-integration-tests-orig/test-snapshot-binaries/linux_load_commands.py swift-integration-tests/test-snapshot-binaries/linux_load_commands.py ---- swift-integration-tests-orig/test-snapshot-binaries/linux_load_commands.py 2019-10-07 17:57:28.000000000 -0500 -+++ swift-integration-tests/test-snapshot-binaries/linux_load_commands.py 2020-01-29 14:05:33.991180706 -0600 -@@ -85,12 +85,12 @@ - numberOfLinesSeen = 0 - - print("Visiting lib: {}".format(lib)) -- lines = list(reversed(subprocess.check_output([args.read_elf, "-program-headers", lib]).split("\n")[:-1])) -+ lines = list(reversed(subprocess.check_output([args.read_elf, "-program-headers", lib]).split(b"\n")[:-1])) - p = ParseState() - - # Until we finish parsing or run out of lines to parse... - while len(lines) > 0: -- l = lines.pop() -+ l = lines.pop().decode("utf-8") - print("DUMP: '{}'".format(l)) - assert(p is not None) - curState = p -@@ -143,7 +143,7 @@ - "-iname", - "*.so" - ] -- return subprocess.check_output(cmd).split("\n")[:-1] -+ return subprocess.check_output(cmd).split(b"\n")[:-1] - - def main(): - parser = argparse.ArgumentParser() -@@ -154,7 +154,7 @@ - - libraries = get_libraries(args.package_path) - for l in libraries: -- process_library(args, l) -+ process_library(args, l.decode("utf-8")) - sys.exit(0) - - if __name__ == "__main__": -diff -Naur swift-integration-tests-orig/test-sourcekit-lsp/test-sourcekit-lsp.py swift-integration-tests/test-sourcekit-lsp/test-sourcekit-lsp.py ---- swift-integration-tests-orig/test-sourcekit-lsp/test-sourcekit-lsp.py 2019-10-07 17:57:28.000000000 -0500 -+++ swift-integration-tests/test-sourcekit-lsp/test-sourcekit-lsp.py 2020-01-29 18:35:26.953725332 -0600 -@@ -136,7 +136,7 @@ - - skargs = [args.sourcekit_lsp, '--sync', '-Xclangd', '-sync'] - p = subprocess.Popen(skargs, stdin=subprocess.PIPE, stdout=subprocess.PIPE) -- out, _ = p.communicate(lsp.script) -+ out, _ = p.communicate(lsp.script.encode()) - print(out) - print('') - 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/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/sources b/sources index 542b6df..14be3f4 100644 --- a/sources +++ b/sources @@ -1,19 +1,50 @@ -SHA512 (0.3.0.tar.gz) = 8a061581256e1516aa6af156f0054462e1e81db04e2f51d28f64794c5e08f97a0fd6e5e4f277b33092309693346a56ce3602d56fd6131766e977cd9b331ef98f -SHA512 (3.0.1.zip) = 62bc6d00eb768d310c776c1219f12c39e779a6d01a083ddbe5b784e626efd368a01478d564b5d150197ce4e227fb46cdf41aeaea06e2ade7a8a1b7cf5fda3ef2 -SHA512 (cmake-3.19.3.tar.gz) = 54c91fa76882152d3933b696d7e547bc4edf6f97f3810e8dd57ca28c98e9fcaf757eac7c77e1e7fab88aced10937ed354917aeac3997edef406313dcf76ba0c5 -SHA512 (cmark.tar.gz) = cfff001159bf16407d9346f304190dce345e5868b4d8acf34fdb8c14529363c505967b0384026d954692a8a2a579048e8b52f1018155c7ceb3a80da965b19c90 -SHA512 (corelibs-foundation.tar.gz) = b41d67ec4b51cf5b4cf1cae5db0802e6c4f7a6eee05dc30aebb907827c9ae8eb12d79e17016c0c932b90b25318b5927a5ab53ffa1adc01b689b4a096e3cd7758 -SHA512 (corelibs-libdispatch.tar.gz) = 3aa78997dd03b86ce597bc3f031ca4fb452dbb1169f826fbce587d7d2cc5a2deb10ea9c00eaf6e89f4d486b1a8981024d1e1c5d252a4946aa1939bae733a4ff4 -SHA512 (corelibs-xctest.tar.gz) = 73371afcadf27f8795b9df04c78f3653972bc2d101256d00d7e3dd4d6f83a36fb361ed51dcb546f3fad001d06c555594a525e47900a296264e072ba9f210a9df -SHA512 (indexstore-db.tar.gz) = 612596e90dbdad98253e6e5edac1f3d5f5a40daf1d1286e6c439c549111221dc0432b87188e514c75cd5306a4abbb0e54c2a04590d321d87110cde9355a77321 -SHA512 (llbuild.tar.gz) = fe00a2dae3da8ec8e43ad430401b4e46c0bc1da2f8982e3094748f15fb0ed2f6aa4929e17514db5f552814aa363ff579fd681df2cd07d53cd828fedf68a34c95 -SHA512 (llvm-project.tar.gz) = ae851a8d79041370337e4fd393fbb820f6f377b56226e5637ba3f6f57e0670bb45502fdccb2c9c5bb4795b23f3146d98b9503cd58a4ecf774eaaabe9225262d3 -SHA512 (package-manager.tar.gz) = 577ee7ca20b886aa1283ba50237fb662ef1277996ffd6cfe17f07250da5ccaf7a12576dd138281e7b6dac20d707374065d1da8d470764f04389499d393ba4209 -SHA512 (release-68-2.tar.gz) = 58061858a3385acd9e857045de412a08605a676a27da1dd10991fbf2bcff186220afc2ee183d775317056a301a8215031dd54c5725e88064a4fd3cd504235dae -SHA512 (sourcekit-lsp.tar.gz) = be72400d4db7d88c2f136d0aa6c7f0ef3f9716fa2fb072e891245bc7f7eb896f2567310e2cc3f75b61fdc6ee48625dddfb24ee7c0407d79f64ec5778ffbb50d7 -SHA512 (swift-driver.tar.gz) = 7f1e67c65ce6ed24d7dd346a037756aa77b0b3b5422339f84ed29377642bf4457058593d1e343223451059d76002db6796327145babc05688b7183e54f183813 -SHA512 (swift-integration-tests.tar.gz) = e8da92697da71e181a00a4a392a296a17159c2e2904a228bdab0f146dbcd50817a4aa6f70d297b1aea69ec0eb9b5afdd130fb7107b9ad171264b5c33acd823d1 -SHA512 (swift-syntax.tar.gz) = a17ad1b85b195477fc2ca58b1a9a259cfabddc33ed15f92c3a88baf08a3a18eebfc3cfb8c9242b41dab0a4f16299ca113e9cee9ba2349d26da5692e1e1a0dc5e -SHA512 (swift-tools-support-core.tar.gz) = 983d0db537d49ca2541af901616b90162e086185e6280c08eb48792af6380cacce9357c47d7d51a5c954d24783eb0a534b4618ba69698b0740074204dd27aee1 -SHA512 (swift-xcode-playground-support.tar.gz) = 09adf270ff44d53c285857a35a57d8e54537f9f0c3e12823a73c7b2ab3ab5f1daeb5a6532841aab90597c967696807377f74ff0907a7bc66249af1a76b26a3e5 -SHA512 (swift.tar.gz) = 21f7e923fd0968c805450192a54dc0c52601e2b6891bfd72a7e883c9f8474395d985f05e582a77b6ffbce83d93d93045aa9021ff506be2e9dd9ed4528ab4cd76 +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-for-fedora.patch b/swift-for-fedora.patch deleted file mode 100644 index 213fbf0..0000000 --- a/swift-for-fedora.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -Naur swift-orig/cmake/modules/AddSwift.cmake swift/cmake/modules/AddSwift.cmake ---- swift-orig/cmake/modules/AddSwift.cmake 2021-01-11 09:24:03.000000000 -0600 -+++ swift/cmake/modules/AddSwift.cmake 2021-01-14 16:07:26.118061686 -0600 -@@ -288,7 +288,7 @@ - if(SWIFT_HOST_VARIANT_ARCH STREQUAL x86_64) - # this is the minimum architecture that supports 16 byte CAS, which is - # necessary to avoid a dependency to libatomic -- target_compile_options(${target} PRIVATE -march=core2) -+ target_compile_options(${target} PRIVATE -mcx16) - endif() - endif() - -diff -Naur swift-orig/stdlib/cmake/modules/AddSwiftStdlib.cmake swift/stdlib/cmake/modules/AddSwiftStdlib.cmake ---- swift-orig/stdlib/cmake/modules/AddSwiftStdlib.cmake 2021-01-11 09:24:03.000000000 -0600 -+++ swift/stdlib/cmake/modules/AddSwiftStdlib.cmake 2021-01-14 16:06:49.905752127 -0600 -@@ -306,7 +306,7 @@ - if("${CFLAGS_SDK}" STREQUAL "LINUX") - if(${CFLAGS_ARCH} STREQUAL x86_64) - # this is the minimum architecture that supports 16 byte CAS, which is necessary to avoid a dependency to libatomic -- list(APPEND result "-march=core2") -+ list(APPEND result "-mcx16") - endif() - endif() - -diff -Naur swift-orig/utils/build-presets.ini swift/utils/build-presets.ini ---- swift-orig/utils/build-presets.ini 2021-01-11 09:24:03.000000000 -0600 -+++ swift/utils/build-presets.ini 2021-01-14 15:42:31.063141040 -0600 -@@ -771,7 +771,6 @@ - libicu - libcxx - --build-ninja - install-llvm - install-swift - install-lldb -@@ -787,10 +786,6 @@ - build-swift-static-sdk-overlay - build-swift-stdlib-unittest-extra - --# Executes the lit tests for the installable package that is created --# Assumes the swift-integration-tests repo is checked out -- --test-installable-package - - # Build the benchmarks against the toolchain. - toolchain-benchmarks 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-gcc11.patch b/swift-lang-gcc11.patch deleted file mode 100644 index c68d05b..0000000 --- a/swift-lang-gcc11.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/llvm-project/llvm/utils/benchmark/src/benchmark_register.cc b/llvm-project/llvm/utils/benchmark/src/benchmark_register.cc -index dc6f93568..06f9e5e35 100644 ---- a/llvm-project/llvm/utils/benchmark/src/benchmark_register.cc -+++ b/llvm-project/llvm/utils/benchmark/src/benchmark_register.cc -@@ -12,6 +12,8 @@ - // See the License for the specific language governing permissions and - // limitations under the License. - -+#include -+ - #include "benchmark_register.h" - - #ifndef BENCHMARK_OS_WINDOWS diff --git a/swift-lang.spec b/swift-lang.spec index 6e8d78f..3528d77 100644 --- a/swift-lang.spec +++ b/swift-lang.spec @@ -1,85 +1,292 @@ -%global debug_package %{nil} -%global swifttag 5.4-RELEASE -%global swiftbuild swift-source -%global cmake_version 3.19.3 -%global icu_version 68-2 -%global yams_version 3.0.1 -%global sap_version 0.3.0 +%if 0%{?fedora} >= 41 +# on Fedora >= 41 +%undefine __brp_add_determinism +%endif +%global debug_package %{nil} +%undefine _auto_set_build_flags + +Version: 6.2 + +# Main swift source and version +%global forgeurl0 https://github.com/swiftlang/swift +%global version0 %{version} +%global tag0 swift-%{version0}-RELEASE +%global subdir0 swift + +# Begin forge sources +%global forgeurl1 https://github.com/apple/swift-atomics +%global tag1 1.2.0 +%global subdir1 swift-atomics + +%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: 5.4 -Release: 1%{?dist} -Summary: Apple's Swift programming language -License: ASL 2.0 and Unicode -URL: https://swift.org +Release: %autorelease +%forgemeta -a -Source0: https://github.com/apple/swift/archive/swift-%{swifttag}.tar.gz#/swift.tar.gz -Source1: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{swifttag}.tar.gz#/corelibs-libdispatch.tar.gz -Source2: https://github.com/apple/swift-corelibs-foundation/archive/swift-%{swifttag}.tar.gz#/corelibs-foundation.tar.gz -Source3: https://github.com/apple/swift-integration-tests/archive/swift-%{swifttag}.tar.gz#/swift-integration-tests.tar.gz -Source4: https://github.com/apple/swift-corelibs-xctest/archive/swift-%{swifttag}.tar.gz#/corelibs-xctest.tar.gz -Source5: https://github.com/apple/swift-package-manager/archive/swift-%{swifttag}.tar.gz#/package-manager.tar.gz -Source6: https://github.com/apple/swift-llbuild/archive/swift-%{swifttag}.tar.gz#/llbuild.tar.gz -Source7: https://github.com/apple/swift-cmark/archive/swift-%{swifttag}.tar.gz#/cmark.tar.gz -Source8: https://github.com/apple/swift-xcode-playground-support/archive/swift-%{swifttag}.tar.gz#/swift-xcode-playground-support.tar.gz -Source9: https://github.com/apple/sourcekit-lsp/archive/swift-%{swifttag}.tar.gz#/sourcekit-lsp.tar.gz -Source10: https://github.com/apple/indexstore-db/archive/swift-%{swifttag}.tar.gz#/indexstore-db.tar.gz -Source11: https://github.com/apple/llvm-project/archive/swift-%{swifttag}.tar.gz#/llvm-project.tar.gz -Source12: https://github.com/apple/swift-tools-support-core/archive/swift-%{swifttag}.tar.gz#/swift-tools-support-core.tar.gz -Source13: https://github.com/apple/swift-argument-parser/archive/%{sap_version}.tar.gz -Source14: https://github.com/apple/swift-driver/archive/swift-%{swifttag}.tar.gz#/swift-driver.tar.gz -Source15: https://github.com/unicode-org/icu/archive/release-%{icu_version}.tar.gz -Source16: https://github.com/apple/swift-syntax/archive/swift-%{swifttag}.zip#/swift-syntax.tar.gz -Source17: https://github.com/jpsim/Yams/archive/%{yams_version}.zip -Source18: https://github.com/Kitware/CMake/releases/download/v%{cmake_version}/cmake-%{cmake_version}.tar.gz +Summary: The Swift programming language +License: Apache-2.0 +URL: https://www.swift.org + +%{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 + +# 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 -Patch0: swift-for-fedora.patch -Patch1: compiler-rt-fuzzer.patch -Patch2: linux-tests-python-3-2.patch -Patch3: glibcpthread.patch -Patch4: %{name}-gcc11.patch - BuildRequires: clang BuildRequires: swig BuildRequires: rsync BuildRequires: python3 BuildRequires: python3-devel -BuildRequires: python3-distro -BuildRequires: libbsd-devel +BuildRequires: python3-setuptools BuildRequires: libxml2-devel -BuildRequires: libsqlite3x-devel -BuildRequires: libdispatch-devel +BuildRequires: sqlite-devel BuildRequires: libcurl-devel BuildRequires: libuuid-devel BuildRequires: libedit-devel -BuildRequires: libicu-devel -BuildRequires: ninja-build BuildRequires: perl-podlators -BuildRequires: python3-six -BuildRequires: python27 -BuildRequires: /usr/bin/pathfix.py -BuildRequires: make -BuildRequires: openssl-devel -BuildRequires: cmake +BuildRequires: lld +BuildRequires: binutils-gold Requires: glibc-devel -%if 0%{?fedora} >= 31 -Requires: binutils-gold -%else -Requires: binutils -%endif +Requires: lld Requires: gcc -Requires: ncurses-devel -Requires: ncurses-compat-libs - -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < %{version}-%{release} -Obsoletes: %{name}-runtime < %{version}-%{release} +Recommends: libstdc++-devel +Recommends: gcc-c++ ExclusiveArch: x86_64 aarch64 +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 Swift is a general-purpose programming language built using @@ -94,96 +301,132 @@ correct programs easier for the developer. %prep -%if 0%{?el8} -# Now we build our own CMake because the one in EPEL8 is too old and -# we can safely build it for all platforms (though will add some time -# to the whole build process) -%setup -q -c -n cmake -a 18 -mkdir cmake-build -cd cmake-build -../cmake-%{cmake_version}/bootstrap && make -%endif +%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 +} -%setup -q -c -n %{swiftbuild} -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 -# The Swift build script requires directories to be named -# in a specific way so renaming the source directories is -# necessary -mv swift-cmark-swift-%{swifttag} cmark -mv swift-corelibs-foundation-swift-%{swifttag} swift-corelibs-foundation -mv swift-corelibs-libdispatch-swift-%{swifttag} swift-corelibs-libdispatch -mv swift-corelibs-xctest-swift-%{swifttag} swift-corelibs-xctest -mv swift-integration-tests-swift-%{swifttag} swift-integration-tests -mv swift-llbuild-swift-%{swifttag} llbuild -mv swift-package-manager-swift-%{swifttag} swiftpm -mv swift-swift-%{swifttag} swift -mv swift-xcode-playground-support-swift-%{swifttag} swift-xcode-playground-support -mv sourcekit-lsp-swift-%{swifttag} sourcekit-lsp -mv indexstore-db-swift-%{swifttag} indexstore-db -mv llvm-project-swift-%{swifttag} llvm-project -mv swift-syntax-swift-%{swifttag} swift-syntax -mv swift-tools-support-core-swift-%{swifttag} swift-tools-support-core -mv swift-argument-parser-%{sap_version} swift-argument-parser -mv swift-driver-swift-%{swifttag} swift-driver +%patch 0 +%patch 44 +%patch 15 +%patch 5 +%patch 7 +%patch 13 +%patch 25 +%patch 24 +%patch 9 -# ICU -mv icu-release-%{icu_version} icu - -# Yams -mv Yams-%{yams_version} yams - -# Since we require ninja for building, there's no sense to rebuild it just for Swift -%patch0 -p0 - -# Fixes an issue with using std::thread in a vector in compiler-rt -%patch1 -p0 - -# Python 3 is the new default so we need to make the python code work with it -#%patch2 -p0 - -# Fixes compiler issue with glibc and pthreads after 2.5.0.9000 -%patch3 -p0 - -# For gcc-11 -%patch4 -p1 +# Install custom Fedora preset +cp %{SOURCE100} swift/utils/fedora-presets.ini # Fix python to python3 -pathfix.py -pni "%{__python3} %{py3_shbang_opts}" swift/utils/api_checker/swift-api-checker.py -pathfix.py -pni "%{__python3} %{py3_shbang_opts}" llvm-project/compiler-rt/lib/hwasan/scripts/hwasan_symbolize +%py3_shebang_fix swift/utils/api_checker/swift-api-checker.py +%py3_shebang_fix llvm-project/compiler-rt/lib/hwasan/scripts/hwasan_symbolize +# 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 -# We may not have /usr/bin/python, so we roll our own -# because the build script expects there to be one. -mkdir $PWD/binforpython -ln -s /usr/bin/python3 $PWD/binforpython/python -export PATH=$PWD/binforpython:$PATH -%if 0%{?el8} -# And for CMake, which we built first -export PATH=$PWD/../cmake/cmake-build/bin:$PATH -%endif -# Here we go! -swift/utils/build-script --preset=buildbot_linux,no_test install_destdir=%{_builddir} installable_package=%{_builddir}/swift-%{version}-fedora.tar.gz +# 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 + +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/ -cp -r %{_builddir}/usr/* %{buildroot}%{_libexecdir}/swift +mkdir -p %{buildroot}%{_libexecdir}/swift/%{version} +cp -r %{_builddir}/usr/* %{buildroot}%{_libexecdir}/swift/%{version} mkdir -p %{buildroot}%{_bindir} -ln -fs %{_libexecdir}/swift/bin/swift %{buildroot}%{_bindir}/swift -ln -fs %{_libexecdir}/swift/bin/swiftc %{buildroot}%{_bindir}/swiftc -ln -fs %{_libexecdir}/swift/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/%{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 +export QA_SKIP_RPATHS=1 %files %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 @@ -191,600 +434,4 @@ cp %{_builddir}/usr/share/man/man1/swift.1 %{buildroot}%{_mandir}/man1/swift.1 %changelog -* 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/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."