diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-lang/swift | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'dev-lang/swift')
50 files changed, 0 insertions, 4226 deletions
diff --git a/dev-lang/swift/Manifest b/dev-lang/swift/Manifest deleted file mode 100644 index d96e6ff51795..000000000000 --- a/dev-lang/swift/Manifest +++ /dev/null @@ -1,194 +0,0 @@ -DIST Yams-5.0.1.tar.gz 658324 BLAKE2B 8e95d96df85115b59334c9e20e03120040f6095c3a3f00110c2cd890077dd17f2f79a22452d380e05e463860c367db39b4df13815ee00ea80964707ef038c9ee SHA512 91feecb95d1997235e443dea925ff11fa665e94c12c8eca2ed066ef340a51ec0253df2545d91184c31423cb4b039e1f89ac8f743cf3f154c9d93495eecc45432 -DIST Yams-5.0.6.tar.gz 659441 BLAKE2B ef90ba557cf74d3f4e94a196ac2fc2347d8b20303a5be0063f95c2595d73db0eafe7b3782ad7f022161ea854dbd56bf7a88b4c347a7acd1a79692901f9aab7a2 SHA512 a529f7c3419ec353c360a2b14a9d939e85deebdd534049896347dce74e311cbe99c66565886397193ead24d5914bf266d4531d1be8f6a5a67174aa87f62e1617 -DIST indexstore-db-5.10.1.tar.gz 909365 BLAKE2B fde150aff5a46970aafc872be8f9a57e338c648e2d3f5ea49a223d72d3cd402496a1045716551fd07c9954ea123a87070593d6fdd315a825f57d9d513f01d6b3 SHA512 1fc62360a5cd4701da314774b4c5c6a6a9cc2a8d46881962fc80331006c255d173f8ace8d743a09b3fcdbf1e92570248666396a0b78ce8be19eeff65ab6c3235 -DIST indexstore-db-6.0.3.tar.gz 913502 BLAKE2B 22b6ddd0be28a93b82d2f7faed61d09ac6b171da27633968a082917daabfb0657afd59379103930ee28f5c30ad6fcdf013c9ca939b083af48d07133d5164600e SHA512 c65aced91616858c7946aa7c65d0e11027afe39a7b86c961a13830ad22a352b959331133ec4d179d21edd3696d2bf5a89907c044f25426259a6e21f4e87a84ad -DIST indexstore-db-6.1.3.tar.gz 914051 BLAKE2B ee05829cf1a6a5d303f1fa48a019123ba69fa68c0f4e234a9a9dad6881d0ed50ca7828501c124dea90a219ba4ed86c97ad7432161f1259fa9688c66b2a134206 SHA512 082a87a20b5da7877fbcbc7c71013582b55a58a6a514a0190c545f6113184de9776202857a956f5b97d1838054d0bd3bdc4d8a741aea7f7443ddee8fdb8e7179 -DIST indexstore-db-6.2.4.tar.gz 796157 BLAKE2B dfec07f3ef55ca8f058b66768f205b9069e75cbc4971532b343f610be8f45ce4ebe9bc5a24a931c66e0cfbc972d36b4d69083c3742c49a1e291d5aa1715c6a0d SHA512 3ad775b2d061c5239f71c9743a9a65ca3371b78d3df7b70071e376a4ade3516dfc86ef9cc611af2495342b0b835e161b2bfc2d0eab2c3593c9246df974674b4f -DIST indexstore-db-6.3.1.tar.gz 789750 BLAKE2B dc36ebe6819391a4b7b939489ef29e2eea8eac419b286e2b894dcc327fa173cb3e2a88ed8bf0cc6170a8ead7af3e02bf44fd482cd1435fdc265b72bec21ba7e0 SHA512 9501358450c88a778c468539512e00c5ceb21e92f119eeb665a48c9ca24624ad55cb6d28e9c6e2250fe1e8598a9f043170640c52ec3418158ba0d9525784e50e -DIST indexstore-db-6.3.tar.gz 789727 BLAKE2B e2ce6754ea519388a727a424532dc650e0050caedbd4d922a8aa6f512e766f27416fd88536af06c3e1bcc2dabd9c1dc4f3599dd8fa5105cc1be3c5c9726e48f8 SHA512 b1165999ab4d35a616e1eedb9bd113ecc85394c9169c4a2ee7b79b9650d18cbf38ecdb213503872df086a3c5f17d56648b2b32387d553067924f45eb6905a0f0 -DIST llvm-project-5.10.1.tar.gz 171145818 BLAKE2B e314f2e8716cb36b43e1ec23fe2fe212e4ab79e711f4544d54788338067f75b87abe84ecc60b1b5f073f0349d45363346d8a6b89b85f2ae6801cd09709293f52 SHA512 c659041234da1fed29a7186f0e436b0867576096483333d71f11e72828b45e2c7bd9b15db7d3da348a114af48a649f8a484ba3bd4de84d2f5cdb8a7035c5ad30 -DIST llvm-project-6.0.3.tar.gz 197815769 BLAKE2B 0b8f9607007fd151df2b7350cb283936a0b422710c9706b8387fc5066bc2c879f4014db1890818280fb7f410d31a43df32c04961fb981a40529da915fae44498 SHA512 d4d515c5a232dfc9d2ad8ff62b5703d746327a1477641d2baacbb68a61e5babdedddcd0f19dd79968e83e4c5eabc4ab892035bf8aaf1ad1f8181fb9cf68f1139 -DIST llvm-project-6.1.3.tar.gz 219785451 BLAKE2B 58e6ce7a3e5fa2d34fb7f1890a3b151f46ca3a835ba09726969024e8253873a13d0d82b90fa09196356ee7e28cef2e15c3d317a1c1662119cc9e8ca4d742047a SHA512 9f6ecfd1cb0ef312ef4d01ada40d15abad38958e3d9ae24662aeb5a19cb4a90a3bd6e7bdb1826d4a9f8c7c1c483b92f7423b1ca85c3759ad57dbf610adb338c8 -DIST llvm-project-6.2.4.tar.gz 221578803 BLAKE2B 207950702cc41de41d22658fcbe571271734278e561ce896663609c9c2e1c09e2144a77e890480de41f2f923468ba302af656a9ada5c394c00d81ae811e8463e SHA512 22b0124310dcfc1c4968ac4e16977ebe249e84ba6b22687415c476e7399dfddcd38a1e791431b69ca686301f509503995e90bb4598d070144ddd7d12a7288231 -DIST llvm-project-6.3.1.tar.gz 246755639 BLAKE2B a760153a67033f08824da91f46aec8d79c35438fa5d8c6578139273f16eb5b21522aad1ab20d6e2ea0e90a24070f85b139974e9c9768c64e5cddec1c3801c813 SHA512 7f053cf52d1f892e2156479cd775b6d722423f67fd67ad5fe7aa2738d00c8fb4872fc316ea8114ad009552dd5dcec46702daf217954b29c2f7f3cd8334f76f78 -DIST llvm-project-6.3.tar.gz 246741665 BLAKE2B 7a471d6b960f4c25a81a8c8af02f617961a6f377d09fb3f46667a7dd88c017b08b6a1e33003e0fe8fdf28042157998ed0379ebbe78513e6fd492700a52afa01c SHA512 f5cb6d3a38ba743c615e9088724b0b306a78512eedd9aeb668b60ca66e58f843f327d88b2aa800d59db2c0db917c77febc320785adf901aa8ee6f382445274bd -DIST mimalloc-v3.0.1.tar.gz 1281782 BLAKE2B 5eb275159526f07b49b8a85ca3918fd44bc85ff06ffbb48c3f28ce9ae15467360700b947d99f2df2e38e3342500101adfc5397890b21a68c204b6b662d14aba9 SHA512 ba51cf9af3ef41728c94b72805bf8915e63910b32cb9ab331445ec28404d048c0737646e02c08dc0f0e958c526fe894e275b96326fa041a157e3e88f39f2b673 -DIST sourcekit-lsp-5.10.1.tar.gz 301167 BLAKE2B a1ff3b22c4ab2583d39687aae385fc52dcbb02237035ace8bc0fc6c705db1cd6734dae1656078080c7599ad4b75f5e03def7f60b0e0361bcb25e45bc9ea3c676 SHA512 4a2f7c2129a69c05c8d158877efb1538f092f8eb2d1b1194661cb7c6f201330ecf7fd33bb0d06dd595bc6966e19b739d103478db6c9b2a4c2d7ae351bfb398a8 -DIST sourcekit-lsp-6.0.3.tar.gz 533963 BLAKE2B 273394f316046c5b4b2a3378066a0cc6403c3a241b0e23bed456a83b974cfca7d323a197c23af6439fc77892c27b6b1b2b93e9904eb56e47158e1b3158a962c8 SHA512 613fe106b442d9c6228cd2e4fdb8b464c23f11c4e95d4cebd21c2fd7cd6fbe666ccd3b6f7814160bffc8e77251eac4d21ac8acd8c0d7df5b5b0928a06aeaa258 -DIST sourcekit-lsp-6.1.3.tar.gz 622255 BLAKE2B 3ad0b9692fa72fb902d3af52261550ac4fa823f7c22e06da1dfcb8a9615d7d77f853f77a990d671138f2b36064740f977b2f34aaab1cde6a33073126bf5643b1 SHA512 2656292b378be2e5c6531d9f17a43658ca8be4ed3e443ac25fcd8472e6e5197892db94e3a8319048202ae3bc7e3e3a86e1be6f2fce35e466cbb26b5d6e3d4b2d -DIST sourcekit-lsp-6.2.4.tar.gz 853657 BLAKE2B b70f6e49bbe56f93e953d935cf88af0b1939061acd3370ab9d89bbf50efe1a14f5474bbef0d02922c73ff786901bdb5e103907ccc0c7c7554c46dd71e8d90203 SHA512 c2cbcd7b11fb71e19e0b1e6163a3bed8a7278e4a547e25815d5a72bdec742e2b80dbc70a40a9449d12b455ec73cf716f1765b20edd224f40d5430d56f509b5cc -DIST sourcekit-lsp-6.3.1.tar.gz 763514 BLAKE2B e6d541cfb0c738685b60aa67ca767422b87b15339c538bc2d8bac98035a79ef613547ca62dfaa909d87f942955c94ce180fa7261fc082c973c1d6ef320e53296 SHA512 85b712afa1a78c78ae15464ea6b237b509542d64c52829efad3c0aca93fdbbdeaaaf1584cc23cb38f3fbd5b919a89e4cf1100c3519cb1c5c03a1a1185034c6c1 -DIST sourcekit-lsp-6.3.tar.gz 763431 BLAKE2B 617dc6453192c198323e1c2de96d446bc99014acbc366285d3e9f92daa44996220a69f0d11e20b2d362121cb5bf62cfd9b85bbf473e12d4bbb077b580e4894b2 SHA512 218ed5788ce909fa1d4458c660a62474d8a903da9089061393c863a3e530232a51c67401b679119d8b0f3d89529870206845fbe937eafb45fc27d3a2741cc514 -DIST swift-5.10.1.tar.gz 31977733 BLAKE2B cc5d37fe5eaa50c912e3abad02e6b04c81cf66f8ea79c89868de323394dc720fc7e122c5b4d2e27291172d61b4c80259b2cf80547ccfaec0b14aae9b63b9b2d2 SHA512 212ede9ba6a874666ceeb30073dd2a9c8b6b08715f375c98b86bee4a78f4a235ad0f1e35ec3d7f9f97c79f963a9d8bd0a6c9737a8c32b073dca828c564145396 -DIST swift-6.0.3.tar.gz 34134727 BLAKE2B 8df7a89dbe6b03638aa064ee5718f91615d80cec9131a826a1d1d2a3eced4a4238b06a73c7b8811076c82dd10b0ac1fb3faf0082164de9319a8c216339b4c888 SHA512 710e8df06b7abf58da00024bcdfb743adc11e5acc24dca277a09f53991b9601c8c879a76445d174b428bd2197864b08db3c687d9387074c956f7bc5115152d51 -DIST swift-6.1.3.tar.gz 35268348 BLAKE2B 5a56709f1986ebf45b04dcda5fd3ce945bbad85f58b33a3b16cf611b8ce758cca029567557f1e384faafb3084972da0038a7953bd0a259162128380ae21ff6e1 SHA512 0a96840ac7390d3ea484b76ebd862a747cb15609371b9010605e1f74f1dcd9d9c3c28233a71f782e670f5b068726f91879c39f7cb801ba7836e0714ca683902d -DIST swift-6.2.4.tar.gz 36422807 BLAKE2B c34e2329c0b48623099c09cd75e27b80033c77a55003d9fd75cc6f7283d02b7094274f15e731088bd7644ee8188ecd18164c61e5e61684fbe51301c71f68c607 SHA512 925af6b832e36bd1afc1fbd0765fc8ceb0b19c86d1a1c38a8c818497d8e76b2db9e95ebadc33cc11aa68cc1f58d4089b75816ebe77d9f55270d1e29f3a8eee24 -DIST swift-6.3.1.tar.gz 37480386 BLAKE2B 450924ef4d2eee661c611216374686302afee26ead6e69831697e3ede758e88a26766ccf47f4aad7a85b07d38a5aca9aca32f7e3609c94575d8cd6aa2cc610d7 SHA512 37c6d1f0763f1fdc2ec9c60df50b5787e93e0572f5d28fbd77be78765f6449457243ed55bc54e6e95b3942ee058a596883befd0688443b2d256b2292d0719ec4 -DIST swift-6.3.tar.gz 37458028 BLAKE2B 41d7a82a752cc97bb3276151fba90e49f3847614ae390db8bf1dcff0eca0ffaab879b56e16e3127b534ef5548167e160641e9b317e771be4f0a508315290ee66 SHA512 473f39b350e5408697e92ed3dd1c49e9507240473267ffe28721da5f63aff2992b663df3c62e66ddcbe9af7d132085d3085b69e56a1d80192100b8a6e6e68d0f -DIST swift-argument-parser-1.2.3.tar.gz 645638 BLAKE2B 68fb561162f1d701ef7b67f6e4c47206b0fc446d5cd248d4b101436c4d444d146e0e39c384c4bf40e80406fa2a695350124c0da8f9144817ce03016a181c6e65 SHA512 2fa09e86da67b6feb09f3c11b656e0e17c050243f9cdf40da3646c881f441bb545c3820345934da60ab80f2e77f575d1c1adb55d8017277e4fe01b68b5a2f692 -DIST swift-argument-parser-1.4.0.tar.gz 654550 BLAKE2B 94e7cf86e16119d8ed6d55a096e1973dd5a1cdaf65dfb68eeab6fba593ec189ee901f907f7cf3b0e031c79460f8c24ae9b0d9d9ef0a77e85adf8d6fff565c3f7 SHA512 38f0958c63dc01df1a5ac7164b8c76116050819a8747a71ff07c6c2208526e49c0f5411a2431bce4d3968b7100f95e4b00bbc49f69a6df69edfa7f8589a9892c -DIST swift-argument-parser-1.6.1.tar.gz 689530 BLAKE2B 61026ee0abcc4ab009e7a1cd8650ebaf0688d5a9c20c09bbe569336a9423422e881360e4fcbfc2513ad8be30d969053900d9a9c36f3a08196f63e6e776f80e60 SHA512 5ab50de193bdf85a5348fc0dd5502fa4ddf602199b8c5689d0abcde82cdb01737a9ec4e7bd2103265e418f8c6d598f77bc1b0c9fa04149f947c2da3e76309e97 -DIST swift-asn1-1.0.0.tar.gz 72780 BLAKE2B 87299655f63c9e9ca7633173a824f1b95a77288b127d6bff9c5d9a70d2ac948d4fe51a03fbf8109f3a812948b19e74a2eeebf1a734661e5068a0b2f87ec6df50 SHA512 f0e3bd7a4369b84a140e46a111d3985b62e74581ca631e4354ef769ae7f9190ffb3ff68ea3917df9c377fc308a8681a69b8dea4158a05daf798960be229a48c2 -DIST swift-async-algorithms-1.0.0.tar.gz 137973 BLAKE2B 8a712f9e20cfee7aaab4aaf9e3149cddd5208a4e66117cfc78b7a23147ab6aa6c56cf41da44930e8c9b32df8f719ede32077099baf7c33e5c42993653a022762 SHA512 a5687ddce9d051a671fc34d88cc77e2d30a60b99d7f4381956cee05d41d5afcc8fb34469155984f5b7dbedcc3f7f839a236fa528c3e0f660f4d6d409d39cf2f7 -DIST swift-async-algorithms-1.0.1.tar.gz 137973 BLAKE2B 8a712f9e20cfee7aaab4aaf9e3149cddd5208a4e66117cfc78b7a23147ab6aa6c56cf41da44930e8c9b32df8f719ede32077099baf7c33e5c42993653a022762 SHA512 a5687ddce9d051a671fc34d88cc77e2d30a60b99d7f4381956cee05d41d5afcc8fb34469155984f5b7dbedcc3f7f839a236fa528c3e0f660f4d6d409d39cf2f7 -DIST swift-atomics-1.0.2.tar.gz 158849 BLAKE2B d454e99d5588f2819238deaab15484eb01828cfe0be249381c9cd67fcd9b452df7b0815aa3788e8940889bccee8f1769738425b03b6aeb8ddea32a3827775c5d SHA512 b538a9709eadfe96831393b977add28227da65d814b248bd03effc2bb7e36fff69cca692a6fd5946a029d43ddaca9b38aee91d9abf01e09ec8e5473d07d6886f -DIST swift-atomics-1.2.0.tar.gz 195733 BLAKE2B 60c7cd17e382ae0028712943bdc5c7b76fa22e33405da0a713255cb1bdfcb4ca0c7c6ef70b610081f95e4de024cc58976e3e7c6e387a95842ac9871eb68e5d81 SHA512 efd9a6e6b016fb0ad2de5d98fb219b893e271378a8c8d23d01215e855830fc6f1728eaec74ba33983ab9e8aece5ed65e310bbae84c289b43e458941080293351 -DIST swift-build-6.2.4.tar.gz 3536513 BLAKE2B 4d682794cdaad042c62c3e971750843c25f293e62e95beaa7a4d0f334c9d5bd1a1de669bd025207c28ccec2e8e76e127d4099606e052704a985e296710ba2c13 SHA512 7fe17642484aaa33ac7e224a7496b78b5a478e57e8502f01cbde2aa716380f317b3f70431c96833021695e7e3a8e11b1140345234f9bb21f3365b8efa750418f -DIST swift-build-6.3.1.tar.gz 3659411 BLAKE2B 519cbd17ee9b020cdd4b27359d5528284abf49de4291c45379c807227e2cc093b5d472ba033bc8f5aca5e18e74991012b906d19eb4e59b61d366729c6ecc9cde SHA512 222109d9c4da7a31301bf9e2f9be11f492683d9f7e628a285f812c5f31e749f67673ee1b3bee5975c0c7ac1f0de0eb4eb1817e7f425c7bd5b44426c0cb7d4534 -DIST swift-build-6.3.tar.gz 3659118 BLAKE2B ca9bea2c3f4f5cf5feae2d30d172ff73e37a5463860890361edebf143f6c419fb7676697b4bbf84784531709b5b07bb1013c29d84079d8562456d5fe09ac5669 SHA512 f98f79f26e1bc1077f3ef161e32ec7d33a719de69cb2f42c6c88e37fde9680eee94d96654be4f896d8db7814e2cf7146ce56f607fac953e543e5901a29146ea7 -DIST swift-certificates-1.0.1.tar.gz 456979 BLAKE2B 909bfd5ec060cc827541a9740d6ace4ff62f254d510bdb25d3d44692a8c0322572b34779cf3e14c48753d2a936a217912c055831945f99c36dfcab7a42dddb2a SHA512 ea645425fffdb377efe1de9b897a7a6e42dc6668ce93068bbe6de69d42ab6e9801b6d9ff817b728d58eb9e2f66c4932869c281864bc432bd9fb9acb829311c41 -DIST swift-cmark-5.10.1.tar.gz 311407 BLAKE2B fae5e3b6146299012b0881049a2118bcb6c630e292d16217915661dc17d9f05c5995d69e7939243469fb3fd4cf0652ca226e867d5bb1802dd4e495caa81f1ccb SHA512 cb7ffad3ec3fbc74de28df56f4ec5850047abf38ae4a2fdfa37aeacd122c52e3164ef965b582a184911612608df0e450481f9f8c25d11c565518ab39a0d24199 -DIST swift-cmark-6.0.3.tar.gz 308692 BLAKE2B 803176e28e9eb88dc0b23ac187c27da51756898d46f498edbd778301e44dfc7554e05528b910f41d1c310ed3eee487afd8a0e575ec3a5113f012ec296a2f6334 SHA512 d9492f141fb19f39e3b13ac1f2454db64539deb980d0dabac94c76e6ec4a6f19a8d1b5baf12fc7412f6e531b56ca78484f7927450b27832a4829605af9862cef -DIST swift-cmark-6.1.3.tar.gz 308702 BLAKE2B 300e369795befa1c322ff65fc5d35d3ddbd0a73da93121b0dada3483d6c7480eb607d1585e89d9f5b200c44898da806b186e695d7d29f9ed537878f7e4293ad4 SHA512 1cd9de0ff41c62a611a54490e919702114c9d059ee6b8018e291eecda8f610a1712ac6d650c5a19178d38f7b8fde174d8538e893c8f0c022cb55464fd7d4ba36 -DIST swift-cmark-6.2.4.tar.gz 309535 BLAKE2B a0f4f33005b6e96b87d65a0f650ab4edbfa2624537c825d6bc1ea4efe9781473f07568e2c64228e07ff6fd846b19398528e66e60216afea12cc41c9897b26fb5 SHA512 f25323f9364907bda5522116d24dc713cdc2b2dbf72845abaf4b3f412775a65b94a6391c39e86219921e2746df5131e1609cc7a9205d10cbdddf49253b74785f -DIST swift-cmark-6.3.1.tar.gz 308414 BLAKE2B 34860b8ff7e16e9fef42e72257c4353a11b4953b30f7399e297948c1cdabcd057d5cb66c88dbb570193496f136925019a971d2fda3cc342e0168f599cd1f32bc SHA512 e5186e51e30d6b15db88ae7b3c602d8604165c6bf870e2a5a3e954e4b3cd2f04d11ed74e241cf74307850e695bfd5ecc37eb292d44f863715a11d4b38aef8ab1 -DIST swift-cmark-6.3.tar.gz 308413 BLAKE2B 327bf63358b70c0f1953be752455ae477fe557147b1bc062051e639663b6268c8af8ba55f94aeed4fd3925dda6dbb857adb2392c3e3cb8db05dad86bd5f7ba9b SHA512 192070a35cd3fad2ccd0c856b4ed6e0da90253b5510d9c549954445ed911d29bd787f5be430478b737a5e2e8e03db7aef023ddfc713544e5dad298618a8ff33e -DIST swift-collections-1.0.5.tar.gz 3796586 BLAKE2B eeb5ec3418b79ba956c1417bc8c12b8affc2d517dcb174f2215de1bec00c802572e6c19598005298ffc6a57e31493d7cdd1c9214b97762f9bff6d0fa01f2263c SHA512 87309c52e5d2115ce8aedda05f35f40e919b367663d9032a159a31163fda7d0aa78df9049e424bda65fe58c4f2a1c74a784c4c6b485581eef450a022a5a7d700 -DIST swift-collections-1.1.2.tar.gz 5627660 BLAKE2B 176151fe819cd5ca0d5b71712dd080b53bd839fb3c99e35e572fb13f81c3e2b5e2ef986a845a19bf41496cb782a787fe042cced24946b2705a1f7ab47ee8e9ca SHA512 830a3a8923e498a58e5638bda5157c0a8ca20032daa73e752bb445314e3c8050cda85dfba78105f3e76d66832e804b8efc6c05aec117b687a83fc34e9c724639 -DIST swift-collections-1.1.3.tar.gz 5628862 BLAKE2B 732bb1884492c332fbb89dd0b17c22c286715d14332c46cf1346eb5d2deff2a687451d1d289d77945700644182b41c472e986a6986ef3d65d50dfa46814cefa6 SHA512 f26586b9c2e13279694a9bbb80b479ce8c34ceb6181dc455a228b52c8f704b88888ed5cdb3f92e913c228ff2aeca4625ee041fba7712086f57ec54ce709f73cd -DIST swift-collections-1.1.6.tar.gz 5628816 BLAKE2B aa9a3bb72fc86eb63a950d75e31dfb8e3bd4a3365ae67a679649f26c5e6ffe6adee2ea755004bd956289c08d8cda1b33e09ee868e2d0de4648ea08f433de72e1 SHA512 05451ebd99b394f8db0ddb4eacdb94dcac15f1af6eda4cf7145f627e02a87f1075724be72b6ea092e95530b7a9571d6e1cb5de789427c18c8dfd1141db75788d -DIST swift-corelibs-foundation-5.10.1.tar.gz 4479830 BLAKE2B 3fc6773d5fe6971d73360105a25af8d69b6d0f89aa2e04e54f914a433edd97bc7f28f02876fbf84c602ea6c81431d0f490013b988abb56e9a3503c095222994a SHA512 e4ff04e1eb742455f52b43f0a3a1725d0c1c132d2192e4779073c7690ff12991c62c20ca0a42b81d2af12b394e4720309a07cd303ba12f22c2f917570ed0ff5d -DIST swift-corelibs-foundation-6.0.3.tar.gz 2323374 BLAKE2B df6d7a1b4607688a106cb45fd3366db556569ab4d924737e05f93b5380107b039c6161f1e5a9994abb03f4f3c98387dbd68a6cd95e8175b3fac90590031379b1 SHA512 d16b9ae36744fa2e56a11dda235eae79a4e505d830ef06275100559afcdc83d8115ba0635ce67916c1305cc2a0f34a2bea21981ea8801f06dbd190eec0d2c404 -DIST swift-corelibs-foundation-6.1.3.tar.gz 2327639 BLAKE2B 8f0645fe330ee68c8c2b268458df824a8045043cc6de1678dddd1c1353ba6793f8f47bcd6eb13fdc07622e3973b9f445abe27eb4b87d90bd3e507e7981ea6eeb SHA512 227304937bda2709aaaaa659707bba0baf044354441d28ce67c527c4214bd9306e26087edcee4e368cffbe2f07ad5e4d5c05103ea9eb95bfd9a60e4ccfc56f5c -DIST swift-corelibs-foundation-6.2.4.tar.gz 2343228 BLAKE2B 5bb0411ee2e6515d462a8e7f1e67538f80dc0148ccc7a3629fdf6379e0e40c301ea531b1fbacfecfb06c82bb79a709a45451d4033c52641b6baedad86aa89dd9 SHA512 32d5047fd915575924b3ced85c45da35e9892b9280f2f61da079b3bac2cb3f0a9a780511143a60c449d9ddba7f0562e33a9ed8b193cd299d43dd0f21689533d0 -DIST swift-corelibs-foundation-6.3.1.tar.gz 2346669 BLAKE2B 1211a207a76f2eb1bc2ae7db4b03bd619719d107adbbb4a31c189009be1de6612773b4d361299a2036b0a52c50ae38cbb64bd35ecaf6a26741849293f1089168 SHA512 d890e019ef6802781a0606e1fb01509129b8684a078fd97c591549b3aece185a62a40ea094dd92414c61e120b56d60c10d53b0ae6ba5e2ef52ec87944ca4d7c1 -DIST swift-corelibs-foundation-6.3.tar.gz 2346448 BLAKE2B fff975ad7c4d15afa1f33caf2035836480f47b70226720fc49e55414e8f7a33825736d8690f278a2faa56c1c3c5934fa0d6ed0f92c90f983129ba49b8adbcb38 SHA512 4f590d55180cb4501511f067694a64790930685242965f5925ad16dbb65f54c95975d615337893959c0e7472f43d1f7b37a289d104f9cff0d46eb1de21d5f98d -DIST swift-corelibs-libdispatch-5.10.1.tar.gz 594770 BLAKE2B 7e983d27e04dba01f04a2a2e3d5ff6652a2b435497b5cbf392fd77fd385d8dc67a7f1cba7d483a2ee69a9e39e0b7761e31d63dcf6aa8cf068356994c446151ed SHA512 fa8278adbdfd5b041c89a7b14a17aaa805a6f4db12221ff469288bb8d945fd28f16a8d66f56148aeba2e6be30bd6655fbe375d7843d1cb54407527d998e6d6fa -DIST swift-corelibs-libdispatch-6.0.3.tar.gz 595115 BLAKE2B c85aea12c06db1e328cf0ca091dfa089ae350242c3e2d261417c63a490dc3f7c0be40325ae717c75b0062089b43b141c8fe781df6e6230f449e52adc2a19fbf7 SHA512 e99ad645deb804320cbbbd7a9bcaaa87ea106507d77791147603e027abafba28a815e63c1e93cc903ae5ef2631c78854b46af89a6bb9ef7b521fe322a571deb6 -DIST swift-corelibs-libdispatch-6.1.3.tar.gz 595735 BLAKE2B 5231382de6685153b146a436203ba81d30c395c8eead729131456d3b7f23d59d3146f626971c9955e46308fd0477c413caef3ecae5dce9330351bcf3f270035e SHA512 632f5910b76569355a12bb7a1666c5fd282d9e00fd7c9240068a48d6d629fbb085d42be0746657878b7a13e535c1cf1f517a652b5d327125a0bb8921b05d2d9c -DIST swift-corelibs-libdispatch-6.2.4.tar.gz 593904 BLAKE2B 0e74216d43544a71e62429a4aade8cb721e5f680029f095f3c728066c73999c93b2b214688273bb096d3c7bd262612fcf2ecf142831ecaed2e0f09cab3ae628b SHA512 dac5055489252cbca67d087b1a5c030042d489f6225f07ad2e558b3444bf24dacbd011147e8d30753268ebca9a5fa5a579a8e21fc72f09f6490289375f2a19e8 -DIST swift-corelibs-libdispatch-6.3.1.tar.gz 599354 BLAKE2B a001b08368251e2015deee3b338fb0335693b19b614cda8e44a6a856300c472a767e63ea6f575263cb2095a239612321950277058005ccd8135e6d2d8f790669 SHA512 7d82fd141a75f5b782ee89bbac72eeb9e854616eb131cfa07a15eed3a7831f58d79ed4b4222a65f3c64eb1959af182362e8b0f3306f9c94f16e382d6a9e9dd40 -DIST swift-corelibs-libdispatch-6.3.tar.gz 599280 BLAKE2B e589e89225cf50f999593505ba303c40d9373ab8e6e002d8b49d548fd8f99497288cf1fb207a21d17dae6623f5969c43caaa409a2d29acd36d740f5bfd8333b8 SHA512 988bc60631eec7797db958397fd36da092d5d8d16e9e188486cfa5abaef791f757577fca4529376501731824ce42488ae0171692412cb74a05dfa9aa2095fb60 -DIST swift-corelibs-xctest-5.10.1.tar.gz 85377 BLAKE2B aca181aa499b90009678fd10d3a60c063546d66f511ddab9ea88b8674d3919b969924ffacd350aef7a9c7b7ba911a15022f7fce3b578d4dccaa29d89e6f094ca SHA512 6dad6f84ef5a47a74d25211efc25cc2baa13bf0019145cc96ad4d5ac7ddcf79b60dd775f610d099848e3a7b4856f8bb9c06558f6f971324474ae2e6fa8a7cd4f -DIST swift-corelibs-xctest-6.0.3.tar.gz 86271 BLAKE2B 3d520988cb684387ec6efcacaf4a62748c73095ca115abbb85a3378ab8329358cb6a54fe131f4891fc61893db89b95645e2489b5cb5ac2c38628b2198228a880 SHA512 287c00f6c3aa534f25af1bd2ba280086c2f69ec5cc9327804c3b8e7bd3a113257a56fd9c19d5a663081a3e26f6b44c6313e33defc12156a217ea8c0958fabda0 -DIST swift-corelibs-xctest-6.1.3.tar.gz 86172 BLAKE2B 0a34fb6e7b2445d586a52c52391f974a6955bbbaec610518c4af46fb0efe62e24e602da1a44054b87ecd2aed97c772cd02b7a6d6b8fa90c994da41c2283d7197 SHA512 3933f9a1f8c6fb3887c10a231636e497d8c2d010572fb46145b12cd12ccfe013e70c17c731c32662eb554314cd57939068cd3588b12e2fb558c86a4df3196466 -DIST swift-corelibs-xctest-6.2.4.tar.gz 86351 BLAKE2B d21fa7d839d118144e5e20f22b5855d3147d23f3e2dbde1d11b1a0657dd8f3d4d7aba4658e963b05bd7c66f6a4ec897dbc8a87a6cb61645009052e99bde646a7 SHA512 72988c353a71994f280af11f78a13f13d2a7ca0c9c4afd1dc2fa2cf72360d1670da8d74986085bfd259cc42a4d272627b08fa79edf8839377ab58805757497f4 -DIST swift-corelibs-xctest-6.3.1.tar.gz 86792 BLAKE2B 89cea7e890123a302dda34905d0c3b19fc85feccf408c8452da29c7081e00b67cea381a6a84881f840ce2a1743e34e3b240f332f89daea42fcd0b9d7cacf72d2 SHA512 6114312d897be623dc83ca9c5373e043ff729220493b604d3257672cbc194a0a11aa77910a8dbd896677b738c546cad87d184ecae381a16ec2541c9f432c70e8 -DIST swift-corelibs-xctest-6.3.tar.gz 86810 BLAKE2B 498e267867373680700a6800cc605aad64bd280765a1c019ca9aec43d811a239cc964bccf8bf406caa7a2323a96b66edc883ef74e74f905bd6806ecf53714dc8 SHA512 63fd2438a8df7a2923c1f01bbb0e103f0b839be9b940d32577d175d7ab32ce730b79b0bcbc42950b2edd89a90b48c5d262261c79dd23b95b5e953a96961aeb13 -DIST swift-crypto-3.0.0.tar.gz 6840005 BLAKE2B 847314bbb05a744198d85b740175b393c3d2b67df068fb096702d932a3482a61fb1d89b95516974437d4ddabdcb8f5f227e8dd9965a4bd69ecd19ddde9c5f88e SHA512 2d79147d32bfb8449726c73c8b267262cf1ddc7c18637f4168e3fd848ba71c0719b23b5683ca513260cbc537fc439e38488ae16010717303625bceb7d5edd36f -DIST swift-crypto-3.12.5.tar.gz 7166289 BLAKE2B 019272ccd55ec92bfdef104488c5965b5e360f7517f005d7c822278861f4e20e98d70d120eb42106f6bdfba49593a34758e59be2416b4699a59a7c26f63974af SHA512 413236a3e1a39348ee2d741fa48cbecdd70d6e25dea843c626d9e1de4135d6787c3660c462ae1b9c400d6160b7980cf5a6b02e539aa0588dffd18224cc1ee19c -DIST swift-docc-5.10.1.tar.gz 16281601 BLAKE2B b95080699fa1ac9b85a8d6f4e596016362e0699800db088b802ac9abf0ee537416eb63fe1c785a57b0dafd24cb269af1872f0b48eef7e0eabf4c1c3ad2f12e47 SHA512 d72849e583211ff5fef449de2257629b67511476f06724ed798428bd4f5e29224860854bbd262c3d4ae786397704d9589eb2d84a9d4d95f385fba9bc491e208b -DIST swift-docc-6.0.3.tar.gz 16449858 BLAKE2B 9efeedb0359a6452fa79019123ae2fd1794260863b5dece69c9cb6a64e31c1e7a0f51de985484f7b1391255bf1d110dbd5f8cb3e261f7023810d9a571a44edaf SHA512 dc9d873a6c4ab484acf396e58ca71ee169b942bd2e654dbd5b537de33f6e7ce96c1ca527876ca2ad2fec2a5b42da72d9cf186ef5f35d85a29bb233df303aad62 -DIST swift-docc-6.1.3.tar.gz 16543224 BLAKE2B b39f4d37b7693a13684b6fc2e75a652d5772e81e07fbc3b17da0f17901d20830eecd1ece43d5d43c725a00a2e0589c78b3e4d37b50481f357178a74311cf7847 SHA512 80eec33ce371b68cbe1da8fca975115257a0de64e1af83240cfade792310e97dc8317a27c4ee4e531a5f522881f8cc0e086391ecad6f276562426a7189fdc4cc -DIST swift-docc-6.2.4.tar.gz 16573746 BLAKE2B cb82c66fcfc5a0a783cb9c5075aecd16b448854661448210f555fcb9b7988cace1c206e8fe60897364f5c257147fc5144db2a9e7c7233e0ade40920862393950 SHA512 a126d333f474859809b9072a35fac4f49fc096aa7bc87a8b178b22b8e4e5199b688a6ff093dcfd77f201a684ee4c8ec6f9baf8da86731e99dbb9142b9fb48033 -DIST swift-docc-6.3.1.tar.gz 16664213 BLAKE2B 78af2fa46f475497acc07a396009d394d01f95882c42275286e167a31ae18ee3a8921ca05cb65f7812fb07f829d46d1bc1ca69b39c1ee3b1443f7238f5d23c13 SHA512 4d4269cab3d744ac6603137da6aaabe9c027b27121828fdbf94858ea92c478961226303db184427bf0034e2cb9e1f57e6baae9d335529d6db6190af133c28b4f -DIST swift-docc-6.3.tar.gz 16664133 BLAKE2B 552dde0109fd542fdfeb98d174a779b0972b3241a8b48aba9fc9c170325f859a73bc58420df563767dc84a83d316e18b4f3779955cdae443b2138af830d6c11b SHA512 e26e2038d9371019fbb4f26d1e814a36b04ec7c600b07c9a5e55a579a4e681404235f5f17fe12c50d8662db34472d09e21c3bca6f84c46399c8ee961c3b8a3c2 -DIST swift-docc-render-artifact-5.10.1.tar.gz 284108 BLAKE2B 1edcdd656a856cc5c75983fd433a3bd0b6288238731fd9e6d2deaaa83b5284fbdab64080027670d90405bafb0ba82296adc4409bb0247ff7ec38b26f0a4094a3 SHA512 d646a4263cade323c2a19f06f1c909e02606b92953b72aa37dc1e49e99199085484d68f90259a821b4e81f2b18de624648db50bde0d8cfd852c291cad39ff282 -DIST swift-docc-render-artifact-6.0.3.tar.gz 292345 BLAKE2B 6c5e2f5bfaeb1adf72f39b04cf41835495741187202556ddbcf6f548abde7ef845e14463ffec6a5b19b700ca92019a489bc43a7b7ecd71aee7ceb20a534a946a SHA512 dcc9ebc451c037416afe9912cdc18ce10f950ab2e64900cf93734a7c59c4bdbb9e17f10e2bf80bbdb253a87ecc0f5935aa99c5e30ac858a15d11c064af463af1 -DIST swift-docc-render-artifact-6.1.3.tar.gz 295017 BLAKE2B 2a86330a4133c0c1cac3856ac472e5f7e11673aeaee505e67072854978ea41f0e95dc8e87899c4b915b48dd88bee5116ab13f781d96b83cd5e1f0ed38c7a8bd0 SHA512 4c612389ffb6e57ebd228fed5c65312a2eb1e43976ee1d228ab1f0885036aeea7a4453ccf936fd156b6f0f8134628b7da4778fcee5c758d4bbed6a26536ad9e5 -DIST swift-docc-render-artifact-6.2.4.tar.gz 295445 BLAKE2B dbe96cbac7d4adc3b999f53a10a23d579476f6b578e46276f3816798d599056e7303aea64af970854fe4e793b337c756019286bed038c898c1535ed05c2596ec SHA512 27227157ec6fefc5e396cb7c77ee269da2112e8ceb84af1781ccc38d1541bcc505cfba3eb70e17472ed8e91ef62fa3205cbf8568e8f02fa23347d7f12e446aa4 -DIST swift-docc-render-artifact-6.3.1.tar.gz 318213 BLAKE2B de28c5e93e44cc3debae25c4638177d802aba3d87c0506accba50e513f3775cd7661197d738926894a16c0573038fb760560728bb71dd05ef250c7bf8de28ddd SHA512 1fbfab3cb514ca664a5993b92457109dc531406e1846fa28c97f5b68b8e64da16dc6e65918db7bfde199bbbf5b89030cb6d27bd7241c04f5952587801f730184 -DIST swift-docc-render-artifact-6.3.tar.gz 318207 BLAKE2B a20ac0917afc854d1196ff54df49a0818a5195fb915d97513497ff7069c51dfd80f4dd947bc45ad687a1e6278219b8846de9f89ef3d78129181bc94d216e94f2 SHA512 eb608bd3a7db5c6ccfdcf48111255c0e17b8e810f063500ea4f8a06035c3277deef553e3350d34c45b2ff89eef5f70e9b3a5b7a24955ae367e5838227871d410 -DIST swift-docc-symbolkit-5.10.1.tar.gz 171631 BLAKE2B fd72a3e7e36162a0ef91ad60166b4abbe56b52c4ca7bebbd045163e45fc85f196999ddaedd8066dc8c6fd24e949c4f299ca3d9023b73abbda1a9c618a71c5e16 SHA512 cf7a058aeded8455656fa70443b9e280488391957e9003c85c4166925ec6de74675fe9a61571da5897853626e91e4353d72abc76d71a79f4f32e2e4d5b7f4ed9 -DIST swift-docc-symbolkit-6.0.3.tar.gz 195727 BLAKE2B 1e98f531678ced68a2cb9af31857a389eb6377ebf5e2c0efd6d60d308a7baa805ddc6292de8b5c9624def280bba05cade8ff5769d4c7fe47368e20f8058770d2 SHA512 37636c79ffbe5bb3dfa5007c5ac3834da439338ded5b8030a68c41dfb8f89ad16ddbba6cccde86410cef48f3bc36981ee15a70ef10b282ef021a7063e94251ee -DIST swift-docc-symbolkit-6.1.3.tar.gz 198232 BLAKE2B 9083574b457c51addcd620aad2142e9a4448fd6bddffde44fd88d9c969b24ffea295fa7829a0e7bb6c64e6d6124c223159b4ee21f72d65ca28d5f346e6935a6e SHA512 52021ee5400c48b9c2078062affd3298a1c4e25a56c0ec77404403caacd51daef875dc4152c84d6a93c238b8339096beb18b9b7a92a1e612a25a40a9b6e8a990 -DIST swift-docc-symbolkit-6.2.4.tar.gz 199449 BLAKE2B 34baa33d5daf005939e9e7b36c54e4d8c3bb7687e5816d11d2f6c92aca131149b8aaaadc4da186c6a70e27e25ff0187cfbf20e274ea97c9424944da01a3c9205 SHA512 abc8ea1f022dc45a02ed7c7fbc2c9d2d3997c39a8d6838c5ede197245846a2ff9d411c85bf180dc133b9c881717d2c5f1bc20b99026092e1c7103e211cde6d06 -DIST swift-docc-symbolkit-6.3.1.tar.gz 202997 BLAKE2B 8a02e362e2257dc26bbbf5485bac9789b6a1016c4d86195b4226d17b98c286cd10563fde987733f83455336e759015d1c7e59b2fe64626eabc94af5121af5bc6 SHA512 81fcbdfd145928f1aa31219b52d1429357aaed2b67423a064cbfffa0d33a4f195a71371d26c71132323d0322535e56233b859f3bac1dc7e49336dbc6e432fe01 -DIST swift-docc-symbolkit-6.3.tar.gz 203008 BLAKE2B bc8cff7a98bf12ca9a2ce89c213810bf7383021acb917554430ed9c6524b7fe537a9883f273ffc06a7d1f82e436750cd09d876c310727eff46984ea2e4e98869 SHA512 e91292c396209352131a459f1ad6da268d9a388cfb80e63797ed9364184eba42420e712aa44e918149cbdedb813443fe079da0a6a0cb9001488002e273dd5abb -DIST swift-driver-5.10.1.tar.gz 2444415 BLAKE2B 5cd3ed582e1473db8c6d571be8d459b29fe4d1b21ffdc686f72b96495c7f0f33565ed27f8822cc157d2db4b7703b07b23dddd9a0ac925d52af68c55dfcc7c0b8 SHA512 77ce7412cf2a5077331250b1fa70e56b6300340aef7224089840018519cab46bcc011074478045e4bf30502912a0619a842bc082509145871a3c0f1da14ccde5 -DIST swift-driver-6.0.3.tar.gz 2471136 BLAKE2B d4f23a58bf0f5b1bbe4bae85ec51ae537ba1d27ee2f300d846ce9c4b28ad508f09874243dc1d3498882608a731585cdd2c0606ab0f42986771138834abdf9015 SHA512 aa31717e10cc82e4d7721fa2ed8c9c5e704b854c68e0c1c4479dd70a6e02348df55aa4afe9d3ea4acfd7041ac0568362283cd52b72e6985b7ca99ecd39952640 -DIST swift-driver-6.1.3.tar.gz 2484040 BLAKE2B b67c2a815b7c2d1e33da7fcffc215f099d7a0d56b243ee02f161dc8a11650b25710e2079fc8d092e36698cdb178ab1231d3ea9d0783b07869a336a96aafa4aaf SHA512 96681f3cc23f1b5baaa6e491a52c10cabda376e556155cb3c391334f2b92072b55f9e21bd0be0974f633ac68cb064a853ffa891f51d9b270f3cb8dff3fb4850c -DIST swift-driver-6.2.4.tar.gz 2489152 BLAKE2B 61f1825f21d2d696baaba4e9016990a1d1a989f38cc333744d09964c8e99fcdebdf6537a8a30baa5eec62875a8106977ee2121bbbd81905c2a1d1b43c620ecf2 SHA512 eaa7a0dc72009358a1a8a13ff6faaa20167dd76c840d1942b28768879c33c9512c13b372628f99980efd1ae497bbcfae8c5265d0be7c51494be77eef9f35473c -DIST swift-driver-6.3.1.tar.gz 2500735 BLAKE2B d792f2a390ab90e4a9017a09c180e4d8de22c317d4ef2898c8a50386dd819dad3877605dc654be7ea673972ce939a10fa0e8bc0b0e34a83de29ee80f8c5b9b64 SHA512 db2bd042b5d1de7163d6e765ba90666889728efb464384d1c92d2225af13aa1f5ff7e3fd1eb439ce24e146293697243a8eefd3f96277464285f55d46b5246090 -DIST swift-driver-6.3.tar.gz 2501308 BLAKE2B a9b63924dd6ed54b2e8567105b8fe44435c76a8df965c6db448d166d54fe05b6984c154b16ca6abe6f009f0b8ca167d7c437b814ce8938c58fff7df144621e88 SHA512 103ba1b8707b3e7cdef756a12f57394a2b4fab65e57fc1a216a94ea45c4eab404f8afbb422961cd177bf40255c8fe2c72d92e81f020acf436780afda238f2043 -DIST swift-experimental-string-processing-5.10.1.tar.gz 2579674 BLAKE2B 0f65c0daaeef6bd461fd13d85f822d7878e1d7c99fd03fa828f54f87743048807aee2aa24e5c6962acf29b06aeb56f4578df89f12427585a891a37caf9032abc SHA512 89650c6b68ee6a256fadda84e68d7ea4faf3c09859e80bcc270ca36433ed3e652c7139ed868f6f515e3193928a100c99500574eb614dbf97c345cbfefdb245c2 -DIST swift-experimental-string-processing-6.0.3.tar.gz 2590921 BLAKE2B a326297068a5e629e3a2c840417c9b6790cde29a59b2d2b07bc0099b9c233e359137378d67957e5dc912b6fbdb3c3815db493ad9374d93048f44fd618cabc604 SHA512 74eb94bd5edb2c793cdbb7eb74d93110e8bb10d5f9dc02649efff76840d58b5cc62d62ba65fb77dfdada33fdd755ea97f9f955f981841713795e7a0bafdb69e4 -DIST swift-experimental-string-processing-6.1.3.tar.gz 2587738 BLAKE2B abf8852be7a0ac5f24eb34224b8410c48cb9e07cac70c7a5d4b2a80c3af633b1ac36af9678b3f497ce1217e0de85890fdbb6805c40a31ea2ba366fbbb8cf4b74 SHA512 4eee590d06930718e7e4ffb505e35c8b7a6b3e2ac50271a39f93776be1f35d7a333bec0903cd81e3362fbc7f03b49f7239df67be11d83938ec0911f24664841e -DIST swift-experimental-string-processing-6.2.4.tar.gz 2589669 BLAKE2B 1d6c3f0e12c85e9835f57a6660c2e3759f592425e489518363ae69f7794e5bf6fdd9a684120b3977ac3ac42b7a60ddff8d4bfb11eb9ae3f123c88064fca352de SHA512 7f7559aa169e549837947e635df31ef0bd042f8edbb4af7fab45f84589da6be99d25269022a65050d8ac6c22c7e5b814a0e2b5a3d767ade6c2d3e20392ef93b1 -DIST swift-experimental-string-processing-6.3.1.tar.gz 2903649 BLAKE2B 4ee63c3d5ce330b0923db1cc095c82be3dcb5aef87580f0a29b6356295c0d59eacb877b8490bf510c629caa676958195568e88e9abd1a2c33079417d7df687eb SHA512 bd6c5c4fe0190270790c712e5b8d238157499ea5ebdc5387f30b987076ffc9559fd850ac63933f707806188e42968ccf1f6167d41137b1c1d239a85bd5101489 -DIST swift-experimental-string-processing-6.3.tar.gz 2903639 BLAKE2B 46a37b5fe3e5b37c1e12d594e462a5f3f91bb53edef3e3be31d4873c357f05e56c261e0d8fbffb6596eed09c8e7177aeaa1938a50f32d105088ac1ae80b356c0 SHA512 6816ffe1f7afe19dd32e445debcd63d3ddade3094ca386a88262bb2e31928ac86c902f72cf1c7a72974278bb943c1f248d55a43511c2ba66e014f6566f91c369 -DIST swift-format-5.10.1.tar.gz 253210 BLAKE2B 3ca03c57a538e7a894d01d102dea53b07535022b63291633fed55e762be1065951af20cb34aa1e039f43b2cc819a6096474cb693b072f312524191b38ecd564d SHA512 ea072e5c73f14e3c7382bdeba8029ac32d85cb69f99ded1af20c0f3412c8f40ff1ec831edf3e0c8453ffc6fe2d0ae0acdff57cdf914dd796520420ac486c11ef -DIST swift-format-6.0.3.tar.gz 271253 BLAKE2B b919ac1587ef52fb2f9f8337c75368e96c163bd00fd18e353b4926d57d4dc9e16957c28429e9cf1944c55764458d0839076040dde31a73b7e60b1edc1cc67e56 SHA512 cd44c127b06c0b61b28e4a66fb97600f13f8febe1508bac70846ab7daab8d67355d20137afc80acb5ba22ca674d415741718bd59e466132f3f440c6dd700e0e7 -DIST swift-format-6.1.3.tar.gz 288965 BLAKE2B 1952423c94ff0da2fdfbdb291a4b9fc27e0bf1bc4886358376dc9aadf4ab5dfbdb9a0eb70a4805c804387c6697d800d9df26244fd6bb034e8cd0097cf2902097 SHA512 bbfb899f9527c08fedf433a391c5e9ecae0815d9824952d31ecf2fa3badea745cab1c72ac88b09eec6044ab7e2c62bb34b37574f46959b87e0cb27ec8eebcd97 -DIST swift-format-6.2.4.tar.gz 299011 BLAKE2B c3c9cd3e48b6c82ea366c671cd4185103e1f9b53c91dbd843e2ff235b9d271b5678c1fda6150bbba1956f7662d9a73d015c143a268db97a618343db5b9449d04 SHA512 bf1652ceae90d0e15543255f186d470208bff81634e911f0b6cbcab042a74c62e920e22b43b772f3400080d45a3ed17154779c57ba9e3e6a5609b337cf3bbac7 -DIST swift-format-6.3.1.tar.gz 306610 BLAKE2B c2895c6dbc46b01d11bae6193a2dcb0cb7a14e26fbf8683e4345ddb26f60479e59be283c2b5663c5071a9a04872b8f3e37167ef0965713dbb20418176be2151f SHA512 a668da26a849969d04c74bf16c223d0f22677ad024de06ca24bcd9d790fcd8384ff51a498dc8e2f18c1c4aed09ba8c32a7525cdce3fee0aa7298cef094f15910 -DIST swift-format-6.3.tar.gz 306592 BLAKE2B 81456560c43b9cdf10317444c22d7bbcca09c0a1f1deb2650bad9b57779611ccb32825557834c119f409d45fee99b664e77ebf41a0e137ed378ab959de157505 SHA512 ad597831ebed7263607f3c786dceef2fe32a906535712443a4b7e4648534220c1c0b59eb7eddeea8357f530e054462f2eb00c6ba8ee65cfb538a95797cfd4244 -DIST swift-foundation-6.0.3.tar.gz 1739113 BLAKE2B 7e80efd4005a4f57bff7f38d13b63ff311ae8e00a17334c417164e9ee1c65ad6f6d1e4f87b7a6818ded1494960d9f9f04cbde02a0b41414c298387481ea92fe3 SHA512 7429e9b426745dd389a259b805c55dca83c8505224eb0fcbc17b4e83459a9a0a82c4df92a5613e78eb36511ea557444569cac8124662361aa9a2c5b760ee1e71 -DIST swift-foundation-6.1.3.tar.gz 2416653 BLAKE2B 5b17af68b75aa528e33fd8fd196425d8b3faad5554984c8ad7d4442006531066dda46757ac62b47765ee2959392a7b4badcbc041fd0f990fdbf68180fa873476 SHA512 99e59cbe1c97ec79738d061e9d2f2f551e37664cbe7e3ce41ba7b30b2139b59e82ab2f1b956c1f7fe3ba171a57cc54fa0eea727f9b5438dd029931f141a9833b -DIST swift-foundation-6.2.4.tar.gz 2580962 BLAKE2B 63548750338e72bff483728000913ca5daa8c4105008862a0320c66fd67b31a53dd12ffe7fa8e72246a0a2a428b485583ba0fb90a5d8500d722dfb736e561cff SHA512 dce340339e5bd62febdd3463123039e1d8a91f34dedd3df6cbee1851cfb46301666b9baa77fb3463efe27b94a2f7e08fe8b2399553469aeb3d1f61fab37a56dd -DIST swift-foundation-6.3.1.tar.gz 2628300 BLAKE2B 8e5b3348cf01323c33ece75aea86e1c8de382bfe76a28ff4cd8268be42f4b1fb111ec326964fb74a9d978bdc1f4c8024f44218a82c7d7cd3e4073026a0fa4d2c SHA512 d117a4adc56a0144417c8ff8a27302f8a893f28cffc20184fb936e703b6b9d0184094bc5e0788b944d39f3a065282f193ae0a926c731222f8a0a2df594ecec33 -DIST swift-foundation-6.3.tar.gz 2628197 BLAKE2B 67cde58c6cc44a8c9ca60e588d9563b3be02282e8883c4e36a6f6805c379dcb9a5d3174992f55bb84675b1426d49c709eca665e6cd0b0e08815124d11681b4fd SHA512 a8f46cf70d5b2e6ed82aa2539b52ac62aab5496c208fa4c87dd73e8ce96ba597554f20bb6ffba7ac7f1c8c3e1c6bc4e842e6a524a92e7714899180a041b1796e -DIST swift-foundation-icu-6.0.3.tar.gz 26058690 BLAKE2B e6817c8a8e6a187d37c0f226ceb3c8c9f5240e72a6b2531ca44d9a18efeec6aad3d221e8157950d9f951aa41c2913998513e620b2d7cc3da6db89f4cc48f26c8 SHA512 c614386febf3015b726b22fb76fa1c2289b3e93b2322ac50e7ad5240e7b35d37987dc81f034151c6e29ebdca10edf95f759aa5bbe66dc626f512407115a4639e -DIST swift-foundation-icu-6.1.3.tar.gz 26058387 BLAKE2B bb69db0c479a66a8982c25b41137f1d291e81d4d377e530f244d6eef2ed7512b54cef4e2fc6e370e0756247e4c42494b4116eec6aa69534c7a1520ec77e8047a SHA512 35921e588bdb6981006542a2ee5e77273fbd62a1f5c896f258cf911e3818ec5e8b5d13c523725dd27b6d79cb08138a276834f1cd40ba88e9ebc4490c5dfe7c76 -DIST swift-foundation-icu-6.2.4.tar.gz 26060691 BLAKE2B cf7626982b949c25d50e9731a36013aa47dbc2b63ec508a6b304141c7543c33cac322a666ca9db2fd2c0c372b16a78f5f20143195b81415c1235699c25f68ced SHA512 e8b3fe78c6bc1aa499778d5107f1017413a6658a8281fe4ff3a356ee13a2fe31f2417fe98c5118ea4ad1ac5fd3840eeeda82dc473e32448a43c8c93f28f0021d -DIST swift-foundation-icu-6.3.1.tar.gz 26880254 BLAKE2B ee20077c50beef7180771c65030dcb110ce65261100f25989ef51ba98936b58f1e01d0e68dafebf2c9f278a9af6020444502a62d1618b02a062fc0492bde49ef SHA512 fc45087437672c2b09f416df24581ca02644521776637fa320101150e6295af80f9c5d99d99854d5c9d2bef9f8acb81b757712146d1d997289b0623d5433b436 -DIST swift-foundation-icu-6.3.tar.gz 26878796 BLAKE2B 9bfeee76865914f1eb4e2027858d68f19007303593f903ffca5794e29eda3203d1ef49fa4d46409f8fad891f116425d038318ffd4d52086f2bf066b4bb5e863e SHA512 f7d0ade8f8743b575b4a59faaf178e0bd28d72001d378e80e9b75999a2c7c1481c727baf83df5577b2588d8c778750ee26354ecb61b9b1850482f777aa648df5 -DIST swift-installer-scripts-5.10.1.tar.gz 187723 BLAKE2B dc5839f547771b6728be204e90be5b34499dc2490b9ef6fb025c62ba580c6e7e3e0bfc0f186dc88c72f9229362c1867db5818b5b212230d38e4b6de1edd5d075 SHA512 91ff31237218415271008867c11447bbec7c78999430792d338e404aa9a0028b23d6f1526eaa2f75aa9a3db341a9d1cbd769807e8ac5920140d8e68ed4febb8f -DIST swift-installer-scripts-6.0.3.tar.gz 194068 BLAKE2B 0d1fdf09f76276e757d1e3e21234e5e79a1771811429850d8ef6bdd192d33f51b106494037df0266e667a01fa78e8691eeda21ec51a9c328e7030cec34336a91 SHA512 9892cbe272253be17e16bcd52441294e20437b99e8c601abdecd8575a7288b49667a08dd08e13dcd39966200a429a07df40130f93684401a2174730a8b9bbb26 -DIST swift-installer-scripts-6.1.3.tar.gz 220071 BLAKE2B c16125891089b7a279771e299b4b533179b45f1fd606d51b533cda6d70c27b67bfe3795ca178a7d9551cb96d22fc6f0e98ad3948ad857ee81bc1795643c2b303 SHA512 3ffdc0d5d5ebe2eba27dc2ee81588673f811201da2e3de910f3e58c642821a4f1109bf3682e31eb1a06a2fbc90a1053c47dfdba7514b2e801ab70c60d63f912f -DIST swift-installer-scripts-6.2.4.tar.gz 227809 BLAKE2B 3c6aa95904bba942088cd87c3811168eb0d20e31f85326f6bed0cc6e4dbee93362a042183abe13f9ea5c058f2ba71257a627cf4142658eb5e74d9da53a838819 SHA512 f0c6c20c7269b9c2c3d4c8aecc5557918d5a19e9c0b602706ef8b4aadee93be6ca1f090b11cc4df3b51b19d585278e48289844f596bb3062fc646e5cdee6362d -DIST swift-installer-scripts-6.3.1.tar.gz 248823 BLAKE2B b63f45d2364b45f84cfa2e4e0918eb339f6646780d8876e229ec54a3de805a11ff5f8cb73293f70143145f30854f6559f782c5a983ef13c9e5356938b04b2645 SHA512 cb269667906af7ddb3b208be5e634b13aead4b3d705f78ff32235973ce90311f19b3eaa2b2cb649649c8f270cd2a4075707404e61db013634de2539f76e647d8 -DIST swift-installer-scripts-6.3.tar.gz 249094 BLAKE2B 9f3815cc35e724e8aa5a97d254db73c9e02196ba35a1ad58b5c9d182c0791d97ecd57a9c5e185a39f4f0665dd394246444218bd5fd383e19c4eeef2712bb326a SHA512 704440884031768ba179241a8e213857f3662765ff26a86d531a1f8f0e503af66149e7cdd65160adc01416f84dd4e31b13b1b07b0af4ed05f1e5a60a1efba0a9 -DIST swift-integration-tests-5.10.1.tar.gz 17872 BLAKE2B 33061a544f0c34d9719e2e1da7f1ea5ca72c2f7f15fd8bd2626fac6e07a14d76b40fc299adf8925c9c6e94c6052578d8124355757f4fd4163341fdf9e680b03b SHA512 52dbcd7a9b509253b6f2df4467ebcf0ade8d941581883fa9edf6461ab308f2e07b80e95aa673155066324802e57397887d01249bf055178e08ca7483c11b2250 -DIST swift-integration-tests-6.0.3.tar.gz 19480 BLAKE2B 9dccc3d23bc0f4f09f77a5bf2d6340a7631275b2d345d222611fda1b76b5c7c00e88927544a424836134a769035f26ceb9eafcc9d8b5837a2e59504b56635ab1 SHA512 777641377e2d91658415fd9443488c3acf624b4684ddba6405438f7c3833ecfe51e8f3dc9ada17ddf602e5799c2e615c0fc4315d289302d052e176818a1e6313 -DIST swift-integration-tests-6.1.3.tar.gz 20191 BLAKE2B e9ffadb26d29de63d14fd437a96071852fa6f2911a579eaa01aa93df84ca9bfeb2062671412d5394a75748b1f6c5905003efee939be2eeb36e190838fed6f07d SHA512 87fda82e881ea03c425d02858001fa0024ff2243f2ad20c8d49c239720b900b40bc3e4a1bfea004eb1c40ec7e42391a231abfef972f2f54b51380f82a28e36b4 -DIST swift-integration-tests-6.2.4.tar.gz 20351 BLAKE2B 1d1cc7b90e19f5d7028e07e53b8e14187fd8068ff6754d360235ff288c75ae41e8d7e1f988d35bbba0c25f46b7ce96f2aa2dc4df7a212660b2b60020e24a4ad4 SHA512 2f438087af44b6fd98d8fd98567c3651a655a04cb7febe2f840cee91421ab70e6bd2e1e883f35bd606614dfa7735e996421c8ee333352b001278ab2337f8a68a -DIST swift-integration-tests-6.3.1.tar.gz 21539 BLAKE2B cd0253317daabc6095d5ea491b62ed195678a07ccdd683126904abcc6d65638ffa61f13fbf136e103b191c576f120964d9dcb96af543e17e199f7d3897132209 SHA512 1fe8769f5fc660c150e3e8f5acc6386f8d9f312b7ab73943f84ba9e4bc4bfe9afb297fdc15214b18153996da4f5263440c1ae3ca452d3b8321e7ed3c1421ab50 -DIST swift-integration-tests-6.3.tar.gz 21535 BLAKE2B 1852e5cfab278cf00e454498406881943c929c4939a941c8cab7e7c69f0a0ad7b82aba78a84afa02e70d53904d8932993ce1910c5a202cf47dd9d1b959b730e0 SHA512 fd7beb38133c3101fc01cc560df7e65c1753ad9249a99f956a45f59b89095e6492d90d3afda37d1f16ab4c013c0e778b587635a144686a14e60ebcd8fce2623f -DIST swift-llbuild-5.10.1.tar.gz 7092051 BLAKE2B ddbbb05375e024a1b832e42d1a37b6baf09f59dfe4b4b208b000ba274431c39679c5e1e8c4bba3f27caed87e98d1201b1ccd0f693808a3e9ac5566ae8f4823d8 SHA512 010ac22ff4c6e803a537e6e84b3f6047d74fc35f773fcf51f52f9d1546196ed73ab42ab90d1346a0a74239c4f1d11cd183018f42726df42dc921bf0d2235d850 -DIST swift-llbuild-6.0.3.tar.gz 7092251 BLAKE2B 0b7a543988b7433599f447212aea49b7f9d7d92c1516372382f8292231780013de09ac4600741579f11f54fe0b81defa31b6894acd4d2899527991b0384453f5 SHA512 3dd399fef0da472742b6e180896c53cf685ffed49467f1a145cad8ae64e784e7368190858cf79810b47bd56d294a3c337e6bbf587b93efa3350c29928ac6444d -DIST swift-llbuild-6.1.3.tar.gz 13736638 BLAKE2B f0da79d38bd4c7e43271b7620a0ed3b85410dee8afc07c2dd0940b424027ab5c8abe82acffd2991e82b08979e02d4181980bcc0421885900e1d0a5cbeaae79aa SHA512 5b195b543e1abe482b9e9eedfe7c884dc19c36d71a62787c3e2b1ab05dd7f05fead34d322312ae0f2635dda5a71027d88ba46cd2e5136d92f5e6e284a330637b -DIST swift-llbuild-6.2.4.tar.gz 13862763 BLAKE2B 387f8f3953e42d31ac11f4ed09fa7f23a71bb4a32124ca26adb91a258d7fa476a2a6ed9ae6be1ef25254c16b0c02aeb4ce28b0e158fdaff93ea02c07412b9b7b SHA512 bb0ebd8e7e56e589bd70f3b40b45dfd53f02733e4043998c6e4ff7acddb4866f734dac96e89e10282e838ad757d5212fd50103b0f26c57ca6aa3a3c05e47e932 -DIST swift-llbuild-6.3.1.tar.gz 13859015 BLAKE2B 460d69a3f6e738f677cfc5abc698a699dac267bcaab4a21639e6cea483efce59ce9200421a4c12ef7eebcb87082ab0f4817ba73604bb57229deb40366ebc25bf SHA512 67b429fc4a355bdebe72499362a2f6eab038bb7046d0d624bdce7c4f2ca6a9ad2fdb874325a42a6486369a09392cc67bad2fde3190efb1cc4c38b7cf6cf33e40 -DIST swift-llbuild-6.3.tar.gz 13858542 BLAKE2B c072977bb20831c0433c3b70ad3694db2e1cc75797b4c05074edd4a3a4c9229f1d4d7050805d60f29281b398165bae077a70301c0cb94a88458d6a145f72b48f SHA512 608efa8a92f3caa9cfa5675b0f35625f0358e84a3d52f2ed8a15700709112ed884fe735051a72dadbc0b76748e86eb65bf0289bf670f0b9eeafab306c358953e -DIST swift-llvm-bindings-5.10.1.tar.gz 7164 BLAKE2B e466b395f8964b2f340737b47675af65d71742d581fda08ccca66025314a8a792f11a0edccb4816ef3508f3fb15039986432164ece827d59812db9af81d62d5a SHA512 c2f5ed4e6e33b3f9bf3c746cf01a59e98476b402e69cd8dc6f3527e6376669274360ad1aa2035d9dea87d3ab43cf20817aa42a779a3b777d9670e4f954800262 -DIST swift-llvm-bindings-6.0.3.tar.gz 7220 BLAKE2B 1b3b181081fa9df173cb2eadff8cec004baa2ce66626e36bc5c96bdf64fe156bb8d98bce9d4e9c802fc8b0aa0c28a55f2db0e14eba7cdf82601a8fe842b4917b SHA512 13b105d4149ddef256c471c1530a87bc964971edb31f5333bab911ae1284148755ea89b5636f0e242773d72daa778e2aff00c3a737c1663aef06f69a9c6629fd -DIST swift-llvm-bindings-6.1.3.tar.gz 7654 BLAKE2B 662257e2f0be3c1a3fc28852b45f94110645481ae5d7e73e91e97479561deaf193b8ffd51b5c4cfb0fa8d23c2aed0d7a3b56893ff018e837a5271a6302f85e56 SHA512 5ed94bf212ba6386bb99751dcf9885ecf44dd498f789276ea82d259f7d069c0dbbe7ff9bc4a9ddd4afdc1c7d195591b2d3fb8ff1fc128221b37f9ffd89822edf -DIST swift-llvm-bindings-6.2.4.tar.gz 7646 BLAKE2B 630f3a4573af6f171fda7c65f7a19d0287be58c870ccd05310ebe4403e6c7fc967b153c6bb041441f85c1edb682bffe9421f398bb1905e4f03d50f8b3d588174 SHA512 d36c222107513c8b7e779d6e9db74ec020aeee7ed0d1bfa8dadcc933bab8e61129378aa495739d48f5a1a0cd43526322e015ef6aa0021b7f7edce4a1e2f0c61b -DIST swift-llvm-bindings-6.3.1.tar.gz 7652 BLAKE2B 74ac8f921c70dc8d93373ed69649fdeef0d312e0a0a9ab10cc426a4702f80853610c7f06fa7bb8d6fdf513f216de7cc5644823ca0043126c41011f9949f7a38f SHA512 7152fb4f6c9d2ffb31f97f3ea8d5a1eb5caa392138385cbd3c43e028b4e5745bf0245995c4603c5b38360d06c5b4f763c0e9ee533fdc06160b2e09aff8ed1b4a -DIST swift-llvm-bindings-6.3.tar.gz 7654 BLAKE2B ddfce91cb6247619dc3c2d8df6127135d05ec7187a671067902dc07737b2bc1c11330a913280b00b83f20c62cb36302c990cbc3fed72045bd40b5e9a76f7a334 SHA512 490c9d45a1faf23524b6e729b58131858ae5616d66d3f80554d8936d463ff0aefad0771b24b96f1c038eecff94068e1238207f93164507e889b58b438892db04 -DIST swift-lmdb-5.10.1.tar.gz 153468 BLAKE2B 56b94dd54ed68d3d70cd482273d0e963c540009401ed497b65a4be03975d4370fa674b82cd3ad1d90b8399111fd20d44ca57991868785fb3d5bb81ffb74bbc5b SHA512 ffbdb5f0efd84b9826c23919a7d4941f6b71ad78a389814e56c2862f441a37484c020aa54e5984076634d5f15c088eeaa84b658f357d4585109c4ca8535ef6cc -DIST swift-lmdb-6.0.3.tar.gz 153797 BLAKE2B 8db982e670a2bb5d7819610ffc02331cf8cb247a2f48cf82334c670c8ecb20d8b53e747fde7a69fbb6c84c372a42f74c8edbcdcca88c799dbe6d9afa6a0da4cb SHA512 c468b5646101c4f957bf737d5a96ed078e2ac305dacefd220cc6a360d1a6841e04be591f17c5010beaf007537776f3d63ad37c6a652d1225f3c26020e10c86b7 -DIST swift-lmdb-6.1.3.tar.gz 153801 BLAKE2B 008973a0c12b592219441edaf8134095b8b47336b4ecd65a723aa522081360eb81a4263129d5c6fa92bb6ecc8b4ec9a96358bf7b6289aa671f593f45e027b04a SHA512 a5312e5d9844b90bdfacd00ee307b151c665f9335684ac7ccbb0cd99c4fed249742aecc8be957d84130d2cfde248529c32610ba005bcb169a917ccf68ced53dc -DIST swift-lmdb-6.2.4.tar.gz 155113 BLAKE2B 60e71db598fb25d2da0c370f4ad7cb476051e94bbf55566bfa628157b37a866fd142ff41bc7b9b9c12faa138df46bb6c860672daa8c4199092cdb34c9aba1527 SHA512 4b544567caf46be364ef86ef9c9409caaee8a464da17015f259594360b2ea8ec09fb23332b74839072089a39832fc7f160b4a1033c734c446285b3060b4cdeb7 -DIST swift-lmdb-6.3.1.tar.gz 155110 BLAKE2B 1792c52cf159eaa21aed57982386d66061efc2abfe3ed8836214b9b199acaf0f8f64d0015dd53d37e79ab5005e616718e3e57c2fa030cd0564bcb537ce13ce90 SHA512 526994e8f8fcab99dddd7740d033d03a5a00eda9c539cadb37fcce92ab90bd92d15baea40658b2be2882e918c0968db044574113a36abec5616ed870d02dfa45 -DIST swift-lmdb-6.3.tar.gz 155107 BLAKE2B 5d530fabd413ee8b4857d681429bcecead274cac0a9e3e158d1195ba7fc83bf79f0b32ba699218d46b823fb0323b1a2e05cb05a84689a2017e4b3e8054a4b9d3 SHA512 a4354aadf859c8c471f8dfd54595f2dc9e8584f6091b8a4cbdae29b232bcb02d28e65f8e62340a6c605506dd362295852c2b51eb992a7b0a3e871781240802d9 -DIST swift-log-1.5.4.tar.gz 56968 BLAKE2B 13ddb20868e7cfb179559a524f127a25cccf408f24cfa66ef8e3e44e0a265a5b1b0b3ab1c45ee75f99834214540066579f8f74daae4fc6fe09104f3c69ee1409 SHA512 c148f7a20072fba57226bfbc0d9e9f6bb9ebfc952e920d7f4b6a12028fa49a2f61f1f7f13e53c2421b562b83e8160e3d64da51437840b9312c77113b1484c39f -DIST swift-markdown-5.10.1.tar.gz 107990 BLAKE2B fdb8519b634d86b7e2ecc5b12e31f412657cd5462d5c45ef64b621243e1710978a7b05916a1a22acf96741acef3ca94ffeaab6e3bf353fdbd57ac0655cb408dc SHA512 df4d1f240c0d92b2df9bd48b5cd750402a2f855d2a989d7c3722f3eeeaec067d7562caa38b8ea664114359b9c6bf4f2d5502acd62225e3a5e278bf9525f7d24c -DIST swift-markdown-6.0.3.tar.gz 113379 BLAKE2B 84377a3f305e3ca77563bceb528e203a9d0f4a190ea4d22267341131cb7bf4f3acd15d8cdabfad41227d64fc6237eb6db735eb7d6a151733a14ef28c13fd609b SHA512 24f760caf609d419e3ac3cb6fa935a74a142aee174446781ee308a98f9e966971806dde7947e81d94033107dc10a037847924a7c5e02594a2ee33d5ebb6a3d86 -DIST swift-markdown-6.1.3.tar.gz 120244 BLAKE2B 197bfa7be274fb22f1ccf211d737c6dfeac1ff1d7de828b370fbee90b716ef35bd974c94198cb4380874bd14b10bf5c01a61b33aa9be466faeafeed6fcebb5e4 SHA512 d230041f0e7c1bac3c3fbd8dcb9797833c64325429ac3929ca29680a395a32c0ce416443428237207e6d17ad24c974761cb24be879463b2fb2104a75bd429c45 -DIST swift-markdown-6.2.4.tar.gz 120940 BLAKE2B 626a4f392f9d3cc06d0592c7e7612bed99bf5ddfe654c17265d9b75b61d7c5a12e76d7b649c8d84aae29d6181fd7daea0466878d8f4c8f408a42fe3f8b8ea35f SHA512 bb62947f565155274a30f4cc99b05169c904b1d725eace87b66ed54809f9220303b36618b413aea8c38a1fb327f6e2a041ffef1596ca819f80d345b82cadc919 -DIST swift-markdown-6.3.1.tar.gz 121990 BLAKE2B 237c7139ddcf0008c853f2d96d23b66ac09664c460c149a85b806b43652cd28ff8f64963879304833882c3cef5bda8663cdd97a0426752ebbc9788b7743da5f9 SHA512 2937827e75974dcf6a012b3004dded7f0b5a1073c5589fcc6d0bd02aa474137614081f5daaede29580fac7eaa9af89f9e7b290c45fa4a9bd234b06e4bb24187d -DIST swift-markdown-6.3.tar.gz 121975 BLAKE2B 012ce11dc22503d3eb63fb139ef5d3555961cfeba30bee8c5cd83b9c6e80b9e0c7583a9def15c675dcedd9194fc44082708e633f7bce1ca74060fe97dd113690 SHA512 d412226bba120f859f51526b89fa4b7528364543aeb9f04d6fbf845ea3aeded7fad5c6becf0eebe72f3fd582c0efb15b734a8d56d6f0d532a52c2c157499f0a8 -DIST swift-nio-2.31.2.tar.gz 761397 BLAKE2B 567acc6487769e5b8b68a7d51e93f84646bcf66d8569b41a631077af3b2be3ab6bf1aaa2d3f59d2705b9f1e2448d99754e625409a78c29dc80770577b0bfa631 SHA512 e8b8bc5d49c92e327d660c1ee34a9bbdb169e19501211ed56765c51303905494f808d4b76ae9f9a50718db5efe337961ef6baad146197c9d7ba7a8b6c08e3a8e -DIST swift-nio-2.65.0.tar.gz 1101974 BLAKE2B 3cad6bfdc96dd089cb587ef04af77d147538abd92b1d232fd92aa6b3baf7653acce32118b8dec2debe5b641f9e09a747c92747f21c23bbe6948477bcc2ab7748 SHA512 3eb24d634c8937270b88eda8c34b7b70290b28a601228e051cd2b414003902d18d066dc82f8682835b2c788d5d2b27ac0a1f1723e16f902b1d3d321ac7807f6d -DIST swift-nio-ssl-2.15.0.tar.gz 2448033 BLAKE2B a4f795ca965313d4ec33e9b265f2af9fe1a483bc1f266602056c97bb190ff56010c62d3729b66ff1180ff9c2b8f48e697f237b87c3ce0602b717d8d2e8c00b16 SHA512 5ba54beb93d669715b05627455003aad29847f04886ed08fd6bcc37f3ffcb64183c033ae3220446d69bc720a3da5940f3979b8039ddbe8869d81d70a18c42e36 -DIST swift-numerics-1.0.1.tar.gz 55942 BLAKE2B ef3be69b6ac73a86f2dfb7dd5757129d45a2b8dc67500a656d8d68fadba05340032eaa710110cfe7a95ddb438785011416aad8c988e25ba3161dd0a2184bced5 SHA512 7d0d8f27d8c639f92fb652183ade9032b36f39e19b966aa734cab5b4d43ce5d342856dddd87ac1d4cd605c18583c8e629f37634e440de34ec0d5e18aa138d0ba -DIST swift-numerics-1.0.2.tar.gz 55992 BLAKE2B 0d869a2a03294d7bb098384aad390e9a52cd5ed6108625872139cbfb691d7e2ee63ab3c2729eeabc3ca061757e32c1580a881e09c925b8d7e60ecd5d8628cf1a SHA512 2d6a2c6aa21a86ece26983cbcaa366bd726e4e0c4341e4801510a0227be8856280102fd04726a91b5b335aaf7eb609b04113d6af824e904ae4c768755dd6707a -DIST swift-package-manager-5.10.1.tar.gz 1522538 BLAKE2B 79406e3f28f6cd577b42c3afdfaa64cd180364eda4165b0256ee36979b340d609162e8dcfcd63c57f7ac5277a92facf5cf9b304dbe19aab6f6632b1bbd379ceb SHA512 303e2b02bdc16cfe3a8812e4d5a79de09ef7367a2f0bbca28c55e2f037b0a8dab684bcaa7189dbcc6c6876d21a4e4da2b0956743b99a0b2c7d4a1be415e0df92 -DIST swift-package-manager-6.0.3.tar.gz 1640743 BLAKE2B eefcd5e8e6da2c0580a21b93ffddd02bb0383a21727fe78bccc58a0ae7e3cda36c4dc3e7c72d53dca06ba72ac6660e99280cda5c9436d22598540fd1d4085a41 SHA512 580028d0a9e20dcef2778681000c89bdd400ead6a273e15208ec36dbe0ce7797726cc2df12f8f36f09c653b19a38abaeb79323c770b4def02c3587ab3e0436cc -DIST swift-package-manager-6.1.3.tar.gz 1742045 BLAKE2B be078fc7c7df2f1264964e70ffeca1088eada1e42873ce9f67098cf6015a884e2b92b7746ceeb556c494edfe0057157f2677e8d3e71e184793ed694f1a10cef1 SHA512 d55d0337c47cbcdf7da68eb301810f8851ce4da3eaf535e253149b147d4a36225c13c0af7656b774f498393bef2f96bb03c336611e79209a5716368567eeceeb -DIST swift-package-manager-6.2.4.tar.gz 1992467 BLAKE2B 959c62a43463e0ca04399b35f2a6cdd5277d386f15fedba9d57d4689c400505df831160f700001841679cbf12dced9aa5cdb4e490f4b7e7928372557ebb68a56 SHA512 b557b11cbac31eb982e78aad836028e80d2f11430c525a14393dc70b1e729cf74f12012da1c03d43358201966a3ab6109c1f2f78d45f8832b079e826faa1f0e3 -DIST swift-package-manager-6.3.1.tar.gz 2157938 BLAKE2B 10d4f0fe4bbf18ade6a678724e1aebf2a1a674cdfe198b9dcb8a9eb0c1c0e6d617a69f73c8fcffc5ce57fc4d458505db8bb09c4af3c035d8bf866998aee92047 SHA512 6ce71c791a5dfbfb96dbd783f3f01f3d2e7f135aeddaf8311616f6dc20fc820efe2332b3c551d49dc60a69338601462e4ebcd8817c11ac152d98273fe456a73c -DIST swift-package-manager-6.3.tar.gz 2157711 BLAKE2B 38fdf6fa95c615324e411dc0122e7ac4eaf867473cb94be3875874da0c0524d872b854713e272d48161e173c41d2499a78370631d58288216b57ceae94b46e8b SHA512 67bdef0314b9b595e69d4df7a6454a398879a7d7da02addcb90c8ba0e02b5a83a446e66471215757f1f52c7f2a3f2c6fe60e08e3a09cda99cf305c0cbbd088b5 -DIST swift-stress-tester-5.10.1.tar.gz 97998 BLAKE2B a06b983df45c3664f5e74c235f44c1dc887d7ceb10a8751b8f800e33fe8d6017429e50d3e7598f0d3eec4741445884c1224f445d13eb08fd8de0773e59cb84ef SHA512 a0f63b902e7243b455a0e7f60b11e8c0e6448c56a8db39c96fc40bd99a79f2a23147f631b04d79713832bca44403c5cba5b2a8d96eb5bbd4515295a00126290e -DIST swift-stress-tester-6.0.3.tar.gz 73844 BLAKE2B a7d9b76b70b85f1efae0674faf0b33135117ba81ac9febd735c9be8265073cfe7ee10d9b0ae5fdefcbf704b0e752ad5cf7530d6c8bf9ca561033e7d96cce4365 SHA512 432b1532ba61bfd49a9c384c3618b8d5aea54fcdc893c6e54f5c9172ea7dce5532eb5c2ec5c12cfddb2ff5037966b309722140dc4ceab14d091b152e54108f3c -DIST swift-stress-tester-6.1.3.tar.gz 76044 BLAKE2B c3e9e7bafa9136c13a7b242ec89a868f664d9000ef35bb763b8282d220645a42d6ca56bddf8125ded3503ce3357a8820bbce76d4480c784945ddecd95bd83540 SHA512 66d43e5b98d84fe83cc5c2d587f9586528c4e5ee853844f2395626725104796faccfa8d66083d3bfa9c8fa83e0b2461c67313c417a5fb262604dd8a4dba67285 -DIST swift-stress-tester-6.2.4.tar.gz 75420 BLAKE2B 401dc4cef13b883e0ec7ae68431e8525060b9d8ef3b090c5d0a379b683c5bab52382985931c40951a4a7ca6c64936c6b89f073ba47a87aa0a74f3d322738b52d SHA512 2db92ff1c53b2625c3f98de6cee3f6b384edcec77287f5330fe3e486bcdbcddb26622c0a447d3409e9cd332e80f701d28ae11c8d0f903890f61402c3e2bcc465 -DIST swift-stress-tester-6.3.1.tar.gz 75396 BLAKE2B dbd55dd08ab2dbaad08757f34edc7f179959f14f9468e6eb80a0fbd91d1842fcde56ff8c8f6a91a3dedea6e1af6998c39d49a12b78eb99431237ae2b072588dc SHA512 f0037374c11db5dd315695a2866020da3ac4433198d860dcc38470a1dcaef0887f5e84690eaf07bb468bfe071ba6202a610c6ff44095e2e9cdec7fad642645ef -DIST swift-stress-tester-6.3.tar.gz 75421 BLAKE2B e9041239299eed924994b1ff5794f4dcec93aa5a207ae3f29b8124f4dcf2ed893a7a9728737cf87571bc149ea4860cad13163dbd44477f5f2709bf4ae771a29e SHA512 b73ed3abd513188167fec4edf55662985d55399bc219ba5c21598a50919c6e47097ac6a7209eb0100b4fc8343f397ed742c52217595976814ee2b577fb04949d -DIST swift-subprocess-0.2.1.tar.gz 574365 BLAKE2B 11eea9fa38c297c4b0c0625565821fe1101c65cdb9e7a9325bc7b73855242c81fadbcd5b07d96d1a4859c51588b1d20258708b4b57516e8b3e8e8d95bb6664fb SHA512 ac086c8da5e0dad4d84b6f146ce6844babe521ba7d66c02bce2c0b81e17f54bc522f1277b93206f86f225505a69cb9e25348aee5998b68a985a154374e4ba0a2 -DIST swift-syntax-5.10.1.tar.gz 1142270 BLAKE2B f80ede64271445136a68bdefec85d9da6657b4c14e987af5f6ee7b3054e0a1908ae2ada6980da4bc27a8ed8ada4459ec96efe6fba119a4ad4c1487174405f576 SHA512 6c163502fcf9ae5775ebe7ddc9446a69a2f31e78a161a3f6414a173f501d5479e8be5023a8514ec14a54d5448404df4a4505b4459a8b06fa6b470a453cab5769 -DIST swift-syntax-6.0.3.tar.gz 1260836 BLAKE2B 0eaea3d5203afd4eca6e6af89037306bb626d4c0da5ede8f1448d8618e64acfee8cb80425ac678d9e09330f68c084286972ab83b821aa49a703790c271938258 SHA512 3e1375f3adfbe8f90518c18643582b9ee42444d67e501734e0bc5ecbebfffc9de98bb78a6430a0f42b88f1abbecb2909492228d5cd6098708cef46fbc1a9f37c -DIST swift-syntax-6.1.3.tar.gz 1352865 BLAKE2B 52b4b721aea448b59021d56191e2a429cda5e859b86040ffcf5b923a34ae4aa501e0ae530e1524c544eaae217077a6de4f7200fb657b87f5275bbfe8ece4d6aa SHA512 8a79a9f636e64aa7764b2bbaa24ecbdc65ed2d3298b2af239e5bb39a4204cfef17020326c9a892082dfeaa94acc17488b02c3c10a829f39c25ee7aa58da5ee86 -DIST swift-syntax-6.2.4.tar.gz 1398105 BLAKE2B 46f92d1d55b80cf2d6a350bd92978405ee313d606f1e293e37c7293b2eb3169275e63ac6b8b54c973c30d6f9a7dba35874c55aa9e6937b5ceac46eed12beae92 SHA512 a46e3bdc91b4b78ac0d375aa72818e22a4040bea5dc368dfcda0b3fbaa429a22e540cbcc3a48d826efb55d666bed719cc3a65abc4319f1a91e49a0c43e9c4858 -DIST swift-syntax-6.3.1.tar.gz 1449195 BLAKE2B f969d5535940c81ef1f1325a1345a8a05876a645cb1605abfae287303f92f3edfb23b367bc41902f5a02d44031843d778950d5e4ac0d9cb7d8c2ad3f122bd14e SHA512 1ecc15c8ed753624d6f62d04bd08c1205c488883a4620b157d0985af9c26ea188331de8e0c57466c00d030bc2d6367d00095f99abe95f587954eef968bce9509 -DIST swift-syntax-6.3.tar.gz 1449004 BLAKE2B b746d8140e677d96fb234adbeff9666964d11a49e12eaba64ebd5b95f6d952588fc98d6b5413400948e8fa29ff870ac0b4cdae3bace601e8dabfd1270c88c740 SHA512 55fc575755c92b38daa7efcffdf585a048a773dc64f5159d9e329f9a1eafdaffeb9fe7374269d3e6cb7d97bb34256eb63b872a53c6ca8f9b9a281eecb4a0e413 -DIST swift-system-1.1.1.tar.gz 69981 BLAKE2B c6e6685228642bcdf403806b58d5ca426ef3c5f85737ddfd52e189b326871f2c482436c90a841c35e83db6dec95cbad3538a38b5c112de9ae7495d7495c61861 SHA512 fec08fbc352197215596974303cd7e08b46ff44b1bd36c70b95be4e7490880f4d7e645e64e90f1c81bfca06d9302c600ccc02c9f5cc7b83a69da46489b105e1c -DIST swift-system-1.3.0.tar.gz 74773 BLAKE2B ce43ab596ebbcc58d082482d57057b2fc50c2f832ffd38f9bea6a1d54c1f6d79722add4ebf7efa41278e0d1ed47e10353a0ebe63956a4891b68502b91e623df4 SHA512 64c53b2e43e0b01135f2566e11af0f527557b64d3acb63904cc6e7ed74a4c08118c887670fd2ecc82e3036d96ed1dffd6066f37d9c660b1e65a63a1f5cee7586 -DIST swift-system-1.5.0.tar.gz 101074 BLAKE2B 2b96ae84e9bb7a7374bce0e789040f98b27b4dfd0fbf1c04a09e4558b793bb133699553ff219c90b230dc4d8e6cd0173d39d278abfe8e8d3c1e93631a7fb8c1a SHA512 003f6112e47c2f9c5abc79ea13bd2904cfba6b265c49028b006a8a60f754e86085a87c9ef9eeb79266511a1afcfcd95b471e8a780959b94baaf6fd18e87f25f6 -DIST swift-testing-6.0.3.tar.gz 314152 BLAKE2B 976d1f0f6a6f564ef5ee2b4349388097b9da4f692912efbf28c8599ce7c61cd56a5bdcd81be0bf3170a8709a9a65bb8c46d96fe3542efe454284d76eaeaf40d0 SHA512 fbec1c05c419656d207427c2a3191610ce1dceb252ebe5a4455b494d21065271cf6829555995138a9fbbdee1fc33324ba60f87aa62a5b102cc6443ac32d1db33 -DIST swift-testing-6.1.3.tar.gz 383022 BLAKE2B 578b04a950ce450bcac56e66a77fca6f9cd114f3d1aa7599db72fb1a53194eb8e2d5558a701d9126e889efceeca7ea57ea3fcf7c6e6ca2b589cff7c3b309749f SHA512 0dd155b3e1224781e692e2942be73490ddf6402efb8ad6389fea78ed50b34ea9feb2e0df289c7fa1c17f3b6379b47f60ba2b320277e25a1a385f92c1699bead5 -DIST swift-testing-6.2.4.tar.gz 433332 BLAKE2B f46da15740feca5b282fdb330030ff04871e9d47d36a83fe4d65364cb57e70af15787c32eeff532724659927544dcd0d1de1bf39d6905f2ae3205b9f87aab534 SHA512 de3d175eb8d5bba2531616f90db8c0e540129caf458f11c19dbe5f2abb2cda1d5a72db6d6da7d403a823ca46480cd041043c0318dded95665239f4a0ba01db18 -DIST swift-testing-6.3.1.tar.gz 498370 BLAKE2B 0e7aaecb1da3e37dc2226b4a9721ee58c85feb8af35f6b8f3ab2482af19b348ac013a5f04aefca9c02814bb5f99e05aca3fd392c23b39e81cfa65d6db804de2d SHA512 204013a16c333ab97b72a29e667711b68aa3a3c8addbacdd4d6049bec95ce5ebf74c5cc71a431f94a4bde9001552e3a2404d6cef125af5b0c19f0a49b2a3e61e -DIST swift-testing-6.3.tar.gz 498210 BLAKE2B d2fa9902b7ce0530e4e1118f35636997c772227ab91c8315fab47f8ec313605dfde82a9fdbab97359168451a8e24d72e6d1441b4dfeff241275462e238e67aa4 SHA512 92f683cae4b1e579ec2ed07d0ccf5856412db870aaf9de9bbb7bcf221b5c6cc7679b3d1af1f599188e6d26e0ac9524040aeadcce369b79dabe4bca7057fc3d73 -DIST swift-toolchain-sqlite-1.0.1.tar.gz 2769606 BLAKE2B 15e52b93f5c24693b872085610fbe21af820cae607d0f2b635ae0ace7413ce09cec7bedc8c47eb31ad41a4ba8266c4d8e6b1830c7dc8dd072a9d8598232f6847 SHA512 2b2fe0287c7220505445a3143bdc8de31f4b38907025b42d016151f209ae63edc2a423f0fe9a6b78b6202392c8387e9b88ffa15c71b9c3b0ad9c5106ef16564a -DIST swift-toolchain-sqlite-1.0.7.tar.gz 2852121 BLAKE2B 5b0bf84604dff0e7482a1c306f160de48d7a24ff98fbc6b5bd1e62e24e9209e09b781fd7afa92f0fefa8b8e05d11ecd6c6dd1fb583d8425acddc977bdc68c02f SHA512 286c77daf11f95388c9cc31a4b416dac1a106d85b67ea942657821935557c8f8db9d96d90cf5c75b72ef4b8c8eba14eb8e9ce13f62cb10e71d22c3ac8fb505c1 -DIST swift-tools-protocols-0.0.9.tar.gz 167825 BLAKE2B 398b2299a7ae882571fc49c0cf126be59234b27e2c2451da0c4b1109e045edd5949852ed7946997eaa8b90de0f15497864e93570d1a7c9e90ae2607214b3f98f SHA512 cccca5abe4d16bd8300b9772801973b9cbb5669feeeff1f59cb38b6f6ebe708445722b39e1664101a80016f7572bd46449432d998d5323a2d05a35348bdf6d57 -DIST swift-tools-support-core-5.10.1.tar.gz 240649 BLAKE2B 42c4106a94252fd5cc0667e94daf107373996a1aac71c0f2d73307c6186d18e61f04cbae574cfd75e848262ab423faaea79555f0b15b699d3441d2f6d80d2bfe SHA512 d69d2e4e9b1e6c44b97c88b73101f7b66a8adb59275e77ca0e3ededd7bf444285a649855f94e7f8aee7b965b734e9b657eef65671f3ce0c4b0c6971380672e6a -DIST swift-tools-support-core-6.0.3.tar.gz 241702 BLAKE2B c41519b62b3cd819cca3efab41db277464b02536b5672decf9e18b0c595433f04d77fd51f2cf8244a71951a2e8b3c66c99dd9fd9e9b4cc81bd1223fd06690f61 SHA512 7759ff6320e1f87a30d43d47b7f137698e6795cca1515040b90e4b9c6e037cefc4cb4f863925ecd06b606b4a10f6270f3b79325755cf277596332cd62761c1ce -DIST swift-tools-support-core-6.1.3.tar.gz 240507 BLAKE2B 84c0d4f846798163948477612877571b3ad9ab18de86feb174ca1b69491f4068ca48986fe4081ba47496f6c9bba14ec4b742beaebdba57308b71dab12c09c8fc SHA512 2e40fee992841eefb5f36d870ab9b9be244b9666d8ee6b18fb588a80cfbac1480d28a0857e89b8ec737e157e4d3193788cb1ff5765c77f34225fb64b5c7a711e -DIST swift-tools-support-core-6.2.4.tar.gz 242072 BLAKE2B ef83f5ea03c5748fe40dbf2c40e984012cc22af6785ce0889a208850a6961264b988d98b6fb03ad4648ae61529d9ff429cab5575818b974ac9900ef1f6addf21 SHA512 ae8cdc189ef9c166104a44cbe561a007a0c41eeb6783fa5687c40bde2bcf4e36c91afd8637d1191ac7b923f82c34c5b23dd2fd6ad5601270eff8b50b8e1a0f6b -DIST swift-tools-support-core-6.3.1.tar.gz 243080 BLAKE2B a99f8f6811be2fadacd2bfa4323d470cabca6f2f9f00536cf1f780e06e236560073dfa92272576d2ea1d6ca1fa3989a54c897a4b1d9bb5f3b20bc00e20531d73 SHA512 567c816ff98f31e55b0a2b9aa994b2da34d92bb3b85953c9e6e4820beffde302af5749c4e20f83a3f825cf8ccd36539bf4145a40fe2360a6bfbbeeca0cc2dedf -DIST swift-tools-support-core-6.3.tar.gz 243084 BLAKE2B 42db320365c28cb18f1ec63c8450057f6c01c1399178c1e47a63045eed13ea53da57a01026bcd2c9bbf14a1f86d34acc8087d6e372e2a45d0bac31d75fe649d2 SHA512 1b8d58ce471d8de125842f15c2c8c3baf9f3385a04cad0b90454172add05006b9e216ff682d8941e6b2a08ff67d983bed2d9cf11429521351017dc93ae2654c7 -DIST swift-xcode-playground-support-5.10.1.tar.gz 127305 BLAKE2B 702f331c5dbb6fd6c11506b8cd10cdf27d36ee4ab273d5a18d5d80c068ba3fdb7a8b99eeb27f4dfcb7a8bfa060a73452ed4a8e98ac7eb33f8ea657ae67573b21 SHA512 d1f9a178891c64c3e40cd2ae56a48b8afedeb1981330776a04bddff9b94dcaf09542291bf234e6ed1515e046fa8fced506e7b3c3461bc690ca01a58640222c24 diff --git a/dev-lang/swift/files/swift-5.10.1-r5/backport-swift-75662.patch b/dev-lang/swift/files/swift-5.10.1-r5/backport-swift-75662.patch deleted file mode 100644 index 7044f9022a96..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/backport-swift-75662.patch +++ /dev/null @@ -1,21 +0,0 @@ -# A backport of https://github.com/swiftlang/swift/pull/75662, to avoid cyclic -# header dependencies when `dev-cpp/tbb` is installed. Since Gentoo no longer -# supports GCC <11 (and we explicitly require >=11 in the ebuild), we avoid -# including `<execution>` and picking up the tbb headers if they're present. -# -# See https://bugs.gentoo.org/947141 - ---- a/swift/stdlib/public/Cxx/libstdcxx/libstdcxx.h -+++ b/swift/stdlib/public/Cxx/libstdcxx/libstdcxx.h -@@ -1,7 +1,10 @@ -+#include "cstddef" -+ - // C++17 and newer: - - // <execution> includes tbb headers, which might not be installed. - // Only include <execution> if tbb is installed. --#if __has_include("execution") && __has_include(<tbb/blocked_range.h>) -+#if __has_include("execution") && __has_include(<tbb/blocked_range.h>) && (!defined(_GLIBCXX_RELEASE) || (_GLIBCXX_RELEASE < 11)) - #include "execution" - #endif -+ diff --git a/dev-lang/swift/files/swift-5.10.1-r5/backtracing-noexecstack.patch b/dev-lang/swift/files/swift-5.10.1-r5/backtracing-noexecstack.patch deleted file mode 100644 index 83cf5de040bb..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/backtracing-noexecstack.patch +++ /dev/null @@ -1,15 +0,0 @@ -# The Swift backtracer needs to get CPU context information when producing -# backtraces, which is necessarily written in assembly. Because it tries to be -# portable, it doesn't include a note indicating that the assembled binary -# doesn't require an executable stack; we need to include one explicitly to turn -# it off. - ---- a/swift/stdlib/public/Backtracing/get-cpu-context.S -+++ b/swift/stdlib/public/Backtracing/get-cpu-context.S -@@ -140,3 +140,6 @@ FN(_swift_get_cpu_context): - bx lr - #endif - -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif diff --git a/dev-lang/swift/files/swift-5.10.1-r5/clang-indexstore-exports.patch b/dev-lang/swift/files/swift-5.10.1-r5/clang-indexstore-exports.patch deleted file mode 100644 index e01c25e82fdd..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/clang-indexstore-exports.patch +++ /dev/null @@ -1,48 +0,0 @@ -# The following functions are all declared to be explicitly exported from -# IndexStore via IndexStore.exports, but their declarations and implementations -# are guarded by `#if INDEXSTORE_HAS_BLOCKS`, which is `0` on non-Darwin -# platforms. They're not used on non-Darwin platforms, so not exporting them -# avoids a linker failure. - ---- a/llvm-project/clang/tools/IndexStore/IndexStore.exports -+++ b/llvm-project/clang/tools/IndexStore/IndexStore.exports -@@ -10,9 +10,7 @@ - indexstore_store_dispose - indexstore_store_get_unit_modification_time - indexstore_store_get_unit_name_from_output_path --indexstore_store_units_apply - indexstore_store_units_apply_f --indexstore_store_set_unit_event_handler - indexstore_store_set_unit_event_handler_f - indexstore_store_start_unit_event_listening - indexstore_store_stop_unit_event_listening -@@ -33,19 +31,13 @@ - indexstore_occurrence_get_symbol - indexstore_occurrence_get_roles - indexstore_occurrence_get_line_col --indexstore_occurrence_relations_apply - indexstore_occurrence_relations_apply_f - indexstore_record_reader_create - indexstore_record_reader_dispose --indexstore_record_reader_search_symbols - indexstore_record_reader_search_symbols_f --indexstore_record_reader_symbols_apply - indexstore_record_reader_symbols_apply_f --indexstore_record_reader_occurrences_apply - indexstore_record_reader_occurrences_apply_f --indexstore_record_reader_occurrences_in_line_range_apply - indexstore_record_reader_occurrences_in_line_range_apply_f --indexstore_record_reader_occurrences_of_symbols_apply - indexstore_record_reader_occurrences_of_symbols_apply_f - indexstore_unit_dependency_get_kind - indexstore_unit_dependency_get_filepath -@@ -68,9 +60,7 @@ - indexstore_unit_reader_get_output_file - indexstore_unit_reader_get_sysroot_path - indexstore_unit_reader_get_target --indexstore_unit_reader_dependencies_apply - indexstore_unit_reader_dependencies_apply_f --indexstore_unit_reader_includes_apply - indexstore_unit_reader_includes_apply_f - indexstore_unit_reader_has_main_file - indexstore_unit_reader_is_debug_compilation diff --git a/dev-lang/swift/files/swift-5.10.1-r5/disable-libdispatch-werror.patch b/dev-lang/swift/files/swift-5.10.1-r5/disable-libdispatch-werror.patch deleted file mode 100644 index f05c04e57293..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/disable-libdispatch-werror.patch +++ /dev/null @@ -1,12 +0,0 @@ -# Packages should not have `-Werror` unconditionally enabled. - ---- a/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -+++ b/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -@@ -2,7 +2,6 @@ - if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC") - # TODO: someone needs to provide the msvc equivalent warning flags - else() -- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>) - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>) - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>) - diff --git a/dev-lang/swift/files/swift-5.10.1-r5/fix-issues-caused-by-build-system-updates.patch b/dev-lang/swift/files/swift-5.10.1-r5/fix-issues-caused-by-build-system-updates.patch deleted file mode 100644 index 5c02c13ab04b..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/fix-issues-caused-by-build-system-updates.patch +++ /dev/null @@ -1,138 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Fix issues caused by build system updates. - -This includes fixes for issues caused by the following updates: - -- GCC 15 (specifically, changes in libstdc++) -- GNU libc C library 2.42 -- CMake 4 - -Specifically, the following is changed: - -- Added missing includes of the `<cstdint>` header [1] -- Removed deprecated `struct termio` [2] -- Removed unnecessary `CMP0037` policy change [3] - -[1] See https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2 -[2] See https://github.com/swiftlang/llvm-project/commit/59978b21ad9c65276ee8e14f26759691b8a65763 -[3] See https://github.com/swiftlang/swift-llbuild/commit/1fbcca53fe5fde6e2afb3998f19bb5ff4a7df5d8 - -Bug: https://bugs.gentoo.org/945025 - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/llbuild/tests/CMakeLists.txt -+++ b/llbuild/tests/CMakeLists.txt -@@ -46,9 +46,6 @@ if(Python_Interpreter_FOUND AND LIT_FOUND AND FILECHECK_FOUND) - add_dependencies(test-llbuild ${test_target_dependencies}) - - # Add a target for running all tests. -- if(POLICY CMP0037) -- cmake_policy(SET CMP0037 OLD) -- endif(POLICY CMP0037) - add_custom_target(test) - add_dependencies(test test-llbuild) - set_target_properties(test PROPERTIES FOLDER "Tests") ---- a/llbuild/utils/unittest/googletest/include/gtest/gtest.h -+++ b/llbuild/utils/unittest/googletest/include/gtest/gtest.h -@@ -52,6 +52,7 @@ - #define GTEST_INCLUDE_GTEST_GTEST_H_ - - #include <cstddef> -+#include <cstdint> - #include <limits> - #include <memory> - #include <ostream> ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc -+++ b/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); ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp -+++ b/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp -@@ -467,9 +467,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); ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h -+++ b/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h -@@ -998,7 +998,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; ---- a/llvm-project/lldb/include/lldb/Utility/AddressableBits.h -+++ b/llvm-project/lldb/include/lldb/Utility/AddressableBits.h -@@ -11,6 +11,8 @@ - - #include "lldb/lldb-forward.h" - -+#include <cstdint> -+ - namespace lldb_private { - - /// \class AddressableBits AddressableBits.h "lldb/Core/AddressableBits.h" ---- a/llvm-project/llvm/include/llvm/ADT/SmallVector.h -+++ b/llvm-project/llvm/include/llvm/ADT/SmallVector.h -@@ -20,6 +20,7 @@ - #include <cassert> - #include <cstddef> - #include <cstdlib> -+#include <cstdint> - #include <cstring> - #include <functional> - #include <initializer_list> ---- a/llvm-project/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h -+++ b/llvm-project/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h -@@ -13,6 +13,7 @@ - #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H - #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H - -+#include <cstdint> - #include <memory> - #include <string> - ---- a/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h -+++ b/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h -@@ -52,6 +52,7 @@ - #define GTEST_INCLUDE_GTEST_GTEST_H_ - - #include <cstddef> -+#include <cstdint> - #include <limits> - #include <memory> - #include <ostream> ---- a/swift/stdlib/include/llvm/ADT/SmallVector.h -+++ b/swift/stdlib/include/llvm/ADT/SmallVector.h -@@ -22,6 +22,7 @@ - #include <cassert> - #include <cstddef> - #include <cstdlib> -+#include <cstdint> - #include <cstring> - #include <functional> - #include <initializer_list> diff --git a/dev-lang/swift/files/swift-5.10.1-r5/link-ncurses-tinfo.patch b/dev-lang/swift/files/swift-5.10.1-r5/link-ncurses-tinfo.patch deleted file mode 100644 index ca1642d11873..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/link-ncurses-tinfo.patch +++ /dev/null @@ -1,142 +0,0 @@ -# `llbuild` requires various products to link against `curses`; Gentoo doesn't -# offer `curses` as an alias for `ncurses`, so `llbuild` has to link against -# `ncurses` explicitly. `ncurses` on Gentoo also doesn't expose the `curses` -# terminfo database interface (e.g., `set_curterm`, `del_curterm`, etc.), so we -# have to also explicitly link against `tinfo`. - ---- a/llbuild/Package.swift -+++ b/llbuild/Package.swift -@@ -227,7 +227,8 @@ let package = Package( - path: "lib/llvm/Support", - linkerSettings: [ - .linkedLibrary("m", .when(platforms: [.linux])), -- .linkedLibrary("ncurses", .when(platforms: [.linux, .macOS, .android]))] -+ .linkedLibrary("ncurses", .when(platforms: [.linux, .macOS, .android])), -+ .linkedLibrary("tinfo", .when(platforms: [.linux]))] - ), - ], - cxxLanguageStandard: .cxx14 ---- a/llbuild/lib/llvm/Support/CMakeLists.txt -+++ b/llbuild/lib/llvm/Support/CMakeLists.txt -@@ -65,5 +65,5 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - endif() - - if(${CMAKE_SYSTEM_NAME} MATCHES "Android|Darwin|Linux") -- target_link_libraries(llvmSupport PRIVATE curses) -+ target_link_libraries(llvmSupport PRIVATE ncurses tinfo) - endif() ---- a/llbuild/products/libllbuild/CMakeLists.txt -+++ b/llbuild/products/libllbuild/CMakeLists.txt -@@ -28,7 +28,7 @@ endif() - - if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows) - target_link_libraries(libllbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() - - target_include_directories(libllbuild -@@ -79,7 +79,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - llbuildNinja - llvmSupport - SQLite::SQLite3 -- curses) -+ ncurses tinfo) - - # Manually set up the remaining framework structure. - set(LLBUILD_FW_INPUTS) ---- a/llbuild/products/llbuild/CMakeLists.txt -+++ b/llbuild/products/llbuild/CMakeLists.txt -@@ -16,5 +16,5 @@ endif() - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(llbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/products/swift-build-tool/CMakeLists.txt -+++ b/llbuild/products/swift-build-tool/CMakeLists.txt -@@ -10,7 +10,7 @@ target_link_libraries(swift-build-tool PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(swift-build-tool PRIVATE -- curses) -+ ncurses tinfo) - endif() - - install(TARGETS swift-build-tool ---- a/llbuild/unittests/Basic/CMakeLists.txt -+++ b/llbuild/unittests/Basic/CMakeLists.txt -@@ -14,5 +14,5 @@ target_link_libraries(BasicTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BasicTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/BuildSystem/CMakeLists.txt -+++ b/llbuild/unittests/BuildSystem/CMakeLists.txt -@@ -16,5 +16,5 @@ target_link_libraries(BuildSystemTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BuildSystemTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/CAPI/CMakeLists.txt -+++ b/llbuild/unittests/CAPI/CMakeLists.txt -@@ -15,5 +15,5 @@ target_link_libraries(CAPITests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CAPITests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/CAS/CMakeLists.txt -+++ b/llbuild/unittests/CAS/CMakeLists.txt -@@ -8,6 +8,6 @@ target_link_libraries(CASTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CASTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Core/CMakeLists.txt -+++ b/llbuild/unittests/Core/CMakeLists.txt -@@ -15,6 +15,6 @@ target_link_libraries(CoreTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CoreTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Evo/CMakeLists.txt -+++ b/llbuild/unittests/Evo/CMakeLists.txt -@@ -11,6 +11,6 @@ target_link_libraries(EvoTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(EvoTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Ninja/CMakeLists.txt -+++ b/llbuild/unittests/Ninja/CMakeLists.txt -@@ -8,5 +8,5 @@ target_link_libraries(NinjaTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(NinjaTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/utils/adjust-times/CMakeLists.txt -+++ b/llbuild/utils/adjust-times/CMakeLists.txt -@@ -7,5 +7,5 @@ target_link_libraries(adjust-times PRIVATE llvmSupport) - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(adjust-times PRIVATE -- curses) -+ ncurses tinfo) - endif() diff --git a/dev-lang/swift/files/swift-5.10.1-r5/link-with-lld.patch b/dev-lang/swift/files/swift-5.10.1-r5/link-with-lld.patch deleted file mode 100644 index 5921b301f792..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/link-with-lld.patch +++ /dev/null @@ -1,144 +0,0 @@ -# Swift defaults to building with `gold` on Linux because it doesn't build with -# `bfd`; Gentoo no longer supports `gold`, so we have to build with `lld`. -# -# We need to: -# 1. Have the Swift drivers default to linking with `lld` over `gold` (both for) -# eventual end-user code, but also for the built Swift compiler stages to -# bootstrap the next stage, -# 2. Have the `SWIFT_USE_LINKER` flag be correctly respected everywhere, and -# 3. Set the right linker flags for `lld` because its behavior for ELF on Linux -# differs from other platforms, and certain Swift symbols need to not be GC'd -# out -# -# See https://github.com/swiftlang/swift/pull/69538 (merged to main after 5.10 -# branched). - ---- a/swift/lib/Driver/UnixToolChains.cpp -+++ b/swift/lib/Driver/UnixToolChains.cpp -@@ -110,34 +110,7 @@ ToolChain::InvocationInfo toolchains::GenericUnix::constructInvocation( - return II; - } - --std::string toolchains::GenericUnix::getDefaultLinker() const { -- if (getTriple().isAndroid()) -- return "lld"; -- -- switch (getTriple().getArch()) { -- case llvm::Triple::arm: -- case llvm::Triple::aarch64: -- case llvm::Triple::aarch64_32: -- case llvm::Triple::armeb: -- case llvm::Triple::thumb: -- case llvm::Triple::thumbeb: -- // BFD linker has issues wrt relocation of the protocol conformance -- // section on these targets, it also generates COPY relocations for -- // final executables, as such, unless specified, we default to gold -- // linker. -- return "gold"; -- case llvm::Triple::x86: -- case llvm::Triple::x86_64: -- case llvm::Triple::ppc64: -- case llvm::Triple::ppc64le: -- case llvm::Triple::systemz: -- // BFD linker has issues wrt relocations against protected symbols. -- return "gold"; -- default: -- // Otherwise, use the default BFD linker. -- return ""; -- } --} -+std::string toolchains::GenericUnix::getDefaultLinker() const { return "lld"; } - - bool toolchains::GenericUnix::addRuntimeRPath(const llvm::Triple &T, - const llvm::opt::ArgList &Args) const { - ---- a/swift-driver/Sources/SwiftDriver/Jobs/GenericUnixToolchain+LinkerSupport.swift -+++ b/swift-driver/Sources/SwiftDriver/Jobs/GenericUnixToolchain+LinkerSupport.swift -@@ -17,25 +17,7 @@ import struct TSCBasic.AbsolutePath - - extension GenericUnixToolchain { - private func defaultLinker(for targetTriple: Triple) -> String? { -- if targetTriple.os == .openbsd || targetTriple.os == .freeBSD || -- targetTriple.environment == .android { -- return "lld" -- } -- -- switch targetTriple.arch { -- case .arm, .aarch64, .armeb, .thumb, .thumbeb: -- // BFD linker has issues wrt relocation of the protocol conformance -- // section on these targets, it also generates COPY relocations for -- // final executables, as such, unless specified, we default to gold -- // linker. -- return "gold" -- case .x86, .x86_64, .ppc64, .ppc64le, .systemz: -- // BFD linker has issues wrt relocations against protected symbols. -- return "gold" -- default: -- // Otherwise, use the default BFD linker. -- return "" -- } -+ "lld" - } - - private func majorArchitectureName(for triple: Triple) -> String { ---- a/swift/cmake/modules/AddPureSwift.cmake -+++ b/swift/cmake/modules/AddPureSwift.cmake -@@ -224,6 +224,10 @@ function(add_pure_swift_host_library name) - target_link_options(${name} PRIVATE - "-use-ld=${LLVM_USE_LINKER}" - ) -+ elseif(SWIFT_USE_LINKER) -+ target_link_options(${name} PRIVATE -+ "-use-ld=${SWIFT_USE_LINKER}" -+ ) - endif() - - # Export this target. -@@ -322,6 +326,10 @@ function(add_pure_swift_host_tool name) - target_link_options(${name} PRIVATE - "-use-ld=${LLVM_USE_LINKER}" - ) -+ elseif(SWIFT_USE_LINKER) -+ target_link_options(${name} PRIVATE -+ "-use-ld=${SWIFT_USE_LINKER}" -+ ) - endif() - - # Workaround to touch the library and its objects so that we don't ---- a/swift/cmake/modules/AddSwift.cmake -+++ b/swift/cmake/modules/AddSwift.cmake -@@ -629,6 +629,10 @@ function(_add_swift_runtime_link_flags target relpath_to_lib_dir bootstrapping) - endif() - endif() - endif() -+ -+ if(SWIFT_HOST_VARIANT_SDK MATCHES "LINUX|ANDROID|OPENBSD|FREEBSD" AND SWIFT_USE_LINKER STREQUAL "lld") -+ target_link_options(${target} PRIVATE "LINKER:-z,nostart-stop-gc") -+ endif() - endif() - - set_property(TARGET ${target} PROPERTY BUILD_WITH_INSTALL_RPATH YES) ---- a/swift/tools/libStaticMirror/CMakeLists.txt -+++ b/swift/tools/libStaticMirror/CMakeLists.txt -@@ -29,6 +29,10 @@ add_llvm_symbol_exports(libStaticMirror ${LLVM_EXPORTED_SYMBOL_FILE}) - # Adds -dead_strip option - add_link_opts(libStaticMirror) - -+if(SWIFT_HOST_VARIANT_SDK MATCHES "LINUX|ANDROID|OPENBSD|FREEBSD" AND SWIFT_USE_LINKER STREQUAL "lld") -+ target_link_options(libStaticMirror PRIVATE "LINKER:-z,nostart-stop-gc") -+endif() -+ - add_dependencies(static-mirror-lib libStaticMirror) - swift_install_in_component(TARGETS libStaticMirror - ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_LIB_SUBDIR}" COMPONENT static-mirror-lib ---- a/swift/tools/libSwiftScan/CMakeLists.txt -+++ b/swift/tools/libSwiftScan/CMakeLists.txt -@@ -67,6 +67,10 @@ add_llvm_symbol_exports(libSwiftScan ${LLVM_EXPORTED_SYMBOL_FILE}) - # Adds -dead_strip option - add_link_opts(libSwiftScan) - -+if(SWIFT_HOST_VARIANT_SDK MATCHES "LINUX|ANDROID|OPENBSD|FREEBSD" AND SWIFT_USE_LINKER STREQUAL "lld") -+ target_link_options(libSwiftScan PRIVATE "LINKER:-z,nostart-stop-gc") -+endif() -+ - add_dependencies(compiler libSwiftScan) diff --git a/dev-lang/swift/files/swift-5.10.1-r5/lldb-cmake-minimum-version.patch b/dev-lang/swift/files/swift-5.10.1-r5/lldb-cmake-minimum-version.patch deleted file mode 100644 index 1e29f956cef6..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/lldb-cmake-minimum-version.patch +++ /dev/null @@ -1,15 +0,0 @@ -# The LLDB Python bindings rely on CMake to find Python, and by default, CMake -# tries to use the newest Python version found on disk. To get CMake to respect -# the version of Python set up by `python_setup`, we to set -# `-DPython3_FIND_UNVERSIONED_NAMES=FIRST`, which is only available from CMake -# 3.20. (Even if the `cmake` executable is a newer version, it still relies on -# `cmake_minimum_required` for feature testing.) - ---- a/llvm-project/lldb/CMakeLists.txt -+++ b/llvm-project/lldb/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 3.13.4) -+cmake_minimum_required(VERSION 3.20) - - # Add path for custom modules. - set(CMAKE_MODULE_PATH diff --git a/dev-lang/swift/files/swift-5.10.1-r5/respect-c-cxx-flags.patch b/dev-lang/swift/files/swift-5.10.1-r5/respect-c-cxx-flags.patch deleted file mode 100644 index f52d54277545..000000000000 --- a/dev-lang/swift/files/swift-5.10.1-r5/respect-c-cxx-flags.patch +++ /dev/null @@ -1,64 +0,0 @@ -# CMake automatically reads `CFLAGS`, `CXXFLAGS`, `LDFLAGS`, etc. from the -# environment and uses them to populate its default flag variables -- but the -# Swift build system blows away `CMAKE_C{XX}_FLAGS` without picking up the -# environment. These need to be picked up again to not be ignored. - ---- a/swift/utils/build-script-impl -+++ b/swift/utils/build-script-impl -@@ -1820,10 +1820,10 @@ for host in "${ALL_HOSTS[@]}"; do - - cmake_options=( - "${cmake_options[@]}" -- -DCMAKE_C_FLAGS="$(swift_c_flags ${host})" -- -DCMAKE_CXX_FLAGS="$(swift_c_flags ${host})" -- -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -DNDEBUG" -- -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -DNDEBUG" -+ -DCMAKE_C_FLAGS="${CFLAGS} $(swift_c_flags ${host})" -+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} $(swift_c_flags ${host})" -+ -DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS} -O2 -DNDEBUG" -+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="${CXXFLAGS} -O2 -DNDEBUG" - -DCMAKE_BUILD_TYPE:STRING="${SWIFT_BUILD_TYPE}" - -DLLVM_ENABLE_ASSERTIONS:BOOL=$(true_false "${SWIFT_ENABLE_ASSERTIONS}") - -DBOOTSTRAPPING_MODE:STRING=$(to_bootstrapping_mode "${BOOTSTRAPPING}") -@@ -2215,8 +2215,8 @@ for host in "${ALL_HOSTS[@]}"; do - cmake_options=( - "${cmake_options[@]}" - -C${LLDB_SOURCE_DIR}/cmake/caches/${cmake_cache} -- -DCMAKE_C_FLAGS="$(llvm_c_flags ${host})" -- -DCMAKE_CXX_FLAGS="$(llvm_c_flags ${host})" -+ -DCMAKE_C_FLAGS="${CFLAGS} $(llvm_c_flags ${host})" -+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} $(llvm_c_flags ${host})" - -DCMAKE_BUILD_TYPE:STRING="${LLDB_BUILD_TYPE}" - -DLLDB_SWIFTC:PATH=${SWIFTC_BIN} - -DLLDB_SWIFT_LIBS:PATH="$(build_directory ${LOCAL_HOST} swift)/lib/swift" ---- a/swift/utils/swift_build_support/swift_build_support/products/llvm.py -+++ b/swift/utils/swift_build_support/swift_build_support/products/llvm.py -@@ -261,10 +261,10 @@ class LLVM(cmake_product.CMakeProduct): - # llvm/tools, e.g. to build LLDB. - - llvm_c_flags = ' '.join(self.llvm_c_flags(platform, arch)) -- llvm_cmake_options.define('CMAKE_C_FLAGS', llvm_c_flags) -- llvm_cmake_options.define('CMAKE_CXX_FLAGS', llvm_c_flags) -- llvm_cmake_options.define('CMAKE_C_FLAGS_RELWITHDEBINFO', '-O2 -DNDEBUG') -- llvm_cmake_options.define('CMAKE_CXX_FLAGS_RELWITHDEBINFO', '-O2 -DNDEBUG') -+ llvm_cmake_options.define('CMAKE_C_FLAGS', ' '.join([os.environ.get('CFLAGS', ''), llvm_c_flags])) -+ llvm_cmake_options.define('CMAKE_CXX_FLAGS', ' '.join([os.environ.get('CXXFLAGS', ''), llvm_c_flags])) -+ llvm_cmake_options.define('CMAKE_C_FLAGS_RELWITHDEBINFO', ' '.join([os.environ.get('CFLAGS', ''), '-O2 -DNDEBUG'])) -+ llvm_cmake_options.define('CMAKE_CXX_FLAGS_RELWITHDEBINFO', ' '.join([os.environ.get('CXXFLAGS', ''), '-O2 -DNDEBUG'])) - llvm_cmake_options.define('CMAKE_BUILD_TYPE:STRING', - self.args.llvm_build_variant) - llvm_cmake_options.define('LLVM_TOOL_SWIFT_BUILD:BOOL', 'FALSE') ---- a/swift/utils/swift_build_support/swift_build_support/products/product.py -+++ b/swift/utils/swift_build_support/swift_build_support/products/product.py -@@ -440,8 +440,8 @@ class Product(object): - - (platform, arch) = host_target.split('-') - common_c_flags = ' '.join(self.common_cross_c_flags(platform, arch)) -- self.cmake_options.define('CMAKE_C_FLAGS', common_c_flags) -- self.cmake_options.define('CMAKE_CXX_FLAGS', common_c_flags) -+ self.cmake_options.define('CMAKE_C_FLAGS', ' '.join([os.environ.get('CFLAGS', ''), common_c_flags])) -+ self.cmake_options.define('CMAKE_CXX_FLAGS', ' '.join([os.environ.get('CXXFLAGS', ''), common_c_flags])) - - toolchain_file = None - if self.is_darwin_host(host_target): - diff --git a/dev-lang/swift/files/swift-6.0.3-r2/backtracing-noexecstack.patch b/dev-lang/swift/files/swift-6.0.3-r2/backtracing-noexecstack.patch deleted file mode 120000 index 5149cb1feb49..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/backtracing-noexecstack.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-5.10.1-r5/backtracing-noexecstack.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.0.3-r2/disable-libdispatch-private-header-check.patch b/dev-lang/swift/files/swift-6.0.3-r2/disable-libdispatch-private-header-check.patch deleted file mode 100644 index ad16770b747b..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/disable-libdispatch-private-header-check.patch +++ /dev/null @@ -1,23 +0,0 @@ -# `DispatchGlobalExecutor` checks for the presence of `dispatch/private.h` for -# certain low-level libdispatch functionality, and because the header is -# normally only available on Darwin platforms (it is never installed as part of -# a normal Swift build on any platform), makes certain assumptions about -# symbols available there. However, `dev-libs/libdispatch` explicitly installs -# private headers system-wide for `gnustep-base/libobjc2`, and those get picked -# up during the Swift build. Because of the structure of the header on Linux, -# anyone who has `dev-libs/libdispatch` installed will fail to build. - ---- a/swift/stdlib/public/Concurrency/DispatchGlobalExecutor.inc -+++ b/swift/stdlib/public/Concurrency/DispatchGlobalExecutor.inc -@@ -33,11 +33,6 @@ - #endif - #endif - --#if __has_include(<dispatch/private.h>) --#include <dispatch/private.h> --#define SWIFT_CONCURRENCY_HAS_DISPATCH_PRIVATE 1 --#endif -- - // Ensure that Job's layout is compatible with what Dispatch expects. - // Note: MinimalDispatchObjectHeader just has the fields we care about, it is - // not complete and should not be used for anything other than these asserts. diff --git a/dev-lang/swift/files/swift-6.0.3-r2/disable-libdispatch-werror.patch b/dev-lang/swift/files/swift-6.0.3-r2/disable-libdispatch-werror.patch deleted file mode 100644 index 3257019a8229..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/disable-libdispatch-werror.patch +++ /dev/null @@ -1,11 +0,0 @@ -# Packages should not have `-Werror` unconditionally enabled. - ---- a/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -+++ b/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -@@ -6,7 +6,6 @@ elseif(WIN32) - # so that we can use __popcnt64 - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-fms-extensions>) - else() -- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>) - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>) - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>) diff --git a/dev-lang/swift/files/swift-6.0.3-r2/gentoo.ini b/dev-lang/swift/files/swift-6.0.3-r2/gentoo.ini deleted file mode 100644 index 0d7b63b387eb..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/gentoo.ini +++ /dev/null @@ -1,43 +0,0 @@ -# Individual preset options: -# -# 1. mixin-preset: building for Linux, without compiler assertions, and with -# most tests disabled -# 2. build-ninja=0, skip-build-curl, skip-build-zlib: we'd prefer to pick these -# up from the system -# 3. extra-cmake-options: -# * -DLLVM_USE_LINKER, -DCLANG_DEFAULT_LINKER: build LLVM, clang, Swift, et. -# al. to link using lld, and ensure Clang uses it as its default -# * -DBUILD_TESTING, -DSWIFT_INCLUDE_TESTS, -DSWIFT_INCLUDE_TEST_BINARIES: -# the `no_test` preset disables building most, but not all tests; we don't -# need to build any of them -# * -DCOMPILER_RT_BUILD_ORC: the `compiler-rt` library defaults to building -# the ORC LLVM JIT library, which we don't require; we disable it because -# it builds with executable stacks, which trip up warnings on installation -# * -DPython3_FIND_UNVERSIONED_NAMES: LLDB ships with Python bindings, and -# uses CMake to search for Python. By default, CMake tries to find the -# latest version installed on disk (currently, `python3.13`, then -# `python3.12`, then...). This might not be the version of Python specified -# by `PYTHON_SINGLE_TARGET`, which we want to respect. We use -# `python_setup` to place `${EPYTHON}` at the front of `PATH` as the -# unversioned `python3`, so we want CMake to discover and use this binary -# first before falling back to its search -# 5. llvm-targets-to-build: we don't currently support architectures other than -# amd64, so there's no point in building LLVM for multiple architectures; if -# this changes (or we start supporting cross-compilation), we'll need to -# build for more than just the host - -[preset: gentoo] -mixin-preset=buildbot_linux,no_assertions,no_test -build-ninja=0 -extra-cmake-options= - -DLLVM_USE_LINKER:STRING=lld - -DCLANG_DEFAULT_LINKER:STRING=lld - -DBUILD_TESTING:BOOL=NO - -DSWIFT_INCLUDE_TESTS:BOOL=NO - -DSWIFT_INCLUDE_TEST_BINARIES:BOOL=NO - -DCOMPILER_RT_BUILD_ORC:BOOL=NO - -DPython3_FIND_UNVERSIONED_NAMES:STRING=FIRST -llvm-targets-to-build=host -skip-build-curl -skip-build-zlib - diff --git a/dev-lang/swift/files/swift-6.0.3-r2/indexstoredb-constant.patch b/dev-lang/swift/files/swift-6.0.3-r2/indexstoredb-constant.patch deleted file mode 100644 index b693a0c0dcc8..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/indexstoredb-constant.patch +++ /dev/null @@ -1,19 +0,0 @@ -# Prior to C23, the C standard restricts enum values to the range of `int`; -# relaxing this is a GNU extension that Clang follows. On LLVM-profile systems, -# though, this appears to not be enabled by default, causing Clang to complain -# that `1 << 63` is not a compile-time expression (since it overflows an `int` -# and can't be computed at compile-time). This can be suppressed by causing the -# enum to be interpreted explicitly as containing `unsigned long long` values -# instead. - ---- a/indexstore-db/include/CIndexStoreDB/CIndexStoreDB.h -+++ b/indexstore-db/include/CIndexStoreDB/CIndexStoreDB.h -@@ -82,7 +82,7 @@ typedef enum { - INDEXSTOREDB_SYMBOL_ROLE_REL_IBTYPEOF = 1 << 17, - INDEXSTOREDB_SYMBOL_ROLE_REL_SPECIALIZATIONOF = 1 << 18, - -- INDEXSTOREDB_SYMBOL_ROLE_CANONICAL = 1 << 63, -+ INDEXSTOREDB_SYMBOL_ROLE_CANONICAL = 1ULL << 63, - } indexstoredb_symbol_role_t; - - typedef enum { diff --git a/dev-lang/swift/files/swift-6.0.3-r2/link-ncurses-tinfo.patch b/dev-lang/swift/files/swift-6.0.3-r2/link-ncurses-tinfo.patch deleted file mode 100644 index 1a0f6fa2e639..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/link-ncurses-tinfo.patch +++ /dev/null @@ -1,188 +0,0 @@ -# Various Swift components require linking against `curses`; Gentoo doesn't -# `curses` as an alias for `ncurses`, so we have to link against `ncurses` -# explicitly. `ncurses` on Gentoo also doesn't expose the `curses` terminfo -# database interface (e.g., `set_curterm`, `del_curterm`, etc.), so we have to -# also explicitly link against `tinfo`. - ---- a/swift/utils/test-prefix-map/Makefile -+++ b/swift/utils/test-prefix-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/PrefixMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/swift/utils/test-successor-map/Makefile -+++ b/swift/utils/test-successor-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/SuccessorMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/llbuild/Package.swift -+++ b/llbuild/Package.swift -@@ -227,7 +227,8 @@ let package = Package( - path: "lib/llvm/Support", - linkerSettings: [ - .linkedLibrary("m", .when(platforms: [.linux])), -- .linkedLibrary("ncurses", .when(platforms: [.linux, .macOS, .android]))] -+ .linkedLibrary("ncurses", .when(platforms: [.linux, .macOS, .android])), -+ .linkedLibrary("tinfo", .when(platforms: [.linux]))] - ), - ], - cxxLanguageStandard: .cxx14 ---- a/llbuild/lib/llvm/Support/CMakeLists.txt -+++ b/llbuild/lib/llvm/Support/CMakeLists.txt -@@ -64,6 +64,4 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - execinfo) - endif() - --if(${CMAKE_SYSTEM_NAME} MATCHES "Android|Darwin|Linux") -- target_link_libraries(llvmSupport PRIVATE curses) --endif() -+target_link_libraries(llvmSupport PRIVATE ncurses tinfo) ---- a/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -+++ b/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -@@ -33,7 +33,8 @@ target_link_libraries(XcodePerfTests PRIVATE - llbuildNinja - llbuildBuildSystem - llbuildCommands -- curses -+ ncurses -+ tinfo - SQLite::SQLite3 - "${MACOSX_SDK_PATH}/System/Library/Frameworks/Foundation.framework" - "${MACOSX_PLATFORM_PATH}/Developer/Library/Frameworks/XCTest.framework" ---- a/llbuild/products/libllbuild/CMakeLists.txt -+++ b/llbuild/products/libllbuild/CMakeLists.txt -@@ -28,7 +28,7 @@ endif() - - if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows) - target_link_libraries(libllbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() - - target_include_directories(libllbuild -@@ -79,7 +79,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - llbuildNinja - llvmSupport - SQLite::SQLite3 -- curses) -+ ncurses tinfo) - - # Manually set up the remaining framework structure. - set(LLBUILD_FW_INPUTS) ---- a/llbuild/products/llbuild/CMakeLists.txt -+++ b/llbuild/products/llbuild/CMakeLists.txt -@@ -16,5 +16,5 @@ endif() - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(llbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/products/swift-build-tool/CMakeLists.txt -+++ b/llbuild/products/swift-build-tool/CMakeLists.txt -@@ -10,7 +10,7 @@ target_link_libraries(swift-build-tool PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(swift-build-tool PRIVATE -- curses) -+ ncurses tinfo) - endif() - - install(TARGETS swift-build-tool ---- a/llbuild/tests/lit.site.cfg.in -+++ b/llbuild/tests/lit.site.cfg.in -@@ -21,7 +21,7 @@ config.sqlite_library = "@SQLite3_LIBRARY@" - if sys.platform == 'Windows': - config.curses_library = '' - else: -- config.curses_library = '-lcurses' -+ config.curses_library = '-lncurses -ltinfo' - config.threads_library = "@CMAKE_THREAD_LIBS_INIT@" - if "@CMAKE_DL_LIBS@": - config.dl_library = "-l@CMAKE_DL_LIBS@" ---- a/llbuild/unittests/Basic/CMakeLists.txt -+++ b/llbuild/unittests/Basic/CMakeLists.txt -@@ -14,5 +14,5 @@ target_link_libraries(BasicTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BasicTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/BuildSystem/CMakeLists.txt -+++ b/llbuild/unittests/BuildSystem/CMakeLists.txt -@@ -16,5 +16,5 @@ target_link_libraries(BuildSystemTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BuildSystemTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/CAPI/CMakeLists.txt -+++ b/llbuild/unittests/CAPI/CMakeLists.txt -@@ -15,5 +15,5 @@ target_link_libraries(CAPITests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CAPITests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/CAS/CMakeLists.txt -+++ b/llbuild/unittests/CAS/CMakeLists.txt -@@ -8,6 +8,6 @@ target_link_libraries(CASTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CASTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Core/CMakeLists.txt -+++ b/llbuild/unittests/Core/CMakeLists.txt -@@ -15,6 +15,6 @@ target_link_libraries(CoreTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CoreTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Evo/CMakeLists.txt -+++ b/llbuild/unittests/Evo/CMakeLists.txt -@@ -11,6 +11,6 @@ target_link_libraries(EvoTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(EvoTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Ninja/CMakeLists.txt -+++ b/llbuild/unittests/Ninja/CMakeLists.txt -@@ -8,5 +8,5 @@ target_link_libraries(NinjaTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(NinjaTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/utils/adjust-times/CMakeLists.txt -+++ b/llbuild/utils/adjust-times/CMakeLists.txt -@@ -7,5 +7,5 @@ target_link_libraries(adjust-times PRIVATE llvmSupport) - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(adjust-times PRIVATE -- curses) -+ ncurses tinfo) - endif() diff --git a/dev-lang/swift/files/swift-6.0.3-r2/link-with-lld.patch b/dev-lang/swift/files/swift-6.0.3-r2/link-with-lld.patch deleted file mode 100644 index b79d338f57a7..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/link-with-lld.patch +++ /dev/null @@ -1,44 +0,0 @@ -# Swift defaults to building with `gold` on Linux because `bfd` can't correctly -# handle Swift symbols; Gentoo no longer supports `gold`, so we have to make -# sure that we build with `lld`. - ---- a/swift/lib/Driver/UnixToolChains.cpp -+++ b/swift/lib/Driver/UnixToolChains.cpp -@@ -109,36 +109,7 @@ ToolChain::InvocationInfo toolchains::GenericUnix::constructInvocation( - return II; - } - --std::string toolchains::GenericUnix::getDefaultLinker() const { -- if (getTriple().isAndroid() -- || (getTriple().isMusl() -- && getTriple().getVendor() == llvm::Triple::Swift)) -- return "lld"; -- -- switch (getTriple().getArch()) { -- case llvm::Triple::arm: -- case llvm::Triple::aarch64: -- case llvm::Triple::aarch64_32: -- case llvm::Triple::armeb: -- case llvm::Triple::thumb: -- case llvm::Triple::thumbeb: -- // BFD linker has issues wrt relocation of the protocol conformance -- // section on these targets, it also generates COPY relocations for -- // final executables, as such, unless specified, we default to gold -- // linker. -- return "gold"; -- case llvm::Triple::x86: -- case llvm::Triple::x86_64: -- case llvm::Triple::ppc64: -- case llvm::Triple::ppc64le: -- case llvm::Triple::systemz: -- // BFD linker has issues wrt relocations against protected symbols. -- return "gold"; -- default: -- // Otherwise, use the default BFD linker. -- return ""; -- } --} -+std::string toolchains::GenericUnix::getDefaultLinker() const { return "lld"; } - - bool toolchains::GenericUnix::addRuntimeRPath(const llvm::Triple &T, - const llvm::opt::ArgList &Args) const { diff --git a/dev-lang/swift/files/swift-6.0.3-r2/respect-c-cxx-flags.patch b/dev-lang/swift/files/swift-6.0.3-r2/respect-c-cxx-flags.patch deleted file mode 120000 index f397c8209f60..000000000000 --- a/dev-lang/swift/files/swift-6.0.3-r2/respect-c-cxx-flags.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-5.10.1-r5/respect-c-cxx-flags.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.1.3/backtracing-noexecstack.patch b/dev-lang/swift/files/swift-6.1.3/backtracing-noexecstack.patch deleted file mode 120000 index ea790374ede3..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/backtracing-noexecstack.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-6.0.3-r2/backtracing-noexecstack.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.1.3/disable-libdispatch-private-header-check.patch b/dev-lang/swift/files/swift-6.1.3/disable-libdispatch-private-header-check.patch deleted file mode 100644 index 1426f9f63a96..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/disable-libdispatch-private-header-check.patch +++ /dev/null @@ -1,23 +0,0 @@ -# `DispatchGlobalExecutor` checks for the presence of `dispatch/private.h` for -# certain low-level libdispatch functionality, and because the header is -# normally only available on Darwin platforms (it is never installed as part of -# a normal Swift build on any platform), makes certain assumptions about -# symbols available there. However, `dev-libs/libdispatch` explicitly installs -# private headers system-wide for `gnustep-base/libobjc2`, and those get picked -# up during the Swift build. Because of the structure of the header on Linux, -# anyone who has `dev-libs/libdispatch` installed will fail to build. - ---- a/swift/stdlib/public/Concurrency/DispatchGlobalExecutor.cpp -+++ b/swift/stdlib/public/Concurrency/DispatchGlobalExecutor.cpp -@@ -45,11 +45,6 @@ - #endif - #endif - --#if __has_include(<dispatch/private.h>) --#include <dispatch/private.h> --#define SWIFT_CONCURRENCY_HAS_DISPATCH_PRIVATE 1 --#endif -- - #include "Error.h" - #include "ExecutorImpl.h" - #include "TaskPrivate.h" diff --git a/dev-lang/swift/files/swift-6.1.3/disable-libdispatch-werror.patch b/dev-lang/swift/files/swift-6.1.3/disable-libdispatch-werror.patch deleted file mode 100644 index 962073f4c400..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/disable-libdispatch-werror.patch +++ /dev/null @@ -1,12 +0,0 @@ -# Packages should not have `-Werror` unconditionally enabled. - ---- a/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -+++ b/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -@@ -6,7 +6,6 @@ - # so that we can use __popcnt64 - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-fms-extensions>) - else() -- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>) - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>) - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>) - diff --git a/dev-lang/swift/files/swift-6.1.3/fix-issues-caused-by-build-system-updates.patch b/dev-lang/swift/files/swift-6.1.3/fix-issues-caused-by-build-system-updates.patch deleted file mode 100644 index 726ce2327aa7..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/fix-issues-caused-by-build-system-updates.patch +++ /dev/null @@ -1,87 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Fix issues caused by build system updates. - -This includes fixes for issues caused by the following updates: - -- GCC 15 (specifically, changes in libstdc++) -- GNU libc C library 2.42 - -Specifically, the following is changed: - -- Added missing includes of the `<cstdint>` header [1] -- Removed deprecated `struct termio` [2] -- Removed a redundant include of the `<math.h>` header [3] - -[1] See https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2 -[2] See https://github.com/swiftlang/llvm-project/commit/59978b21ad9c65276ee8e14f26759691b8a65763 -[3] See https://github.com/swiftlang/swift/issues/81774 - -Bug: https://bugs.gentoo.org/945025 - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc -+++ b/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); ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp -+++ b/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); ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h -+++ b/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; ---- a/swift/stdlib/include/llvm/ADT/SmallVector.h -+++ b/swift/stdlib/include/llvm/ADT/SmallVector.h -@@ -22,6 +22,7 @@ - #include <cassert> - #include <cstddef> - #include <cstdlib> -+#include <cstdint> - #include <cstring> - #include <functional> - #include <initializer_list> ---- a/swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h -+++ b/swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h -@@ -51,10 +51,6 @@ - #include <locale.h> - #endif - --#if __has_include(<math.h>) --#include <math.h> --#endif -- - #if __has_include(<signal.h>) - /// Guard against including `signal.h` on WASI. The `signal.h` header file - /// itself is available in wasi-libc, but it's just a stub that doesn't actually diff --git a/dev-lang/swift/files/swift-6.1.3/gentoo.ini b/dev-lang/swift/files/swift-6.1.3/gentoo.ini deleted file mode 100644 index bf91330351d3..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/gentoo.ini +++ /dev/null @@ -1,50 +0,0 @@ -# Individual preset options: -# -# 1. mixin-preset: building for Linux, without compiler assertions, and with -# most tests disabled -# 2. build-ninja=0, skip-build-curl, skip-build-zlib: we'd prefer to pick these -# up from the system -# 3. extra-cmake-options: -# * -DLLVM_USE_LINKER, -DCLANG_DEFAULT_LINKER: build LLVM, clang, Swift, et. -# al. to link using lld, and ensure Clang uses it as its default -# * -DBUILD_TESTING, -DSWIFT_INCLUDE_TESTS, -DSWIFT_INCLUDE_TEST_BINARIES: -# the `no_test` preset disables building most, but not all tests; we don't -# need to build any of them -# * -DCOMPILER_RT_BUILD_ORC: the `compiler-rt` library defaults to building -# the ORC LLVM JIT library, which we don't require; we disable it because -# it builds with executable stacks, which trip up warnings on installation -# * -DPython3_FIND_UNVERSIONED_NAMES: LLDB ships with Python bindings, and -# uses CMake to search for Python. By default, CMake tries to find the -# latest version installed on disk (currently, `python3.13`, then -# `python3.12`, then...). This might not be the version of Python specified -# by `PYTHON_SINGLE_TARGET`, which we want to respect. We use -# `python_setup` to place `${EPYTHON}` at the front of `PATH` as the -# unversioned `python3`, so we want CMake to discover and use this binary -# first before falling back to its search -# 5. llvm-targets-to-build: we don't currently support architectures other than -# amd64, so there's no point in building LLVM for multiple architectures; if -# this changes (or we start supporting cross-compilation), we'll need to -# build for more than just the host -# 6. build-wasm-stdlib=0, wasmkit=0: the Swift Wasm targets are currently -# experimental, and supporting them requires supporting cross-compilation. -# (An additional wrinkle is that Gentoo CFLAGS/CXXFLAGS/etc. typically -# contain an `-march` flag, which isn't valid for cross-compiling to the Wasm -# target triple, but stripping it out for just the Wasm target is tricky with -# Swift's build system) - -[preset: gentoo] -mixin-preset=buildbot_linux,no_assertions,no_test -build-ninja=0 -build-wasm-stdlib=0 -extra-cmake-options= - -DLLVM_USE_LINKER:STRING=lld - -DCLANG_DEFAULT_LINKER:STRING=lld - -DBUILD_TESTING:BOOL=NO - -DSWIFT_INCLUDE_TESTS:BOOL=NO - -DSWIFT_INCLUDE_TEST_BINARIES:BOOL=NO - -DCOMPILER_RT_BUILD_ORC:BOOL=NO - -DPython3_FIND_UNVERSIONED_NAMES:STRING=FIRST -llvm-targets-to-build=host -skip-build-curl -skip-build-zlib -wasmkit=0 diff --git a/dev-lang/swift/files/swift-6.1.3/link-ncurses-tinfo.patch b/dev-lang/swift/files/swift-6.1.3/link-ncurses-tinfo.patch deleted file mode 100644 index 64094f425953..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/link-ncurses-tinfo.patch +++ /dev/null @@ -1,169 +0,0 @@ -# Various Swift components require linking against `curses`; Gentoo doesn't -# `curses` as an alias for `ncurses`, so we have to link against `ncurses` -# explicitly. `ncurses` on Gentoo also doesn't expose the `curses` terminfo -# database interface (e.g., `set_curterm`, `del_curterm`, etc.), so we have to -# also explicitly link against `tinfo`. - ---- a/swift/utils/test-prefix-map/Makefile -+++ b/swift/utils/test-prefix-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/PrefixMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/swift/utils/test-successor-map/Makefile -+++ b/swift/utils/test-successor-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/SuccessorMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/llbuild/Package.swift -+++ b/llbuild/Package.swift -@@ -28,7 +28,10 @@ let terminfoLibraries: [LinkerSetting] = { - if !useTerminfo { - return [] - } -- return [.linkedLibrary("ncurses", .when(platforms: [.linux, .macOS]))] -+ return [ -+ .linkedLibrary("ncurses", .when(platforms: [.linux, .macOS])), -+ .linkedLibrary("tinfo", .when(platforms: [.linux])), -+ ] - }() - - let package = Package( ---- a/llbuild/lib/llvm/Support/CMakeLists.txt -+++ b/llbuild/lib/llvm/Support/CMakeLists.txt -@@ -65,5 +65,5 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") - endif() - - if(${CMAKE_SYSTEM_NAME} MATCHES "Android|Darwin|Linux") -- target_link_libraries(llvmSupport PRIVATE curses) -+ target_link_libraries(llvmSupport PRIVATE ncurses tinfo) - endif() ---- a/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -+++ b/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -@@ -33,7 +33,8 @@ target_link_libraries(XcodePerfTests PRIVATE - llbuildNinja - llbuildBuildSystem - llbuildCommands -- curses -+ ncurses -+ tinfo - SQLite::SQLite3 - "${MACOSX_SDK_PATH}/System/Library/Frameworks/Foundation.framework" - "${MACOSX_PLATFORM_PATH}/Developer/Library/Frameworks/XCTest.framework" ---- a/llbuild/products/libllbuild/CMakeLists.txt -+++ b/llbuild/products/libllbuild/CMakeLists.txt -@@ -28,7 +28,7 @@ endif() - - if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows) - target_link_libraries(libllbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() - - target_include_directories(libllbuild -@@ -79,7 +79,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - llbuildNinja - llvmSupport - SQLite::SQLite3 -- curses) -+ ncurses tinfo) - - # Manually set up the remaining framework structure. - set(LLBUILD_FW_INPUTS) ---- a/llbuild/products/llbuild/CMakeLists.txt -+++ b/llbuild/products/llbuild/CMakeLists.txt -@@ -16,5 +16,5 @@ endif() - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(llbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/products/swift-build-tool/CMakeLists.txt -+++ b/llbuild/products/swift-build-tool/CMakeLists.txt -@@ -10,7 +10,7 @@ target_link_libraries(swift-build-tool PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(swift-build-tool PRIVATE -- curses) -+ ncurses tinfo) - endif() - - install(TARGETS swift-build-tool ---- a/llbuild/tests/lit.site.cfg.in -+++ b/llbuild/tests/lit.site.cfg.in -@@ -21,7 +21,7 @@ config.sqlite_library = "@SQLite3_LIBRARY@" - if sys.platform == 'Windows': - config.curses_library = '' - else: -- config.curses_library = '-lcurses' -+ config.curses_library = '-lncurses -ltinfo' - config.threads_library = "@CMAKE_THREAD_LIBS_INIT@" - if "@CMAKE_DL_LIBS@": - config.dl_library = "-l@CMAKE_DL_LIBS@" ---- a/llbuild/unittests/Basic/CMakeLists.txt -+++ b/llbuild/unittests/Basic/CMakeLists.txt -@@ -14,5 +14,5 @@ target_link_libraries(BasicTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BasicTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/BuildSystem/CMakeLists.txt -+++ b/llbuild/unittests/BuildSystem/CMakeLists.txt -@@ -16,5 +16,5 @@ target_link_libraries(BuildSystemTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BuildSystemTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/CAPI/CMakeLists.txt -+++ b/llbuild/unittests/CAPI/CMakeLists.txt -@@ -15,5 +15,5 @@ target_link_libraries(CAPITests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CAPITests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/Core/CMakeLists.txt -+++ b/llbuild/unittests/Core/CMakeLists.txt -@@ -15,6 +15,6 @@ target_link_libraries(CoreTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CoreTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Ninja/CMakeLists.txt -+++ b/llbuild/unittests/Ninja/CMakeLists.txt -@@ -8,5 +8,5 @@ target_link_libraries(NinjaTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(NinjaTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/utils/adjust-times/CMakeLists.txt -+++ b/llbuild/utils/adjust-times/CMakeLists.txt -@@ -7,5 +7,5 @@ target_link_libraries(adjust-times PRIVATE llvmSupport) - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(adjust-times PRIVATE -- curses) -+ ncurses tinfo) - endif() diff --git a/dev-lang/swift/files/swift-6.1.3/link-with-lld.patch b/dev-lang/swift/files/swift-6.1.3/link-with-lld.patch deleted file mode 100644 index e675851709c4..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/link-with-lld.patch +++ /dev/null @@ -1,44 +0,0 @@ -# Swift defaults to building with `gold` on Linux because `bfd` can't correctly -# handle Swift symbols; Gentoo no longer supports `gold`, so we have to make -# sure that we build with `lld`. - ---- a/swift/lib/Driver/UnixToolChains.cpp -+++ b/swift/lib/Driver/UnixToolChains.cpp -@@ -102,36 +102,7 @@ bool isAmazonLinux2023Host() { - return false; - } - --std::string toolchains::GenericUnix::getDefaultLinker() const { -- if (getTriple().isAndroid() || isAmazonLinux2023Host() -- || (getTriple().isMusl() -- && getTriple().getVendor() == llvm::Triple::Swift)) -- return "lld"; -- -- switch (getTriple().getArch()) { -- case llvm::Triple::arm: -- case llvm::Triple::aarch64: -- case llvm::Triple::aarch64_32: -- case llvm::Triple::armeb: -- case llvm::Triple::thumb: -- case llvm::Triple::thumbeb: -- // BFD linker has issues wrt relocation of the protocol conformance -- // section on these targets, it also generates COPY relocations for -- // final executables, as such, unless specified, we default to gold -- // linker. -- return "gold"; -- case llvm::Triple::x86: -- case llvm::Triple::x86_64: -- case llvm::Triple::ppc64: -- case llvm::Triple::ppc64le: -- case llvm::Triple::systemz: -- // BFD linker has issues wrt relocations against protected symbols. -- return "gold"; -- default: -- // Otherwise, use the default BFD linker. -- return ""; -- } --} -+std::string toolchains::GenericUnix::getDefaultLinker() const { return "lld"; } - - bool toolchains::GenericUnix::addRuntimeRPath(const llvm::Triple &T, - const llvm::opt::ArgList &Args) const { diff --git a/dev-lang/swift/files/swift-6.1.3/respect-c-cxx-flags.patch b/dev-lang/swift/files/swift-6.1.3/respect-c-cxx-flags.patch deleted file mode 100644 index ddeef4dd1c07..000000000000 --- a/dev-lang/swift/files/swift-6.1.3/respect-c-cxx-flags.patch +++ /dev/null @@ -1,63 +0,0 @@ -# CMake automatically reads `CFLAGS`, `CXXFLAGS`, `LDFLAGS`, etc. from the -# environment and uses them to populate its default flag variables -- but the -# Swift build system blows away `CMAKE_C{XX}_FLAGS` without picking up the -# environment. These need to be picked up again to not be ignored. - ---- a/swift/utils/build-script-impl -+++ b/swift/utils/build-script-impl -@@ -1819,10 +1819,10 @@ for host in "${ALL_HOSTS[@]}"; do - - cmake_options=( - "${cmake_options[@]}" -- -DCMAKE_C_FLAGS="$(swift_c_flags ${host})" -- -DCMAKE_CXX_FLAGS="$(swift_c_flags ${host})" -- -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -DNDEBUG" -- -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -DNDEBUG" -+ -DCMAKE_C_FLAGS="${CFLAGS} $(swift_c_flags ${host})" -+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} $(swift_c_flags ${host})" -+ -DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS} -O2 -DNDEBUG" -+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="${CXXFLAGS} -O2 -DNDEBUG" - -DCMAKE_BUILD_TYPE:STRING="${SWIFT_BUILD_TYPE}" - -DLLVM_ENABLE_ASSERTIONS:BOOL=$(true_false "${SWIFT_ENABLE_ASSERTIONS}") - -DSWIFT_ANALYZE_CODE_COVERAGE:STRING=$(toupper "${SWIFT_ANALYZE_CODE_COVERAGE}") -@@ -2229,8 +2229,8 @@ for host in "${ALL_HOSTS[@]}"; do - cmake_options=( - "${cmake_options[@]}" - -C${LLDB_SOURCE_DIR}/cmake/caches/${cmake_cache} -- -DCMAKE_C_FLAGS="$(llvm_c_flags ${host})" -- -DCMAKE_CXX_FLAGS="$(llvm_c_flags ${host})" -+ -DCMAKE_C_FLAGS="${CFLAGS} $(llvm_c_flags ${host})" -+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} $(llvm_c_flags ${host})" - -DCMAKE_BUILD_TYPE:STRING="${LLDB_BUILD_TYPE}" - -DLLDB_SWIFTC:PATH=${SWIFTC_BIN} - -DLLDB_SWIFT_LIBS:PATH="$(build_directory ${LOCAL_HOST} swift)/lib/swift" ---- a/swift/utils/swift_build_support/swift_build_support/products/llvm.py -+++ b/swift/utils/swift_build_support/swift_build_support/products/llvm.py -@@ -284,10 +284,10 @@ class LLVM(cmake_product.CMakeProduct): - # llvm/tools, e.g. to build LLDB. - - llvm_c_flags = ' '.join(self.llvm_c_flags(platform, arch)) -- llvm_cmake_options.define('CMAKE_C_FLAGS', llvm_c_flags) -- llvm_cmake_options.define('CMAKE_CXX_FLAGS', llvm_c_flags) -- llvm_cmake_options.define('CMAKE_C_FLAGS_RELWITHDEBINFO', '-O2 -DNDEBUG') -- llvm_cmake_options.define('CMAKE_CXX_FLAGS_RELWITHDEBINFO', '-O2 -DNDEBUG') -+ llvm_cmake_options.define('CMAKE_C_FLAGS', ' '.join([os.environ.get('CFLAGS', ''), llvm_c_flags])) -+ llvm_cmake_options.define('CMAKE_CXX_FLAGS', ' '.join([os.environ.get('CXXFLAGS', ''), llvm_c_flags])) -+ llvm_cmake_options.define('CMAKE_C_FLAGS_RELWITHDEBINFO', ' '.join([os.environ.get('CFLAGS', ''), '-O2 -DNDEBUG'])) -+ llvm_cmake_options.define('CMAKE_CXX_FLAGS_RELWITHDEBINFO', ' '.join([os.environ.get('CXXFLAGS', ''), '-O2 -DNDEBUG'])) - llvm_cmake_options.define('CMAKE_BUILD_TYPE:STRING', - self.args.llvm_build_variant) - llvm_cmake_options.define('LLVM_TOOL_SWIFT_BUILD:BOOL', 'FALSE') ---- a/swift/utils/swift_build_support/swift_build_support/products/product.py -+++ b/swift/utils/swift_build_support/swift_build_support/products/product.py -@@ -450,8 +450,8 @@ class Product(object): - - (platform, arch) = host_target.split('-') - common_c_flags = ' '.join(self.common_cross_c_flags(platform, arch)) -- self.cmake_options.define('CMAKE_C_FLAGS', common_c_flags) -- self.cmake_options.define('CMAKE_CXX_FLAGS', common_c_flags) -+ self.cmake_options.define('CMAKE_C_FLAGS', ' '.join([os.environ.get('CFLAGS', ''), common_c_flags])) -+ self.cmake_options.define('CMAKE_CXX_FLAGS', ' '.join([os.environ.get('CXXFLAGS', ''), common_c_flags])) - - toolchain_file = None - if self.is_darwin_host(host_target): diff --git a/dev-lang/swift/files/swift-6.2.4/backtracing-noexecstack.patch b/dev-lang/swift/files/swift-6.2.4/backtracing-noexecstack.patch deleted file mode 100644 index e9d9bd1269d5..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/backtracing-noexecstack.patch +++ /dev/null @@ -1,15 +0,0 @@ -# The Swift backtracer needs to get CPU context information when producing -# backtraces, which is necessarily written in assembly. Because it tries to be -# portable, it doesn't include a note indicating that the assembled binary -# doesn't require an executable stack; we need to include one explicitly to turn -# it off. - ---- a/swift/stdlib/public/RuntimeModule/get-cpu-context.S -+++ b/swift/stdlib/public/RuntimeModule/get-cpu-context.S -@@ -140,3 +140,6 @@ FN(_swift_get_cpu_context): - bx lr - #endif - -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif diff --git a/dev-lang/swift/files/swift-6.2.4/disable-libdispatch-private-header-check.patch b/dev-lang/swift/files/swift-6.2.4/disable-libdispatch-private-header-check.patch deleted file mode 100644 index f608b4cf5df0..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/disable-libdispatch-private-header-check.patch +++ /dev/null @@ -1,23 +0,0 @@ -# `DispatchGlobalExecutor` checks for the presence of `dispatch/private.h` for -# certain low-level libdispatch functionality, and because the header is -# normally only available on Darwin platforms (it is never installed as part of -# a normal Swift build on any platform), makes certain assumptions about -# symbols available there. However, `dev-libs/libdispatch` explicitly installs -# private headers system-wide for `gnustep-base/libobjc2`, and those get picked -# up during the Swift build. Because of the structure of the header on Linux, -# anyone who has `dev-libs/libdispatch` installed will fail to build. - ---- a/swift/stdlib/public/Concurrency/DispatchGlobalExecutor.cpp -+++ b/swift/stdlib/public/Concurrency/DispatchGlobalExecutor.cpp -@@ -46,11 +46,6 @@ - #endif - #endif - --#if __has_include(<dispatch/private.h>) --#include <dispatch/private.h> --#define SWIFT_CONCURRENCY_HAS_DISPATCH_PRIVATE 1 --#endif -- - #include "Error.h" - #include "ExecutorImpl.h" - #include "TaskPrivate.h" diff --git a/dev-lang/swift/files/swift-6.2.4/disable-libdispatch-werror.patch b/dev-lang/swift/files/swift-6.2.4/disable-libdispatch-werror.patch deleted file mode 100644 index 3d7b1c836bad..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/disable-libdispatch-werror.patch +++ /dev/null @@ -1,11 +0,0 @@ -# Packages should not have `-Werror` unconditionally enabled. - ---- a/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -+++ b/swift-corelibs-libdispatch/cmake/modules/DispatchCompilerWarnings.cmake -@@ -6,7 +6,6 @@ elseif(WIN32) - # so that we can use __popcnt64 - add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-fms-extensions>) - else() -- add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Werror>) - add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wall>) - add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-Wextra>) diff --git a/dev-lang/swift/files/swift-6.2.4/fix-issues-caused-by-build-system-updates.patch b/dev-lang/swift/files/swift-6.2.4/fix-issues-caused-by-build-system-updates.patch deleted file mode 100644 index 53be2cb6541c..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/fix-issues-caused-by-build-system-updates.patch +++ /dev/null @@ -1,96 +0,0 @@ -From: Pavel Sobolev <contact@paveloom.dev> -Subject: [PATCH] Fix issues caused by build system updates. - -This includes fixes for issues caused by the following updates: - -- GCC 15 (specifically, changes in libstdc++) -- GNU libc C library 2.42 - -Specifically, the following is changed: - -- Added missing includes of the `<cstdint>` header [1] -- Removed deprecated `struct termio` [2] -- Removed a redundant include of the `<math.h>` header [3] - -[1] See https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2 -[2] See https://github.com/swiftlang/llvm-project/commit/59978b21ad9c65276ee8e14f26759691b8a65763 -[3] See https://github.com/swiftlang/swift/issues/81774 - -Bug: https://bugs.gentoo.org/945025 - -Signed-off-by: Pavel Sobolev <contact@paveloom.dev> - ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc -+++ b/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); ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp -+++ b/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); ---- a/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h -+++ b/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; ---- a/swift/lib/AST/FunctionRefInfo.cpp -+++ b/swift/lib/AST/FunctionRefInfo.cpp -@@ -14,6 +14,7 @@ - // - //===----------------------------------------------------------------------===// - -+#include <cstdint> - #include "swift/AST/FunctionRefInfo.h" - #include "swift/AST/DeclNameLoc.h" - #include "swift/AST/Identifier.h"/// itself is available in wasi-libc, but it's just a stub that doesn't actually ---- a/swift/stdlib/include/llvm/ADT/SmallVector.h -+++ b/swift/stdlib/include/llvm/ADT/SmallVector.h -@@ -22,6 +22,7 @@ - #include <cassert> - #include <cstddef> - #include <cstdlib> -+#include <cstdint> - #include <cstring> - #include <functional> - #include <initializer_list> ---- a/swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h -+++ b/swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h -@@ -51,10 +51,6 @@ - #include <locale.h> - #endif - --#if __has_include(<math.h>) --#include <math.h> --#endif -- - #if __has_include(<signal.h>) - /// Guard against including `signal.h` on WASI. The `signal.h` header file diff --git a/dev-lang/swift/files/swift-6.2.4/gentoo.ini b/dev-lang/swift/files/swift-6.2.4/gentoo.ini deleted file mode 120000 index cd4b21c872df..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/gentoo.ini +++ /dev/null @@ -1 +0,0 @@ -../swift-6.1.3/gentoo.ini
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.2.4/link-ncurses-tinfo.patch b/dev-lang/swift/files/swift-6.2.4/link-ncurses-tinfo.patch deleted file mode 100644 index e236c53c37dd..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/link-ncurses-tinfo.patch +++ /dev/null @@ -1,183 +0,0 @@ -# Various Swift components require linking against `curses`; Gentoo doesn't use -# `curses` as an alias for `ncurses`, so we have to link against `ncurses` -# explicitly. `ncurses` on Gentoo also doesn't expose the `curses` terminfo -# database interface (e.g., `set_curterm`, `del_curterm`, etc.), so we have to -# also explicitly link against `tinfo`. - ---- a/swift/utils/test-clustered-bit-vector/Makefile -+++ b/swift/utils/test-clustered-bit-vector/Makefile -@@ -5,7 +5,7 @@ HEADERS=${SRCROOT}/tools/swift/include/swift/Basic/ClusteredBitVector.h - SOURCES=${SRCROOT}/tools/swift/lib/Basic/ClusteredBitVector.cpp - - generator: generator.cpp ${HEADERS} ${SOURCES} -- xcrun clang++ -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lcurses generator.cpp ${SOURCES} -o generator -+ xcrun clang++ -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lncurses -ltinfo generator.cpp ${SOURCES} -o generator - - test: test.cpp ${HEADERS} ${SOURCES} -- xcrun clang++ -g -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lcurses test.cpp ${SOURCES} -o test -+ xcrun clang++ -g -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lncurses -ltinfo test.cpp ${SOURCES} -o test ---- a/swift/utils/test-prefix-map/Makefile -+++ b/swift/utils/test-prefix-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/PrefixMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/swift/utils/test-successor-map/Makefile -+++ b/swift/utils/test-successor-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/SuccessorMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/llbuild/Package.swift -+++ b/llbuild/Package.swift -@@ -31,7 +31,10 @@ let terminfoLibraries: [LinkerSetting] = { - #if os(FreeBSD) || os(OpenBSD) - return [.linkedLibrary("ncurses")] - #else -- return [.linkedLibrary("ncurses", .when(platforms: [.linux, .macOS]))] -+ return [ -+ .linkedLibrary("ncurses", .when(platforms: [.linux, .macOS])), -+ .linkedLibrary("tinfo", .when(platforms: [.linux])) -+ ] - #endif - }() - ---- a/llbuild/lib/llvm/Support/CMakeLists.txt -+++ b/llbuild/lib/llvm/Support/CMakeLists.txt -@@ -65,7 +65,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|OpenBSD") - endif() - - if(${CMAKE_SYSTEM_NAME} MATCHES "Android|Darwin|Linux|FreeBSD") -- target_link_libraries(llvmSupport PRIVATE curses) -+ target_link_libraries(llvmSupport PRIVATE ncurses tinfo) - endif() - - set_property(GLOBAL APPEND PROPERTY LLBuild_EXPORTS llvmSupport) ---- a/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -+++ b/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -@@ -33,7 +33,8 @@ target_link_libraries(XcodePerfTests PRIVATE - llbuildNinja - llbuildBuildSystem - llbuildCommands -- curses -+ ncurses -+ tinfo - SQLite::SQLite3 - "${MACOSX_SDK_PATH}/System/Library/Frameworks/Foundation.framework" - "${MACOSX_PLATFORM_PATH}/Developer/Library/Frameworks/XCTest.framework" ---- a/llbuild/products/libllbuild/CMakeLists.txt -+++ b/llbuild/products/libllbuild/CMakeLists.txt -@@ -28,7 +28,7 @@ endif() - - if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows) - target_link_libraries(libllbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() - - target_include_directories(libllbuild -@@ -80,7 +80,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - llbuildNinja - llvmSupport - SQLite::SQLite3 -- curses) -+ ncurses tinfo) - - # Manually set up the remaining framework structure. - set(LLBUILD_FW_INPUTS) ---- a/llbuild/products/llbuild/CMakeLists.txt -+++ b/llbuild/products/llbuild/CMakeLists.txt -@@ -16,5 +16,5 @@ endif() - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(llbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/products/swift-build-tool/CMakeLists.txt -+++ b/llbuild/products/swift-build-tool/CMakeLists.txt -@@ -10,7 +10,7 @@ target_link_libraries(swift-build-tool PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(swift-build-tool PRIVATE -- curses) -+ ncurses tinfo) - endif() - - install(TARGETS swift-build-tool ---- a/llbuild/tests/lit.site.cfg.in -+++ b/llbuild/tests/lit.site.cfg.in -@@ -21,7 +21,7 @@ config.sqlite_library = "@SQLite3_LIBRARY@" - if sys.platform == 'Windows': - config.curses_library = '' - else: -- config.curses_library = '-lcurses' -+ config.curses_library = '-lncurses -ltinfo' - config.threads_library = "@CMAKE_THREAD_LIBS_INIT@" - if "@CMAKE_DL_LIBS@": - config.dl_library = "-l@CMAKE_DL_LIBS@" ---- a/llbuild/unittests/Basic/CMakeLists.txt -+++ b/llbuild/unittests/Basic/CMakeLists.txt -@@ -14,5 +14,5 @@ target_link_libraries(BasicTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BasicTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/BuildSystem/CMakeLists.txt -+++ b/llbuild/unittests/BuildSystem/CMakeLists.txt -@@ -16,5 +16,5 @@ target_link_libraries(BuildSystemTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BuildSystemTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/CAPI/CMakeLists.txt -+++ b/llbuild/unittests/CAPI/CMakeLists.txt -@@ -15,5 +15,5 @@ target_link_libraries(CAPITests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CAPITests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/Core/CMakeLists.txt -+++ b/llbuild/unittests/Core/CMakeLists.txt -@@ -15,6 +15,6 @@ target_link_libraries(CoreTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CoreTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Ninja/CMakeLists.txt -+++ b/llbuild/unittests/Ninja/CMakeLists.txt -@@ -8,5 +8,5 @@ target_link_libraries(NinjaTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(NinjaTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/utils/adjust-times/CMakeLists.txt -+++ b/llbuild/utils/adjust-times/CMakeLists.txt -@@ -7,5 +7,5 @@ target_link_libraries(adjust-times PRIVATE llvmSupport) - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(adjust-times PRIVATE -- curses) -+ ncurses tinfo) - endif() diff --git a/dev-lang/swift/files/swift-6.2.4/link-with-lld.patch b/dev-lang/swift/files/swift-6.2.4/link-with-lld.patch deleted file mode 100644 index 67eb1135043c..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/link-with-lld.patch +++ /dev/null @@ -1,15 +0,0 @@ -# Swift defaults to building with `gold` on Linux because `bfd` can't correctly -# handle Swift symbols; Gentoo no longer supports `gold`, so we have to make -# sure that we build with `lld`. - ---- a/swift/lib/Driver/UnixToolChains.cpp -+++ b/swift/lib/Driver/UnixToolChains.cpp -@@ -88,7 +88,7 @@ ToolChain::InvocationInfo toolchains::GenericUnix::constructInvocation( - } - - std::string toolchains::GenericUnix::getDefaultLinker() const { -- return ""; -+ return "lld"; - } - - bool toolchains::GenericUnix::addRuntimeRPath(const llvm::Triple &T, diff --git a/dev-lang/swift/files/swift-6.2.4/respect-c-cxx-flags.patch b/dev-lang/swift/files/swift-6.2.4/respect-c-cxx-flags.patch deleted file mode 120000 index 66226b499b9d..000000000000 --- a/dev-lang/swift/files/swift-6.2.4/respect-c-cxx-flags.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-6.1.3/respect-c-cxx-flags.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.3-r1/backtracing-noexecstack.patch b/dev-lang/swift/files/swift-6.3-r1/backtracing-noexecstack.patch deleted file mode 120000 index 53e861a53aa5..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/backtracing-noexecstack.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-6.2.4/backtracing-noexecstack.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.3-r1/disable-libdispatch-private-header-check.patch b/dev-lang/swift/files/swift-6.3-r1/disable-libdispatch-private-header-check.patch deleted file mode 120000 index 91eef1a2d64b..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/disable-libdispatch-private-header-check.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-6.2.4/disable-libdispatch-private-header-check.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.3-r1/disable-libdispatch-werror.patch b/dev-lang/swift/files/swift-6.3-r1/disable-libdispatch-werror.patch deleted file mode 120000 index 38daca3006b9..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/disable-libdispatch-werror.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-6.2.4/disable-libdispatch-werror.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.3-r1/fix-issues-caused-by-build-system-updates.patch b/dev-lang/swift/files/swift-6.3-r1/fix-issues-caused-by-build-system-updates.patch deleted file mode 100644 index 10610171f2b0..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/fix-issues-caused-by-build-system-updates.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/swift/lib/AST/FunctionRefInfo.cpp -+++ b/swift/lib/AST/FunctionRefInfo.cpp -@@ -14,6 +14,7 @@ - // - //===----------------------------------------------------------------------===// - -+#include <cstdint> - #include "swift/AST/FunctionRefInfo.h" - #include "swift/AST/DeclNameLoc.h" - #include "swift/AST/Identifier.h"/// itself is available in wasi-libc, but it's just a stub that doesn't actually ---- a/swift/stdlib/include/llvm/ADT/SmallVector.h -+++ b/swift/stdlib/include/llvm/ADT/SmallVector.h -@@ -22,6 +22,7 @@ - #include <cassert> - #include <cstddef> - #include <cstdlib> -+#include <cstdint> - #include <cstring> - #include <functional> - #include <initializer_list> ---- a/swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h -+++ b/swift-foundation/Sources/_FoundationCShims/include/_CStdlib.h -@@ -51,10 +51,6 @@ - #include <locale.h> - #endif - --#if __has_include(<math.h>) --#include <math.h> --#endif -- - #if __has_include(<signal.h>) - /// Guard against including `signal.h` on WASI. The `signal.h` header file diff --git a/dev-lang/swift/files/swift-6.3-r1/gentoo.ini b/dev-lang/swift/files/swift-6.3-r1/gentoo.ini deleted file mode 120000 index cd4b21c872df..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/gentoo.ini +++ /dev/null @@ -1 +0,0 @@ -../swift-6.1.3/gentoo.ini
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.3-r1/link-ncurses-tinfo.patch b/dev-lang/swift/files/swift-6.3-r1/link-ncurses-tinfo.patch deleted file mode 100644 index f3aee3483271..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/link-ncurses-tinfo.patch +++ /dev/null @@ -1,174 +0,0 @@ -# Various Swift components require linking against `curses`; Gentoo doesn't use -# `curses` as an alias for `ncurses`, so we have to link against `ncurses` -# explicitly. `ncurses` on Gentoo also doesn't expose the `curses` terminfo -# database interface (e.g., `set_curterm`, `del_curterm`, etc.), so we have to -# also explicitly link against `tinfo`. - ---- a/swift/utils/test-clustered-bit-vector/Makefile -+++ b/swift/utils/test-clustered-bit-vector/Makefile -@@ -5,7 +5,7 @@ HEADERS=${SRCROOT}/tools/swift/include/swift/Basic/ClusteredBitVector.h - SOURCES=${SRCROOT}/tools/swift/lib/Basic/ClusteredBitVector.cpp - - generator: generator.cpp ${HEADERS} ${SOURCES} -- xcrun clang++ -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lcurses generator.cpp ${SOURCES} -o generator -+ xcrun clang++ -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lncurses -ltinfo generator.cpp ${SOURCES} -o generator - - test: test.cpp ${HEADERS} ${SOURCES} -- xcrun clang++ -g -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lcurses test.cpp ${SOURCES} -o test -+ xcrun clang++ -g -std=c++11 -stdlib=libc++ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I${OBJROOT}/include -I${SRCROOT}/include -I${SRCROOT}/tools/swift/include -L${OBJROOT}/lib -lLLVMSupport -lncurses -ltinfo test.cpp ${SOURCES} -o test ---- a/swift/utils/test-prefix-map/Makefile -+++ b/swift/utils/test-prefix-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/lib -lswiftBasic -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/PrefixMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/swift/utils/test-successor-map/Makefile -+++ b/swift/utils/test-successor-map/Makefile -@@ -11,7 +11,7 @@ CXXFLAGS = -std=c++11 \ - -I$(objroot)/tools/clang/include \ - -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS - --LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lcurses -+LDFLAGS = -L$(objroot)/Debug+Asserts/lib -lLLVMSupport -lncurses -ltinfo - - main: main.cpp $(srcroot)/tools/swift/include/swift/Basic/SuccessorMap.h - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o main main.cpp ---- a/llbuild/Package.swift -+++ b/llbuild/Package.swift -@@ -31,7 +31,10 @@ let terminfoLibraries: [LinkerSetting] = { - #if os(FreeBSD) || os(OpenBSD) - return [.linkedLibrary("ncurses")] - #else -- return [.linkedLibrary("ncurses", .when(platforms: [.linux, .macOS]))] -+ return [ -+ .linkedLibrary("ncurses", .when(platforms: [.linux, .macOS])), -+ .linkedLibrary("tinfo", .when(platforms: [.linux])) -+ ] - #endif - }() - ---- a/llbuild/lib/llvm/Support/CMakeLists.txt -+++ b/llbuild/lib/llvm/Support/CMakeLists.txt -@@ -65,7 +65,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|OpenBSD") - endif() - - if(${CMAKE_SYSTEM_NAME} MATCHES "Android|Darwin|Linux|FreeBSD") -- target_link_libraries(llvmSupport PRIVATE curses) -+ target_link_libraries(llvmSupport PRIVATE ncurses tinfo) - endif() - - set_property(GLOBAL APPEND PROPERTY LLBuild_EXPORTS llvmSupport) ---- a/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -+++ b/llbuild/perftests/Xcode/PerfTests/CMakeLists.txt -@@ -33,7 +33,8 @@ target_link_libraries(XcodePerfTests PRIVATE - llbuildNinja - llbuildBuildSystem - llbuildCommands -- curses -+ ncurses -+ tinfo - SQLite::SQLite3 - "${MACOSX_SDK_PATH}/System/Library/Frameworks/Foundation.framework" - "${MACOSX_PLATFORM_PATH}/Developer/Library/Frameworks/XCTest.framework" ---- a/llbuild/products/libllbuild/CMakeLists.txt -+++ b/llbuild/products/libllbuild/CMakeLists.txt -@@ -23,7 +23,7 @@ target_link_libraries(llbuild PRIVATE - - if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows) - target_link_libraries(llbuild PRIVATE -- curses) -+ ncurses tinfo) - endif() - - target_include_directories(llbuild ---- a/llbuild/products/llbuild/CMakeLists.txt -+++ b/llbuild/products/llbuild/CMakeLists.txt -@@ -15,5 +15,5 @@ set_target_properties(llbuild-tool PROPERTIES - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(llbuild-tool PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/products/swift-build-tool/CMakeLists.txt -+++ b/llbuild/products/swift-build-tool/CMakeLists.txt -@@ -10,7 +10,7 @@ target_link_libraries(swift-build-tool PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(swift-build-tool PRIVATE -- curses) -+ ncurses tinfo) - endif() - - install(TARGETS swift-build-tool ---- a/llbuild/tests/lit.site.cfg.in -+++ b/llbuild/tests/lit.site.cfg.in -@@ -21,7 +21,7 @@ config.sqlite_library = "@SQLite3_LIBRARY@" - if sys.platform == 'Windows': - config.curses_library = '' - else: -- config.curses_library = '-lcurses' -+ config.curses_library = '-lncurses -ltinfo' - config.threads_library = "@CMAKE_THREAD_LIBS_INIT@" - if "@CMAKE_DL_LIBS@": - config.dl_library = "-l@CMAKE_DL_LIBS@" ---- a/llbuild/unittests/Basic/CMakeLists.txt -+++ b/llbuild/unittests/Basic/CMakeLists.txt -@@ -14,5 +14,5 @@ target_link_libraries(BasicTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BasicTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/BuildSystem/CMakeLists.txt -+++ b/llbuild/unittests/BuildSystem/CMakeLists.txt -@@ -16,5 +16,5 @@ target_link_libraries(BuildSystemTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(BuildSystemTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/CAPI/CMakeLists.txt -+++ b/llbuild/unittests/CAPI/CMakeLists.txt -@@ -15,5 +15,5 @@ target_link_libraries(CAPITests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CAPITests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/unittests/Core/CMakeLists.txt -+++ b/llbuild/unittests/Core/CMakeLists.txt -@@ -15,6 +15,6 @@ target_link_libraries(CoreTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(CoreTests PRIVATE -- curses) -+ ncurses tinfo) - endif() - ---- a/llbuild/unittests/Ninja/CMakeLists.txt -+++ b/llbuild/unittests/Ninja/CMakeLists.txt -@@ -8,5 +8,5 @@ target_link_libraries(NinjaTests PRIVATE - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(NinjaTests PRIVATE -- curses) -+ ncurses tinfo) - endif() ---- a/llbuild/utils/adjust-times/CMakeLists.txt -+++ b/llbuild/utils/adjust-times/CMakeLists.txt -@@ -7,5 +7,5 @@ target_link_libraries(adjust-times PRIVATE llvmSupport) - - if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(adjust-times PRIVATE -- curses) -+ ncurses tinfo) - endif() diff --git a/dev-lang/swift/files/swift-6.3-r1/link-with-lld.patch b/dev-lang/swift/files/swift-6.3-r1/link-with-lld.patch deleted file mode 120000 index 7aa6a52f6225..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/link-with-lld.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-6.2.4/link-with-lld.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.3-r1/respect-c-cxx-flags.patch b/dev-lang/swift/files/swift-6.3-r1/respect-c-cxx-flags.patch deleted file mode 120000 index 66226b499b9d..000000000000 --- a/dev-lang/swift/files/swift-6.3-r1/respect-c-cxx-flags.patch +++ /dev/null @@ -1 +0,0 @@ -../swift-6.1.3/respect-c-cxx-flags.patch
\ No newline at end of file diff --git a/dev-lang/swift/files/swift-6.3.1 b/dev-lang/swift/files/swift-6.3.1 deleted file mode 120000 index 492f2526cb10..000000000000 --- a/dev-lang/swift/files/swift-6.3.1 +++ /dev/null @@ -1 +0,0 @@ -swift-6.3-r1
\ No newline at end of file diff --git a/dev-lang/swift/metadata.xml b/dev-lang/swift/metadata.xml deleted file mode 100644 index e059c62b31e1..000000000000 --- a/dev-lang/swift/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>itai@itaiferber.net</email> - <name>Itai Ferber</name> - </maintainer> - <upstream> - <remote-id type="github">swiftlang/swift</remote-id> - </upstream> - <slots> - <slot name="0"> - The original slot for swift-5.10.1; should no longer be used. - </slot> - <slot name="5"> - The Swift 5 language, compiler, and tooling. - </slot> - <slot name="6"> - The Swift 6 language, compiler, and tooling. - </slot> - <subslots> - Minor Swift versions. - </subslots> - </slots> -</pkgmetadata> diff --git a/dev-lang/swift/swift-5.10.1-r5.ebuild b/dev-lang/swift/swift-5.10.1-r5.ebuild deleted file mode 100644 index 19f599e93c74..000000000000 --- a/dev-lang/swift/swift-5.10.1-r5.ebuild +++ /dev/null @@ -1,397 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..21} ) -PYTHON_COMPAT=( python3_{13..14} ) -inherit flag-o-matic llvm-r2 python-single-r1 - -DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language" -HOMEPAGE="https://www.swift.org" - -SRC_URI=" - https://github.com/apple/swift-argument-parser/archive/refs/tags/1.2.3.tar.gz -> swift-argument-parser-1.2.3.tar.gz - https://github.com/apple/swift-asn1/archive/refs/tags/1.0.0.tar.gz -> swift-asn1-1.0.0.tar.gz - https://github.com/apple/swift-atomics/archive/refs/tags/1.0.2.tar.gz -> swift-atomics-1.0.2.tar.gz - https://github.com/apple/swift-certificates/archive/refs/tags/1.0.1.tar.gz -> swift-certificates-1.0.1.tar.gz - https://github.com/apple/swift-collections/archive/refs/tags/1.0.5.tar.gz -> swift-collections-1.0.5.tar.gz - https://github.com/apple/swift-crypto/archive/refs/tags/3.0.0.tar.gz -> swift-crypto-3.0.0.tar.gz - https://github.com/apple/swift-nio-ssl/archive/refs/tags/2.15.0.tar.gz -> swift-nio-ssl-2.15.0.tar.gz - https://github.com/apple/swift-nio/archive/refs/tags/2.31.2.tar.gz -> swift-nio-2.31.2.tar.gz - https://github.com/apple/swift-numerics/archive/refs/tags/1.0.1.tar.gz -> swift-numerics-1.0.1.tar.gz - https://github.com/apple/swift-system/archive/refs/tags/1.1.1.tar.gz -> swift-system-1.1.1.tar.gz - https://github.com/apple/swift-xcode-playground-support/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-xcode-playground-support-${PV}.tar.gz - https://github.com/jpsim/Yams/archive/refs/tags/5.0.1.tar.gz -> Yams-5.0.1.tar.gz - https://github.com/swiftlang/indexstore-db/archive/refs/tags/${P}-RELEASE.tar.gz -> indexstore-db-${PV}.tar.gz - https://github.com/swiftlang/llvm-project/archive/refs/tags/${P}-RELEASE.tar.gz -> llvm-project-${PV}.tar.gz - https://github.com/swiftlang/sourcekit-lsp/archive/refs/tags/${P}-RELEASE.tar.gz -> sourcekit-lsp-${PV}.tar.gz - https://github.com/swiftlang/swift-cmark/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-cmark-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-libdispatch/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-libdispatch-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-xctest/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-xctest-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-render-artifact/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-render-artifact-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-symbolkit/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-symbolkit-${PV}.tar.gz - https://github.com/swiftlang/swift-docc/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-${PV}.tar.gz - https://github.com/swiftlang/swift-driver/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-driver-${PV}.tar.gz - https://github.com/swiftlang/swift-experimental-string-processing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-experimental-string-processing-${PV}.tar.gz - https://github.com/swiftlang/swift-format/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-format-${PV}.tar.gz - https://github.com/swiftlang/swift-installer-scripts/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-installer-scripts-${PV}.tar.gz - https://github.com/swiftlang/swift-integration-tests/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-integration-tests-${PV}.tar.gz - https://github.com/swiftlang/swift-llbuild/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llbuild-${PV}.tar.gz - https://github.com/swiftlang/swift-llvm-bindings/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llvm-bindings-${PV}.tar.gz - https://github.com/swiftlang/swift-lmdb/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-lmdb-${PV}.tar.gz - https://github.com/swiftlang/swift-markdown/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-markdown-${PV}.tar.gz - https://github.com/swiftlang/swift-package-manager/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-package-manager-${PV}.tar.gz - https://github.com/swiftlang/swift-stress-tester/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-stress-tester-${PV}.tar.gz - https://github.com/swiftlang/swift-syntax/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-syntax-${PV}.tar.gz - https://github.com/swiftlang/swift-tools-support-core/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-tools-support-core-${PV}.tar.gz - https://github.com/swiftlang/swift/archive/refs/tags/${P}-RELEASE.tar.gz -> ${P}.tar.gz -" - -PATCHES=( - "${FILESDIR}/${PF}/backport-swift-75662.patch" - "${FILESDIR}/${PF}/backtracing-noexecstack.patch" - "${FILESDIR}/${PF}/clang-indexstore-exports.patch" - "${FILESDIR}/${PF}/disable-libdispatch-werror.patch" - "${FILESDIR}/${PF}/fix-issues-caused-by-build-system-updates.patch" - "${FILESDIR}/${PF}/link-ncurses-tinfo.patch" - "${FILESDIR}/${PF}/link-with-lld.patch" - "${FILESDIR}/${PF}/lldb-cmake-minimum-version.patch" - "${FILESDIR}/${PF}/respect-c-cxx-flags.patch" -) - -S="${WORKDIR}" -LICENSE="Apache-2.0" -SLOT="5/10" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="strip" - -RDEPEND=" - ${PYTHON_DEPS} - >=app-arch/zstd-1.5 - >=app-eselect/eselect-swift-1.0-r1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=net-misc/curl-8.4 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3:= - dev-lang/python - $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}=') -" - -BDEPEND=" - ${PYTHON_DEPS} - >=dev-build/cmake-3.24.2 - >=dev-build/ninja-1.11 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=dev-vcs/git-2.39 - >=sys-apps/coreutils-9 - >=sys-devel/gcc-11 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3:= - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/lld:${LLVM_SLOT}= - ') - dev-lang/python - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_{12..13}) -" - -PKG_PREINST_SWIFT_INTENTIONALLY_SET='true' - -# Adapted from `flag-o-matic.eclass`'s `raw-ldflags`: turns GCC-style flags -# (`-Wl,-foo`) into Clang-style flags (`-Xlinker -foo`). -clang-ldflags() { - local flag input="$@" - [[ -z ${input} ]] && input=${LDFLAGS} - set -- - for flag in ${input//,/ } ; do - case ${flag} in - -Wl) ;; - *) set -- "$@" "-Xlinker ${flag}" ;; - esac - done - echo "$@" -} - -pkg_setup() { - # Sets `${EPYTHON}` according to `PYTHON_SINGLE_TARGET`, sets up - # `${T}/${EPYTHON}` with that version, and adds it to the `PATH`. - python_setup - - # Sets up `PATH` to point to the appropriate LLVM toolchain. - llvm-r2_pkg_setup -} - -src_unpack() { - default - - # The Swift project expects a specific directory structure that we have to - # match. For most directories, it's enough to trim the version number at the - # end: - find "${S}" \ - -mindepth 1 -maxdepth 1 \ - -execdir sh -c \ - "mv '{}' \"\$(echo '{}' | sed -e 's_-\(swift-5\.10\.1-RELEASE\|\([0-9]\+\.\)*[0-9]\+\)\$__' | tr '[:upper:]' '[:lower:]')\"" ';' \ - || die - - # Some one-off fixups: - pushd "${S}" \ - && mv 'swift-cmark' 'cmark' \ - && mv 'swift-llbuild' 'llbuild' \ - && mv 'swift-package-manager' 'swiftpm' \ - && popd \ - || die -} - -src_configure() { - # `llvm-r2_pkg_setup` sets these tools to their absolute paths, but we need - # to still pick them up dynamically based on `PATH` for stage1 and stage2 - # builds below (to keep all parts of the Swift toolchain compiling with the - # same internal tools). - export CC="clang" - export CXX="clang++" - export LD="ld.lld" - - # Swift builds with CMake, which picks up `LDFLAGS` from the environment and - # populates `CMAKE_EXE_LINKER_FLAGS` with them. `LDFLAGS` are typically - # given as GCC-style flags (`-Wl,foo`), which Clang understands; - # unfortunately, CMake passes these flags to all compilers under the - # assumption they support the same syntax, but `swiftc` _only_ understands - # Clang-style flags (`-Xlinker -foo`). In order to pass `LDFLAGS` in, we - # have to turn them into a format that `swiftc` will understand. - # - # We can do this because we know we're compiling with Clang specifically. - export LDFLAGS="$(clang-ldflags)" - - # Bug 949266 - # Swift 5 requires building against `libstdc++`, but when building with - # `llvm-core/clang-common[default-libcxx]` (e.g., on the LLVM profile), LLVM - # and Clang default to `libc++`. This leads to some symbols getting picked - # up from `libc++` and others from `libstdc++`, leading to linker failures. - # This requires forcing the usage of `libstdc++` to build consistently. - append-cxxflags '-stdlib=libstdc++' -} - -src_compile() { - # The Swift 5.10 compiler is partially written in Swift itself (the new - # `swift-driver` + macro support via `swift-syntax`), which requires - # bootstrapping with an existing Swift compiler. - # - # We don't have an existing Swift compiler, but we can bootstrap it with - # itself in a 3-stage process: - # - # 0. We'll build LLVM+Clang and a bare Swift compiler with the old C++-based - # driver and no macro support - # 1. We'll use that bare compiler to build a base compiler with the new - # Swift-based driver and macro support, with some base libs - # 2. We'll then use that base compiler to build a full Swift toolchain with - # all necessary libs - # - # Build products will be intentionally shared between stages as much as - # possible to avoid unnecessary repeated compilation. - - # Building swift-driver writes to this directory for some reason, but the - # contents are irrelevant. - addpredict /var/lib/portage/home/.swiftpm - - # Setting `-j<n>`/`--jobs=<n>` in MAKEOPTS needs to be manually exposed to - # the Swift build system. - local jobs_flag - if [[ -n "${MAKEOPTS}" ]]; then - local num_jobs make_opts=( $(getopt -qu -o 'j:' -l 'jobs:' -- ${MAKEOPTS}) ) - while [[ "${#make_opts[@]}" -gt 1 ]]; do - case "${make_opts[0]}" in - -j | --jobs ) - num_jobs="${make_opts[1]}" - make_opts=("${make_opts[@]:2}") ;; - -- ) break ;; - * ) make_opts=("${make_opts[@]:1}") ;; - esac - done - - if [[ -n "${num_jobs}" ]]; then - jobs_flag="--jobs=${num_jobs}" - fi - fi - - local _extra_cmake_options=( - # BFD doesn't link Swift symbols properly, so we have to ensure Swift is - # built with LLD. - '-DSWIFT_USE_LINKER=lld', - '-DLLVM_USE_LINKER=lld', - - # We don't need to build any test code or test executables, which Swift - # (and some components) does by default. - '-DBUILD_TESTING:BOOL=NO', - '-DSWIFT_INCLUDE_TESTS:BOOL=NO', - '-DSWIFT_INCLUDE_TEST_BINARIES:BOOL=NO', - - # The Clang `compiler-rt` library builds the LLVM ORC JIT component by - # default, which we don't need; the component builds with an executable - # stack, which we'd like to avoid. - '-DCOMPILER_RT_BUILD_ORC:BOOL=NO', - - # LLDB ships with Python bindings, and uses CMake to search for Python. - # By default, CMake tries to find the latest version of Python available - # on disk (currently `python3.13`, then `python3.12`, then...). This - # might not be the version of Python the rest of the system uses, or - # which is specified by `PYTHON_SINGLE_TARGET`. - # - # Since `python_setup` already places `${EPYTHON}` in the `PATH`, we can - # tell CMake to use the unversioned `python` rather than a versioned - # one to end up respecting `PYTHON_SINGLE_TARGET`. - '-DPython3_FIND_UNVERSIONED_NAMES=FIRST' - ) - local extra_cmake_options="$(IFS=,; echo "${_extra_cmake_options[*]}")" - - # stage0: - # * Bare Swift compiler (no bootstrapping; no Swift driver or macros) - # * LLVM+Clang; this is the only stage where these are built because as a - # base dependency, their flags never change, and the build products can be - # reused - "${S}/swift/utils/build-script" \ - --verbose-build \ - --release \ - --no-assertions \ - --build-subdir="Ninja-Release" \ - --install-destdir="${S}/stage0" \ - "${jobs_flag}" \ - --extra-cmake-options="${extra_cmake_options}" \ - --bootstrapping=off \ - --llvm-install-components='llvm-ar;llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;lld;LTO;clang-features-file' \ - --llvm-targets-to-build=host \ - --skip-build-benchmarks \ - --skip-early-swift-driver --skip-early-swiftsyntax \ - --skip-test-cmark \ - --skip-test-linux \ - --skip-test-swift \ - --install-all \ - || die - - # stage1: - # * Base Swift compiler and driver (bootstrapping from stage0; with macros) - # * Base libs: swift-driver depends on llbuild + swiftpm, which depend on - # Foundation + libdispatch + XCTest - local original_path="${PATH}" - export PATH="${S}/stage0/usr/bin:${original_path}" - "${S}/swift/utils/build-script" \ - --verbose-build \ - --release \ - --no-assertions \ - --build-subdir="Ninja-Release" \ - --install-destdir="${S}/stage1" \ - "${jobs_flag}" \ - --extra-cmake-options="${extra_cmake_options}" \ - --cmark --skip-test-cmark \ - --foundation --skip-test-foundation \ - --libdispatch --skip-test-libdispatch \ - --llbuild --skip-test-llbuild \ - --skip-build-benchmarks \ - --skip-build-llvm \ - --skip-test-linux \ - --skip-test-swift \ - --swift-driver --skip-test-swift-driver \ - --swiftpm --skip-test-swiftpm \ - --xctest --skip-test-xctest \ - --install-all \ - || die - - # stage2: full Swift toolchain (bootstrapping from stage1) - export PATH="${S}/stage1/usr/bin:${original_path}" - "${S}/swift/utils/build-script" \ - --verbose-build \ - --release \ - --no-assertions \ - --build-subdir="Ninja-Release" \ - --install-destdir="${S}/stage2" \ - "${jobs_flag}" \ - --extra-cmake-options="${extra_cmake_options}" \ - --foundation --skip-test-foundation \ - --indexstore-db --skip-test-indexstore-db \ - --libdispatch --skip-test-libdispatch \ - --llbuild --skip-test-llbuild \ - --lldb --skip-test-lldb \ - --skip-build-benchmarks \ - --skip-build-llvm \ - --skip-test-linux \ - --skip-test-swift \ - --sourcekit-lsp --skip-test-sourcekit-lsp \ - --swift-driver --skip-test-swift-driver \ - --swift-install-components='autolink-driver;compiler;clang-resource-dir-symlink;stdlib;swift-remote-mirror;sdk-overlay;static-mirror-lib;toolchain-tools;license;sourcekit-inproc' \ - --swiftdocc --skip-test-swiftdocc \ - --swiftpm --skip-test-swiftpm \ - --xctest --skip-test-xctest \ - --install-all \ - || die - - export PATH="${original_path}" -} - -src_install() { - # The Swift build output is intended to be self-contained, and is - # _significantly_ easier to leave as-is than attempt to splat onto the - # filesystem; we'll install the output versioned into `/usr/$(get_libdir)` - # and expose the relevant binaries via linking. - local dest_dir="/usr/$(get_libdir)/${P}" - mkdir -p "${ED}/${dest_dir}" \ - && cp -pPR "${S}/stage2/." "${ED}/${dest_dir}" \ - || die - - # We also want to provide a stable directory which matches our SLOT to avoid - # revdep breakages, as patch updates use the same SLOT but otherwise move - # the install location on disk. - # - # See https://bugs.gentoo.org/957730 - dosym -r "${dest_dir}" "/usr/$(get_libdir)/${PN}-$(ver_cut 1-2)" - - # Swift ships with its own `clang`, `lldb`, etc.; we don't want these to be - # exposed externally, so we'll just symlink Swift-specific binaries into - # `/usr/bin`. (The majority of executables don't need to be exposed as - # `swift <command>` calls `swift-<command>` directly.) - local bin - for bin in swift swiftc sourcekit-lsp; do - # We only install versioned symlinks; non-versioned links are maanged - # via `eselect swift`. - dosym -r "${dest_dir}/usr/bin/${bin}" "/usr/bin/${bin}-${PV}" - done -} - -pkg_preinst() { - # After installation, we ideally want the system to have the latest Swift - # version set -- but if the system already has a Swift version set and it - # isn't the latest version, that's likely an intentional decision that we - # don't want to override. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - local latest_swift_version="$(eselect swift show --latest | tail -n1 | xargs)" - [[ "${current_swift_version}" == '(unset)' ]] \ - || [[ "${current_swift_version}" == "${latest_swift_version}" ]] \ - && PKG_PREINST_SWIFT_INTENTIONALLY_SET='false' -} - -pkg_postinst() { - # If the system doesn't have Swift intentionally set to an older version, we - # can update to the latest. - if [[ "${PKG_PREINST_SWIFT_INTENTIONALLY_SET}" == 'false' ]]; then - eselect swift update - fi -} - -pkg_postrm() { - # We don't want to leave behind symlinks pointing to this Swift version on - # removal. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - if [[ "${current_swift_version}" == "${P}" ]]; then - eselect swift update - fi -} diff --git a/dev-lang/swift/swift-6.0.3-r2.ebuild b/dev-lang/swift/swift-6.0.3-r2.ebuild deleted file mode 100644 index 80ca3e7038c1..000000000000 --- a/dev-lang/swift/swift-6.0.3-r2.ebuild +++ /dev/null @@ -1,321 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..21} ) -PYTHON_COMPAT=( python3_{13..14} ) -inherit llvm-r2 python-single-r1 toolchain-funcs - -DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language" -HOMEPAGE="https://www.swift.org" - -SRC_URI=" - https://github.com/apple/swift-argument-parser/archive/refs/tags/1.2.3.tar.gz -> swift-argument-parser-1.2.3.tar.gz - https://github.com/apple/swift-asn1/archive/refs/tags/1.0.0.tar.gz -> swift-asn1-1.0.0.tar.gz - https://github.com/apple/swift-atomics/archive/refs/tags/1.2.0.tar.gz -> swift-atomics-1.2.0.tar.gz - https://github.com/apple/swift-certificates/archive/refs/tags/1.0.1.tar.gz -> swift-certificates-1.0.1.tar.gz - https://github.com/apple/swift-collections/archive/refs/tags/1.1.2.tar.gz -> swift-collections-1.1.2.tar.gz - https://github.com/apple/swift-crypto/archive/refs/tags/3.0.0.tar.gz -> swift-crypto-3.0.0.tar.gz - https://github.com/apple/swift-nio-ssl/archive/refs/tags/2.15.0.tar.gz -> swift-nio-ssl-2.15.0.tar.gz - https://github.com/apple/swift-nio/archive/refs/tags/2.31.2.tar.gz -> swift-nio-2.31.2.tar.gz - https://github.com/apple/swift-numerics/archive/refs/tags/1.0.2.tar.gz -> swift-numerics-1.0.2.tar.gz - https://github.com/apple/swift-system/archive/refs/tags/1.3.0.tar.gz -> swift-system-1.3.0.tar.gz - https://github.com/jpsim/Yams/archive/refs/tags/5.0.6.tar.gz -> Yams-5.0.6.tar.gz - https://github.com/swiftlang/indexstore-db/archive/refs/tags/${P}-RELEASE.tar.gz -> indexstore-db-${PV}.tar.gz - https://github.com/swiftlang/llvm-project/archive/refs/tags/${P}-RELEASE.tar.gz -> llvm-project-${PV}.tar.gz - https://github.com/swiftlang/sourcekit-lsp/archive/refs/tags/${P}-RELEASE.tar.gz -> sourcekit-lsp-${PV}.tar.gz - https://github.com/swiftlang/swift-cmark/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-cmark-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-libdispatch/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-libdispatch-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-xctest/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-xctest-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-render-artifact/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-render-artifact-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-symbolkit/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-symbolkit-${PV}.tar.gz - https://github.com/swiftlang/swift-docc/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-${PV}.tar.gz - https://github.com/swiftlang/swift-driver/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-driver-${PV}.tar.gz - https://github.com/swiftlang/swift-experimental-string-processing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-experimental-string-processing-${PV}.tar.gz - https://github.com/swiftlang/swift-format/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-format-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation-icu/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-icu-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-installer-scripts/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-installer-scripts-${PV}.tar.gz - https://github.com/swiftlang/swift-integration-tests/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-integration-tests-${PV}.tar.gz - https://github.com/swiftlang/swift-llbuild/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llbuild-${PV}.tar.gz - https://github.com/swiftlang/swift-llvm-bindings/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llvm-bindings-${PV}.tar.gz - https://github.com/swiftlang/swift-lmdb/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-lmdb-${PV}.tar.gz - https://github.com/swiftlang/swift-markdown/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-markdown-${PV}.tar.gz - https://github.com/swiftlang/swift-package-manager/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-package-manager-${PV}.tar.gz - https://github.com/swiftlang/swift-stress-tester/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-stress-tester-${PV}.tar.gz - https://github.com/swiftlang/swift-syntax/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-syntax-${PV}.tar.gz - https://github.com/swiftlang/swift-testing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-testing-${PV}.tar.gz - https://github.com/swiftlang/swift-tools-support-core/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-tools-support-core-${PV}.tar.gz - https://github.com/swiftlang/swift/archive/refs/tags/${P}-RELEASE.tar.gz -> ${P}.tar.gz -" - -PATCHES=( - "${FILESDIR}/${PF}/backtracing-noexecstack.patch" - "${FILESDIR}/${PF}/disable-libdispatch-private-header-check.patch" - "${FILESDIR}/${PF}/disable-libdispatch-werror.patch" - "${FILESDIR}/${PF}/indexstoredb-constant.patch" - "${FILESDIR}/${PF}/link-ncurses-tinfo.patch" - "${FILESDIR}/${PF}/link-with-lld.patch" - "${FILESDIR}/${PF}/respect-c-cxx-flags.patch" -) - -S="${WORKDIR}" -LICENSE="Apache-2.0" -SLOT="6/0" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="strip" - -RDEPEND=" - ${PYTHON_DEPS} - !~dev-lang/swift-5.10.1:0 - >=app-arch/zstd-1.5 - >=app-eselect/eselect-swift-1.0-r1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=net-misc/curl-8.4 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3:= - dev-lang/python - $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}=') -" - -BDEPEND=" - ${PYTHON_DEPS} - >=dev-build/cmake-3.24.2 - >=dev-build/ninja-1.11.1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=dev-util/patchelf-0.18 - >=dev-vcs/git-2.39 - >=sys-apps/coreutils-9 - >=sys-devel/gcc-11 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3:= - || ( - dev-lang/swift - dev-lang/swift-bootstrap - ) - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/lld:${LLVM_SLOT}= - ') - dev-lang/python - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_{12..13}) -" - -SWIFT_BUILD_PRESETS_INI_PATH="${S}/gentoo-build-presets.ini" -SWIFT_BUILD_PRESET='gentoo' -PKG_PREINST_SWIFT_INTENTIONALLY_SET='true' - -# Adapted from `flag-o-matic.eclass`'s `raw-ldflags`: turns GCC-style flags -# (`-Wl,-foo`) into Clang-style flags (`-Xlinker -foo`). -clang-ldflags() { - local flag input="$@" - [[ -z ${input} ]] && input=${LDFLAGS} - set -- - for flag in ${input//,/ } ; do - case ${flag} in - -Wl) ;; - *) set -- "$@" "-Xlinker ${flag}" ;; - esac - done - echo "$@" -} - -pkg_setup() { - # Sets `${EPYTHON}` according to `PYTHON_SINGLE_TARGET`, sets up - # `${T}/${EPYTHON}` with that version, and adds it to the `PATH`. - python_setup - - # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure - # we're using the toolchain for compilation. - llvm-r2_pkg_setup -} - -src_unpack() { - default - - # The Swift project expects a specific directory structure that we have to - # match. For most directories, it's enough to trim the version number at the - # end: - find "${S}" \ - -mindepth 1 -maxdepth 1 \ - -execdir sh -c \ - "mv '{}' \"\$(echo '{}' | sed -e 's_-\(swift-${PV}-RELEASE\|\([0-9]\+\.\)*[0-9]\+\)\$__' | tr '[:upper:]' '[:lower:]')\"" ';' \ - || die - - # Some one-off fixups: - pushd "${S}" \ - && mv 'swift-cmark' 'cmark' \ - && mv 'swift-llbuild' 'llbuild' \ - && mv 'swift-package-manager' 'swiftpm' \ - && popd \ - || die -} - -src_configure() { - CC="$(type -P clang)" - CXX="$(type -P clang++)" - LD="$(type -P ld.lld)" - - # Swift builds with CMake, which picks up `LDFLAGS` from the environment and - # populates `CMAKE_EXE_LINKER_FLAGS` with them. `LDFLAGS` are typically - # given as GCC-style flags (`-Wlinker,foo`), which Clang understands; - # unfortunately, CMake passes these flags to all compilers under the - # assumption they support the same syntax, but `swiftc` _only_ understands - # Clang-style flags (`-Xlinker -foo`). In order to pass `LDFLAGS` in, we - # have to turn them into a format that `swiftc` will understand. - # - # We can do this because we know we're compiling with Clang specifically. - export LDFLAGS="$(clang-ldflags)" - - # Extend the 'gentoo' build preset with user-specified flags and flags for - # libc++ systems. - cp "${FILESDIR}/${PF}/gentoo.ini" "${SWIFT_BUILD_PRESETS_INI_PATH}" - local extra_build_flags=() - - # Setting `-j<n>`/`--jobs=<n>` in MAKEOPTS needs to be manually exposed to - # the Swift build system. - if [[ -n "${MAKEOPTS}" ]]; then - local num_jobs make_opts=( $(getopt -qu -o 'j:' -l 'jobs:' -- ${MAKEOPTS}) ) - while [[ "${#make_opts[@]}" -gt 1 ]]; do - case "${make_opts[0]}" in - -j | --jobs ) - num_jobs="${make_opts[1]}" - make_opts=("${make_opts[@]:2}") ;; - -- ) break ;; - * ) make_opts=("${make_opts[@]:1}") ;; - esac - done - - if [[ -n "${num_jobs}" ]]; then - extra_build_flags+=(--jobs="${num_jobs}") - fi - fi - - if [[ "$(tc-get-cxx-stdlib)" = 'libc++' ]]; then - # On systems which use libc++ as their default C++ stdlib (e.g. systems - # with the LLVM profile), we want to build the internal libc++ and - # ensure we link against it. - extra_build_flags+=( - --libcxx - --extra-cmake-options=-DCLANG_DEFAULT_CXX_STDLIB=libc++ - ) - fi - - extra_build_flags+=(${SWIFT_EXTRA_BUILD_FLAGS}) - - local orig_preset="${SWIFT_BUILD_PRESET}" - local preset="${orig_preset}" - local n=1 - - { - for arg in "${extra_build_flags[@]}"; do - local next="${orig_preset},${n}" - printf '[preset: %s]\n' "${next}" - printf 'mixin-preset=%s\n' "${preset}" - echo "${arg#--}" - preset="${next}" - n="$((n + 1))" - done - } >> "${SWIFT_BUILD_PRESETS_INI_PATH}" - - SWIFT_BUILD_PRESET="${preset}" -} - -src_compile() { - # Building swift-driver writes to this directory for some reason, but the - # contents are irrelevant. - addpredict /var/lib/portage/home/.swiftpm - - # Versions of Swift 6.0 and later require an existing Swift compiler to - # bootstrap from. We can use any version from 5.10.1 and on. - local swift_version="$(best_version -b "${CATEGORY}/${PN}")" - swift_version="${swift_version#${CATEGORY}/}" # reduce to ${PVR} form - swift_version="${swift_version%-r[[:digit:]]*}" # reduce to ${P} form - - local original_path="${PATH}" - export PATH="/usr/lib64/${swift_version}/usr/bin:${original_path}" - "${S}/swift/utils/build-script" \ - --preset-file="${S}/swift/utils/build-presets.ini" \ - --preset-file="${SWIFT_BUILD_PRESETS_INI_PATH}" \ - --preset="${SWIFT_BUILD_PRESET}" \ - install_destdir="${S}/${P}" \ - installable_package="" \ - || die - - export PATH="${original_path}" -} - -src_install() { - # `libTesting` as built has its RPATH set to the absolute path to its - # containing dir, which is in the build sandbox. This directory won't exist - # after installation, and is the same as '$ORIGIN'. - patchelf --set-rpath '$ORIGIN' "${S}/${P}/usr/lib/swift/linux/libTesting.so" || die - - # The Swift build output is intended to be self-contained, and is - # _significantly_ easier to leave as-is than attempt to splat onto the - # filesystem; we'll install the output versioned into `/usr/$(get_libdir)` - # and expose the relevant binaries via linking. - local dest_dir="/usr/$(get_libdir)/${P}" - mkdir -p "${ED}/${dest_dir}" \ - && cp -pPR "${S}/${P}/." "${ED}/${dest_dir}" \ - || die - - # We also want to provide a stable directory which matches our SLOT to avoid - # revdep breakages, as patch updates use the same SLOT but otherwise move - # the install location on disk. - # - # See https://bugs.gentoo.org/957730 - dosym -r "${dest_dir}" "/usr/$(get_libdir)/${PN}-$(ver_cut 1-2)" - - # Swift ships with its own `clang`, `lldb`, etc.; we don't want these to be - # exposed externally, so we'll just symlink Swift-specific binaries into - # `/usr/bin`. (The majority of executables don't need to be exposed as - # `swift <command>` calls `swift-<command>` directly.) - local bin - for bin in swift swiftc sourcekit-lsp; do - # We only install versioned symlinks; non-versioned links are maanged - # via `eselect swift`. - dosym -r "${dest_dir}/usr/bin/${bin}" "/usr/bin/${bin}-${PV}" - done -} - -pkg_preinst() { - # After installation, we ideally want the system to have the latest Swift - # version set -- but if the system already has a Swift version set and it - # isn't the latest version, that's likely an intentional decision that we - # don't want to override. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - local latest_swift_version="$(eselect swift show --latest | tail -n1 | xargs)" - [[ "${current_swift_version}" == '(unset)' ]] \ - || [[ "${current_swift_version}" == "${latest_swift_version}" ]] \ - && PKG_PREINST_SWIFT_INTENTIONALLY_SET='false' -} - -pkg_postinst() { - # If the system doesn't have Swift intentionally set to an older version, we - # can update to the latest. - if [[ "${PKG_PREINST_SWIFT_INTENTIONALLY_SET}" == 'false' ]]; then - eselect swift update - fi -} - -pkg_postrm() { - # We don't want to leave behind symlinks pointing to this Swift version on - # removal. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - if [[ "${current_swift_version}" == "${P}" ]]; then - eselect swift update - fi -} diff --git a/dev-lang/swift/swift-6.1.3.ebuild b/dev-lang/swift/swift-6.1.3.ebuild deleted file mode 100644 index 5ed930f77f3b..000000000000 --- a/dev-lang/swift/swift-6.1.3.ebuild +++ /dev/null @@ -1,329 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..21} ) -PYTHON_COMPAT=( python3_{13..14} ) -inherit llvm-r2 python-single-r1 toolchain-funcs - -DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language" -HOMEPAGE="https://www.swift.org" - -SRC_URI=" - https://github.com/apple/swift-argument-parser/archive/refs/tags/1.4.0.tar.gz -> swift-argument-parser-1.4.0.tar.gz - https://github.com/apple/swift-asn1/archive/refs/tags/1.0.0.tar.gz -> swift-asn1-1.0.0.tar.gz - https://github.com/apple/swift-async-algorithms/archive/refs/tags/1.0.1.tar.gz -> swift-async-algorithms-1.0.0.tar.gz - https://github.com/apple/swift-atomics/archive/refs/tags/1.2.0.tar.gz -> swift-atomics-1.2.0.tar.gz - https://github.com/apple/swift-certificates/archive/refs/tags/1.0.1.tar.gz -> swift-certificates-1.0.1.tar.gz - https://github.com/apple/swift-collections/archive/refs/tags/1.1.3.tar.gz -> swift-collections-1.1.3.tar.gz - https://github.com/apple/swift-crypto/archive/refs/tags/3.0.0.tar.gz -> swift-crypto-3.0.0.tar.gz - https://github.com/apple/swift-log/archive/refs/tags/1.5.4.tar.gz -> swift-log-1.5.4.tar.gz - https://github.com/apple/swift-nio/archive/refs/tags/2.65.0.tar.gz -> swift-nio-2.65.0.tar.gz - https://github.com/apple/swift-numerics/archive/refs/tags/1.0.2.tar.gz -> swift-numerics-1.0.2.tar.gz - https://github.com/apple/swift-system/archive/refs/tags/1.3.0.tar.gz -> swift-system-1.3.0.tar.gz - https://github.com/jpsim/Yams/archive/refs/tags/5.0.6.tar.gz -> Yams-5.0.6.tar.gz - https://github.com/swiftlang/indexstore-db/archive/refs/tags/${P}-RELEASE.tar.gz -> indexstore-db-${PV}.tar.gz - https://github.com/swiftlang/llvm-project/archive/refs/tags/${P}-RELEASE.tar.gz -> llvm-project-${PV}.tar.gz - https://github.com/swiftlang/sourcekit-lsp/archive/refs/tags/${P}-RELEASE.tar.gz -> sourcekit-lsp-${PV}.tar.gz - https://github.com/swiftlang/swift-cmark/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-cmark-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-libdispatch/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-libdispatch-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-xctest/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-xctest-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-render-artifact/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-render-artifact-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-symbolkit/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-symbolkit-${PV}.tar.gz - https://github.com/swiftlang/swift-docc/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-${PV}.tar.gz - https://github.com/swiftlang/swift-driver/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-driver-${PV}.tar.gz - https://github.com/swiftlang/swift-experimental-string-processing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-experimental-string-processing-${PV}.tar.gz - https://github.com/swiftlang/swift-format/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-format-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation-icu/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-icu-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-installer-scripts/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-installer-scripts-${PV}.tar.gz - https://github.com/swiftlang/swift-integration-tests/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-integration-tests-${PV}.tar.gz - https://github.com/swiftlang/swift-llbuild/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llbuild-${PV}.tar.gz - https://github.com/swiftlang/swift-llvm-bindings/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llvm-bindings-${PV}.tar.gz - https://github.com/swiftlang/swift-lmdb/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-lmdb-${PV}.tar.gz - https://github.com/swiftlang/swift-markdown/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-markdown-${PV}.tar.gz - https://github.com/swiftlang/swift-package-manager/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-package-manager-${PV}.tar.gz - https://github.com/swiftlang/swift-stress-tester/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-stress-tester-${PV}.tar.gz - https://github.com/swiftlang/swift-syntax/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-syntax-${PV}.tar.gz - https://github.com/swiftlang/swift-testing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-testing-${PV}.tar.gz - https://github.com/swiftlang/swift-toolchain-sqlite/archive/refs/tags/1.0.1.tar.gz -> swift-toolchain-sqlite-1.0.1.tar.gz - https://github.com/swiftlang/swift-tools-support-core/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-tools-support-core-${PV}.tar.gz - https://github.com/swiftlang/swift/archive/refs/tags/${P}-RELEASE.tar.gz -> ${P}.tar.gz -" - -PATCHES=( - "${FILESDIR}/${PF}/backtracing-noexecstack.patch" - "${FILESDIR}/${PF}/disable-libdispatch-private-header-check.patch" - "${FILESDIR}/${PF}/disable-libdispatch-werror.patch" - "${FILESDIR}/${PF}/fix-issues-caused-by-build-system-updates.patch" - "${FILESDIR}/${PF}/link-ncurses-tinfo.patch" - "${FILESDIR}/${PF}/link-with-lld.patch" - "${FILESDIR}/${PF}/respect-c-cxx-flags.patch" -) - -S="${WORKDIR}" -LICENSE="Apache-2.0" -SLOT="6/1" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="strip" - -RDEPEND=" - ${PYTHON_DEPS} - !~dev-lang/swift-5.10.1:0 - >=app-arch/zstd-1.5 - >=app-eselect/eselect-swift-1.0-r1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=net-misc/curl-8.9.1 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - dev-lang/python - $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}=') -" - -BDEPEND=" - ${PYTHON_DEPS} - >=dev-build/cmake-3.30.2 - >=dev-build/ninja-1.11.1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=dev-util/patchelf-0.18 - >=dev-vcs/git-2.39 - >=sys-apps/coreutils-9 - >=sys-devel/gcc-11 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - || ( - dev-lang/swift - dev-lang/swift-bootstrap - ) - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/lld:${LLVM_SLOT}= - ') - dev-lang/python - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_{12..13}) -" - -SWIFT_BUILD_PRESETS_INI_PATH="${S}/gentoo-build-presets.ini" -SWIFT_BUILD_PRESET='gentoo' -PKG_PREINST_SWIFT_INTENTIONALLY_SET='true' - -# Adapted from `flag-o-matic.eclass`'s `raw-ldflags`: turns GCC-style flags -# (`-Wl,-foo`) into Clang-style flags (`-Xlinker -foo`). -clang-ldflags() { - local flag input="$@" - [[ -z ${input} ]] && input=${LDFLAGS} - set -- - for flag in ${input//,/ } ; do - case ${flag} in - -Wl) ;; - *) set -- "$@" "-Xlinker ${flag}" ;; - esac - done - echo "$@" -} - -pkg_setup() { - # Sets `${EPYTHON}` according to `PYTHON_SINGLE_TARGET`, sets up - # `${T}/${EPYTHON}` with that version, and adds it to the `PATH`. - python_setup - - # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure - # we're using the toolchain for compilation. - llvm-r2_pkg_setup -} - -src_unpack() { - default - - # The Swift project expects a specific directory structure that we have to - # match. For most directories, it's enough to trim the version number at the - # end: - find "${S}" \ - -mindepth 1 -maxdepth 1 \ - -execdir sh -c \ - "mv '{}' \"\$(echo '{}' | sed -e 's_-\(swift-${PV}-RELEASE\|\([0-9]\+\.\)*[0-9]\+\)\$__' | tr '[:upper:]' '[:lower:]')\"" ';' \ - || die - - # Some one-off fixups: - pushd "${S}" \ - && mv 'swift-cmark' 'cmark' \ - && mv 'swift-llbuild' 'llbuild' \ - && mv 'swift-package-manager' 'swiftpm' \ - && popd \ - || die -} - -src_configure() { - CC="$(type -P clang)" - CXX="$(type -P clang++)" - LD="$(type -P ld.lld)" - - # Swift builds with CMake, which picks up `LDFLAGS` from the environment and - # populates `CMAKE_EXE_LINKER_FLAGS` with them. `LDFLAGS` are typically - # given as GCC-style flags (`-Wlinker,foo`), which Clang understands; - # unfortunately, CMake passes these flags to all compilers under the - # assumption they support the same syntax, but `swiftc` _only_ understands - # Clang-style flags (`-Xlinker -foo`). In order to pass `LDFLAGS` in, we - # have to turn them into a format that `swiftc` will understand. - # - # We can do this because we know we're compiling with Clang specifically. - export LDFLAGS="$(clang-ldflags)" - - # Extend the 'gentoo' build preset with user-specified flags and flags for - # libc++ systems. - cp "${FILESDIR}/${PF}/gentoo.ini" "${SWIFT_BUILD_PRESETS_INI_PATH}" - local extra_build_flags=() - - # Setting `-j<n>`/`--jobs=<n>` in MAKEOPTS needs to be manually exposed to - # the Swift build system. - if [[ -n "${MAKEOPTS}" ]]; then - local num_jobs make_opts=( $(getopt -qu -o 'j:' -l 'jobs:' -- ${MAKEOPTS}) ) - while [[ "${#make_opts[@]}" -gt 1 ]]; do - case "${make_opts[0]}" in - -j | --jobs ) - num_jobs="${make_opts[1]}" - make_opts=("${make_opts[@]:2}") ;; - -- ) break ;; - * ) make_opts=("${make_opts[@]:1}") ;; - esac - done - - if [[ -n "${num_jobs}" ]]; then - extra_build_flags+=(--jobs="${num_jobs}") - fi - fi - - if [[ "$(tc-get-cxx-stdlib)" = 'libc++' ]]; then - # On systems which use libc++ as their default C++ stdlib (e.g. systems - # with the LLVM profile), we want to build the internal libc++ and - # ensure we link against it. - extra_build_flags+=( - --libcxx - --extra-cmake-options=-DCLANG_DEFAULT_CXX_STDLIB=libc++ - ) - fi - - extra_build_flags+=(${SWIFT_EXTRA_BUILD_FLAGS}) - - local orig_preset="${SWIFT_BUILD_PRESET}" - local preset="${orig_preset}" - local n=1 - - { - for arg in "${extra_build_flags[@]}"; do - local next="${orig_preset},${n}" - printf '[preset: %s]\n' "${next}" - printf 'mixin-preset=%s\n' "${preset}" - echo "${arg#--}" - preset="${next}" - n="$((n + 1))" - done - } >> "${SWIFT_BUILD_PRESETS_INI_PATH}" - - SWIFT_BUILD_PRESET="${preset}" -} - -src_compile() { - # Building swift-driver writes to this directory for some reason, but the - # contents are irrelevant. - addpredict /var/lib/portage/home/.swiftpm - - # Versions of Swift 6.0 and later require an existing Swift compiler to - # bootstrap from. We can use any version from 5.10.1 and on. - local swift_version="$(best_version -b "${CATEGORY}/${PN}")" - swift_version="${swift_version#${CATEGORY}/}" # reduce to ${PVR} form - swift_version="${swift_version%-r[[:digit:]]*}" # reduce to ${P} form - - local original_path="${PATH}" - export PATH="/usr/lib64/${swift_version}/usr/bin:${original_path}" - "${S}/swift/utils/build-script" \ - --preset-file="${S}/swift/utils/build-presets.ini" \ - --preset-file="${SWIFT_BUILD_PRESETS_INI_PATH}" \ - --preset="${SWIFT_BUILD_PRESET}" \ - install_destdir="${S}/${P}" \ - installable_package="" \ - || die - - export PATH="${original_path}" -} - -src_install() { - # `libTesting` as built has its RPATH set to the absolute path to its - # containing dir, which is in the build sandbox. This directory won't exist - # after installation, and is the same as '$ORIGIN'. - patchelf --set-rpath '$ORIGIN' "${S}/${P}/usr/lib/swift/linux/libTesting.so" || die - - # The Swift build output is intended to be self-contained, and is - # _significantly_ easier to leave as-is than attempt to splat onto the - # filesystem; we'll install the output versioned into `/usr/$(get_libdir)` - # and expose the relevant binaries via linking. - local dest_dir="/usr/$(get_libdir)/${P}" - mkdir -p "${ED}/${dest_dir}" \ - && cp -pPR "${S}/${P}/." "${ED}/${dest_dir}" \ - || die - - # We also want to provide a stable directory which matches our SLOT to avoid - # revdep breakages, as patch updates use the same SLOT but otherwise move - # the install location on disk. - # - # See https://bugs.gentoo.org/957730 - # - # `dosym` dies if the source and destination are the same, so we only want - # to do this for patch versions. - local major_ver="$(ver_cut 1-2)" - if [[ "${PV}" != "${major_ver}" ]]; then - dosym -r "${dest_dir}" "/usr/$(get_libdir)/${PN}-${major_ver}" - fi - - # Swift ships with its own `clang`, `lldb`, etc.; we don't want these to be - # exposed externally, so we'll just symlink Swift-specific binaries into - # `/usr/bin`. (The majority of executables don't need to be exposed as - # `swift <command>` calls `swift-<command>` directly.) - local bin - for bin in swift swiftc sourcekit-lsp; do - # We only install versioned symlinks; non-versioned links are maanged - # via `eselect swift`. - dosym -r "${dest_dir}/usr/bin/${bin}" "/usr/bin/${bin}-${PV}" - done -} - -pkg_preinst() { - # After installation, we ideally want the system to have the latest Swift - # version set -- but if the system already has a Swift version set and it - # isn't the latest version, that's likely an intentional decision that we - # don't want to override. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - local latest_swift_version="$(eselect swift show --latest | tail -n1 | xargs)" - [[ "${current_swift_version}" == '(unset)' ]] \ - || [[ "${current_swift_version}" == "${latest_swift_version}" ]] \ - && PKG_PREINST_SWIFT_INTENTIONALLY_SET='false' -} - -pkg_postinst() { - # If the system doesn't have Swift intentionally set to an older version, we - # can update to the latest. - if [[ "${PKG_PREINST_SWIFT_INTENTIONALLY_SET}" == 'false' ]]; then - eselect swift update - fi -} - -pkg_postrm() { - # We don't want to leave behind symlinks pointing to this Swift version on - # removal. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - if [[ "${current_swift_version}" == "${P}" ]]; then - eselect swift update - fi -} diff --git a/dev-lang/swift/swift-6.2.4.ebuild b/dev-lang/swift/swift-6.2.4.ebuild deleted file mode 100644 index 285e61fd42de..000000000000 --- a/dev-lang/swift/swift-6.2.4.ebuild +++ /dev/null @@ -1,340 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..21} ) -PYTHON_COMPAT=( python3_{13..14} ) -inherit llvm-r2 python-single-r1 toolchain-funcs - -DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language" -HOMEPAGE="https://www.swift.org" - -SRC_URI=" - https://github.com/apple/swift-argument-parser/archive/refs/tags/1.4.0.tar.gz -> swift-argument-parser-1.4.0.tar.gz - https://github.com/apple/swift-asn1/archive/refs/tags/1.0.0.tar.gz -> swift-asn1-1.0.0.tar.gz - https://github.com/apple/swift-async-algorithms/archive/refs/tags/1.0.1.tar.gz -> swift-async-algorithms-1.0.1.tar.gz - https://github.com/apple/swift-atomics/archive/refs/tags/1.2.0.tar.gz -> swift-atomics-1.2.0.tar.gz - https://github.com/apple/swift-certificates/archive/refs/tags/1.0.1.tar.gz -> swift-certificates-1.0.1.tar.gz - https://github.com/apple/swift-collections/archive/refs/tags/1.1.3.tar.gz -> swift-collections-1.1.3.tar.gz - https://github.com/apple/swift-crypto/archive/refs/tags/3.0.0.tar.gz -> swift-crypto-3.0.0.tar.gz - https://github.com/apple/swift-log/archive/refs/tags/1.5.4.tar.gz -> swift-log-1.5.4.tar.gz - https://github.com/apple/swift-nio/archive/refs/tags/2.65.0.tar.gz -> swift-nio-2.65.0.tar.gz - https://github.com/apple/swift-numerics/archive/refs/tags/1.0.2.tar.gz -> swift-numerics-1.0.2.tar.gz - https://github.com/apple/swift-system/archive/refs/tags/1.5.0.tar.gz -> swift-system-1.5.0.tar.gz - https://github.com/microsoft/mimalloc/archive/refs/tags/v3.0.1.tar.gz -> mimalloc-v3.0.1.tar.gz - https://github.com/swiftlang/indexstore-db/archive/refs/tags/${P}-RELEASE.tar.gz -> indexstore-db-${PV}.tar.gz - https://github.com/swiftlang/llvm-project/archive/refs/tags/${P}-RELEASE.tar.gz -> llvm-project-${PV}.tar.gz - https://github.com/swiftlang/sourcekit-lsp/archive/refs/tags/${P}-RELEASE.tar.gz -> sourcekit-lsp-${PV}.tar.gz - https://github.com/swiftlang/swift-build/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-build-${PV}.tar.gz - https://github.com/swiftlang/swift-cmark/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-cmark-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-libdispatch/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-libdispatch-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-xctest/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-xctest-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-render-artifact/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-render-artifact-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-symbolkit/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-symbolkit-${PV}.tar.gz - https://github.com/swiftlang/swift-docc/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-${PV}.tar.gz - https://github.com/swiftlang/swift-driver/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-driver-${PV}.tar.gz - https://github.com/swiftlang/swift-experimental-string-processing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-experimental-string-processing-${PV}.tar.gz - https://github.com/swiftlang/swift-format/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-format-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation-icu/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-icu-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-installer-scripts/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-installer-scripts-${PV}.tar.gz - https://github.com/swiftlang/swift-integration-tests/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-integration-tests-${PV}.tar.gz - https://github.com/swiftlang/swift-llbuild/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llbuild-${PV}.tar.gz - https://github.com/swiftlang/swift-llvm-bindings/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llvm-bindings-${PV}.tar.gz - https://github.com/swiftlang/swift-lmdb/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-lmdb-${PV}.tar.gz - https://github.com/swiftlang/swift-markdown/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-markdown-${PV}.tar.gz - https://github.com/swiftlang/swift-package-manager/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-package-manager-${PV}.tar.gz - https://github.com/swiftlang/swift-stress-tester/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-stress-tester-${PV}.tar.gz - https://github.com/swiftlang/swift-syntax/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-syntax-${PV}.tar.gz - https://github.com/swiftlang/swift-testing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-testing-${PV}.tar.gz - https://github.com/swiftlang/swift-toolchain-sqlite/archive/refs/tags/1.0.1.tar.gz -> swift-toolchain-sqlite-1.0.1.tar.gz - https://github.com/swiftlang/swift-tools-support-core/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-tools-support-core-${PV}.tar.gz - https://github.com/swiftlang/swift/archive/refs/tags/${P}-RELEASE.tar.gz -> ${P}.tar.gz -" - -PATCHES=( - "${FILESDIR}/${PF}/backtracing-noexecstack.patch" - "${FILESDIR}/${PF}/disable-libdispatch-private-header-check.patch" - "${FILESDIR}/${PF}/disable-libdispatch-werror.patch" - "${FILESDIR}/${PF}/fix-issues-caused-by-build-system-updates.patch" - "${FILESDIR}/${PF}/link-ncurses-tinfo.patch" - "${FILESDIR}/${PF}/link-with-lld.patch" - "${FILESDIR}/${PF}/respect-c-cxx-flags.patch" -) - -S="${WORKDIR}" -LICENSE="Apache-2.0" -SLOT="6/2" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="strip" - -RDEPEND=" - ${PYTHON_DEPS} - !~dev-lang/swift-5.10.1:0 - >=app-arch/zstd-1.5 - >=app-eselect/eselect-swift-1.0-r1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=net-misc/curl-8.9.1 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - dev-lang/python - $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}=') -" - -BDEPEND=" - ${PYTHON_DEPS} - >=dev-build/cmake-3.30.2 - >=dev-build/ninja-1.11.1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=dev-util/patchelf-0.18 - >=dev-vcs/git-2.39 - >=sys-apps/coreutils-9 - >=sys-devel/gcc-11 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - || ( - dev-lang/swift - dev-lang/swift-bootstrap - ) - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/lld:${LLVM_SLOT}= - ') - dev-lang/python - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_{12..13}) -" - -SWIFT_BUILD_PRESETS_INI_PATH="${S}/gentoo-build-presets.ini" -SWIFT_BUILD_PRESET='gentoo' -PKG_PREINST_SWIFT_INTENTIONALLY_SET='true' - -# Adapted from `flag-o-matic.eclass`'s `raw-ldflags`: turns GCC-style flags -# (`-Wl,-foo`) into Clang-style flags (`-Xlinker -foo`). -clang-ldflags() { - local flag input="$@" - [[ -z ${input} ]] && input=${LDFLAGS} - set -- - for flag in ${input//,/ } ; do - case ${flag} in - -Wl) ;; - *) set -- "$@" "-Xlinker ${flag}" ;; - esac - done - echo "$@" -} - -pkg_setup() { - # Sets `${EPYTHON}` according to `PYTHON_SINGLE_TARGET`, sets up - # `${T}/${EPYTHON}` with that version, and adds it to the `PATH`. - python_setup - - # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure - # we're using the toolchain for compilation. - llvm-r2_pkg_setup -} - -src_unpack() { - default - - # The Swift project expects a specific directory structure that we have to - # match. For most directories, it's enough to trim the version number at the - # end: - find "${S}" \ - -mindepth 1 -maxdepth 1 \ - -execdir sh -c \ - "mv '{}' \"\$(echo '{}' | sed -e 's_-\(swift-${PV}-RELEASE\|\([0-9]\+\.\)*[0-9]\+\)\$__' | tr '[:upper:]' '[:lower:]')\"" ';' \ - || die - - # Some one-off fixups: - pushd "${S}" \ - && mv 'swift-cmark' 'cmark' \ - && mv 'swift-llbuild' 'llbuild' \ - && mv 'swift-package-manager' 'swiftpm' \ - && popd \ - || die -} - -src_configure() { - CC="$(type -P clang)" - CXX="$(type -P clang++)" - LD="$(type -P ld.lld)" - - # Swift builds with CMake, which picks up `LDFLAGS` from the environment and - # populates `CMAKE_EXE_LINKER_FLAGS` with them. `LDFLAGS` are typically - # given as GCC-style flags (`-Wlinker,foo`), which Clang understands; - # unfortunately, CMake passes these flags to all compilers under the - # assumption they support the same syntax, but `swiftc` _only_ understands - # Clang-style flags (`-Xlinker -foo`). In order to pass `LDFLAGS` in, we - # have to turn them into a format that `swiftc` will understand. - # - # We can do this because we know we're compiling with Clang specifically. - export LDFLAGS="$(clang-ldflags)" - - # Extend the 'gentoo' build preset with user-specified flags and flags for - # libc++ systems. - cp "${FILESDIR}/${PF}/gentoo.ini" "${SWIFT_BUILD_PRESETS_INI_PATH}" - local extra_build_flags=() - - # Setting `-j<n>`/`--jobs=<n>` in MAKEOPTS needs to be manually exposed to - # the Swift build system. - if [[ -n "${MAKEOPTS}" ]]; then - local num_jobs make_opts=( $(getopt -qu -o 'j:' -l 'jobs:' -- ${MAKEOPTS}) ) - while [[ "${#make_opts[@]}" -gt 1 ]]; do - case "${make_opts[0]}" in - -j | --jobs ) - num_jobs="${make_opts[1]}" - make_opts=("${make_opts[@]:2}") ;; - -- ) break ;; - * ) make_opts=("${make_opts[@]:1}") ;; - esac - done - - if [[ -n "${num_jobs}" ]]; then - extra_build_flags+=(--jobs="${num_jobs}") - fi - fi - - if [[ "$(tc-get-cxx-stdlib)" = 'libc++' ]]; then - # On systems which use libc++ as their default C++ stdlib (e.g. systems - # with the LLVM profile), we want to build the internal libc++ and - # ensure we link against it. - extra_build_flags+=( - --libcxx - --extra-cmake-options=-DCLANG_DEFAULT_CXX_STDLIB=libc++ - ) - fi - - extra_build_flags+=(${SWIFT_EXTRA_BUILD_FLAGS}) - - local orig_preset="${SWIFT_BUILD_PRESET}" - local preset="${orig_preset}" - local n=1 - - { - for arg in "${extra_build_flags[@]}"; do - local next="${orig_preset},${n}" - printf '[preset: %s]\n' "${next}" - printf 'mixin-preset=%s\n' "${preset}" - echo "${arg#--}" - preset="${next}" - n="$((n + 1))" - done - } >> "${SWIFT_BUILD_PRESETS_INI_PATH}" - - SWIFT_BUILD_PRESET="${preset}" -} - -src_compile() { - # Building swift-driver writes to this directory for some reason, but the - # contents are irrelevant. - addpredict /var/lib/portage/home/.swiftpm - - # Versions of Swift 6.0 and later require an existing Swift compiler to - # bootstrap from. We can use any version from 5.10.1 and on. - local swift_version="$(best_version -b "${CATEGORY}/${PN}")" - swift_version="${swift_version#${CATEGORY}/}" # reduce to ${PVR} form - swift_version="${swift_version%-r[[:digit:]]*}" # reduce to ${P} form - - local original_path="${PATH}" - export PATH="/usr/lib64/${swift_version}/usr/bin:${original_path}" - "${S}/swift/utils/build-script" \ - --preset-file="${S}/swift/utils/build-presets.ini" \ - --preset-file="${SWIFT_BUILD_PRESETS_INI_PATH}" \ - --preset="${SWIFT_BUILD_PRESET}" \ - install_destdir="${S}/${P}" \ - installable_package="" \ - || die - - export PATH="${original_path}" -} - -src_install() { - # `libTesting` as built has its RPATH set to the absolute path to its - # containing dir, which is in the build sandbox. This directory won't exist - # after installation, and is the same as '$ORIGIN'. - patchelf --set-rpath '$ORIGIN' "${S}/${P}/usr/lib/swift/linux/libTesting.so" || die - - # The Swift build output is intended to be self-contained, and is - # _significantly_ easier to leave as-is than attempt to splat onto the - # filesystem; we'll install the output versioned into `/usr/$(get_libdir)` - # and expose the relevant binaries via linking. - local dest_dir="/usr/$(get_libdir)/${P}" - mkdir -p "${ED}/${dest_dir}" \ - && cp -pPR "${S}/${P}/." "${ED}/${dest_dir}" \ - || die - - # Swift ships with its own `clang`, `lldb`, etc.; we don't want these to be - # exposed externally, so we'll just symlink Swift-specific binaries into - # `/usr/bin`. (The majority of executables don't need to be exposed as - # `swift <command>` calls `swift-<command>` directly.) - local bin - for bin in swift swiftc sourcekit-lsp; do - # We only install versioned symlinks; non-versioned links are maanged - # via `eselect swift`. - dosym -r "${dest_dir}/usr/bin/${bin}" "/usr/bin/${bin}-${PV}" - done -} - -pkg_preinst() { - # After installation, we ideally want the system to have the latest Swift - # version set -- but if the system already has a Swift version set and it - # isn't the latest version, that's likely an intentional decision that we - # don't want to override. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - local latest_swift_version="$(eselect swift show --latest | tail -n1 | xargs)" - [[ "${current_swift_version}" == '(unset)' ]] \ - || [[ "${current_swift_version}" == "${latest_swift_version}" ]] \ - && PKG_PREINST_SWIFT_INTENTIONALLY_SET='false' -} - -pkg_postinst() { - # If the system doesn't have Swift intentionally set to an older version, we - # can update to the latest. - if [[ "${PKG_PREINST_SWIFT_INTENTIONALLY_SET}" == 'false' ]]; then - eselect swift update - fi - - # We also want to provide a stable directory which matches our SLOT to avoid - # revdep breakages, as patch updates use the same SLOT but otherwise move - # the install location on disk. - # - # See https://bugs.gentoo.org/957730 - # - # We do this in `pkg_postinst` instead of calling `dosym` in `src_install` - # because when upgrading from a major version to a patch version, the major - # version is still on disk while the patch version is being installed, so - # the existing directory is in use and the symlink fails to install. - local major_ver="$(ver_cut 1-2)" - if [[ "${PV}" != "${major_ver}" ]]; then - local libdir="${EROOT}/usr/$(get_libdir)" - ln -fsT "${libdir}/${P}" "${libdir}/${PN}-${major_ver}" || die - fi -} - -pkg_postrm() { - # We don't want to leave behind symlinks pointing to this Swift version on - # removal. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - if [[ "${current_swift_version}" == "${P}" ]]; then - eselect swift update - fi - - # If we installed a SLOT symlink, we also want to remove it here. - local major_ver="$(ver_cut 1-2)" - local link="${EROOT}/usr/$(get_libdir)/${PN}-${major_ver}" - if [[ -L "${link}" && "${PV}" != "${major_ver}" ]]; then - rm -f "${link}" - fi -} diff --git a/dev-lang/swift/swift-6.3-r1.ebuild b/dev-lang/swift/swift-6.3-r1.ebuild deleted file mode 100644 index 8de7f38ac4b3..000000000000 --- a/dev-lang/swift/swift-6.3-r1.ebuild +++ /dev/null @@ -1,342 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..21} ) -PYTHON_COMPAT=( python3_{13..14} ) -inherit llvm-r2 python-single-r1 toolchain-funcs - -DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language" -HOMEPAGE="https://www.swift.org" - -SRC_URI=" - https://github.com/apple/swift-argument-parser/archive/refs/tags/1.6.1.tar.gz -> swift-argument-parser-1.6.1.tar.gz - https://github.com/apple/swift-asn1/archive/refs/tags/1.0.0.tar.gz -> swift-asn1-1.0.0.tar.gz - https://github.com/apple/swift-async-algorithms/archive/refs/tags/1.0.1.tar.gz -> swift-async-algorithms-1.0.1.tar.gz - https://github.com/apple/swift-atomics/archive/refs/tags/1.2.0.tar.gz -> swift-atomics-1.2.0.tar.gz - https://github.com/apple/swift-certificates/archive/refs/tags/1.0.1.tar.gz -> swift-certificates-1.0.1.tar.gz - https://github.com/apple/swift-collections/archive/refs/tags/1.1.6.tar.gz -> swift-collections-1.1.6.tar.gz - https://github.com/apple/swift-crypto/archive/refs/tags/3.12.5.tar.gz -> swift-crypto-3.12.5.tar.gz - https://github.com/apple/swift-log/archive/refs/tags/1.5.4.tar.gz -> swift-log-1.5.4.tar.gz - https://github.com/apple/swift-nio/archive/refs/tags/2.65.0.tar.gz -> swift-nio-2.65.0.tar.gz - https://github.com/apple/swift-numerics/archive/refs/tags/1.0.2.tar.gz -> swift-numerics-1.0.2.tar.gz - https://github.com/apple/swift-system/archive/refs/tags/1.5.0.tar.gz -> swift-system-1.5.0.tar.gz - https://github.com/microsoft/mimalloc/archive/refs/tags/v3.0.1.tar.gz -> mimalloc-v3.0.1.tar.gz - https://github.com/swiftlang/indexstore-db/archive/refs/tags/${P}-RELEASE.tar.gz -> indexstore-db-${PV}.tar.gz - https://github.com/swiftlang/llvm-project/archive/refs/tags/${P}-RELEASE.tar.gz -> llvm-project-${PV}.tar.gz - https://github.com/swiftlang/sourcekit-lsp/archive/refs/tags/${P}-RELEASE.tar.gz -> sourcekit-lsp-${PV}.tar.gz - https://github.com/swiftlang/swift-build/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-build-${PV}.tar.gz - https://github.com/swiftlang/swift-cmark/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-cmark-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-libdispatch/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-libdispatch-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-xctest/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-xctest-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-render-artifact/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-render-artifact-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-symbolkit/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-symbolkit-${PV}.tar.gz - https://github.com/swiftlang/swift-docc/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-${PV}.tar.gz - https://github.com/swiftlang/swift-driver/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-driver-${PV}.tar.gz - https://github.com/swiftlang/swift-experimental-string-processing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-experimental-string-processing-${PV}.tar.gz - https://github.com/swiftlang/swift-format/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-format-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation-icu/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-icu-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-installer-scripts/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-installer-scripts-${PV}.tar.gz - https://github.com/swiftlang/swift-integration-tests/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-integration-tests-${PV}.tar.gz - https://github.com/swiftlang/swift-llbuild/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llbuild-${PV}.tar.gz - https://github.com/swiftlang/swift-llvm-bindings/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llvm-bindings-${PV}.tar.gz - https://github.com/swiftlang/swift-lmdb/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-lmdb-${PV}.tar.gz - https://github.com/swiftlang/swift-markdown/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-markdown-${PV}.tar.gz - https://github.com/swiftlang/swift-package-manager/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-package-manager-${PV}.tar.gz - https://github.com/swiftlang/swift-stress-tester/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-stress-tester-${PV}.tar.gz - https://github.com/swiftlang/swift-subprocess/archive/refs/tags/0.2.1.tar.gz -> swift-subprocess-0.2.1.tar.gz - https://github.com/swiftlang/swift-syntax/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-syntax-${PV}.tar.gz - https://github.com/swiftlang/swift-testing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-testing-${PV}.tar.gz - https://github.com/swiftlang/swift-toolchain-sqlite/archive/refs/tags/1.0.7.tar.gz -> swift-toolchain-sqlite-1.0.7.tar.gz - https://github.com/swiftlang/swift-tools-protocols/archive/refs/tags/0.0.9.tar.gz -> swift-tools-protocols-0.0.9.tar.gz - https://github.com/swiftlang/swift-tools-support-core/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-tools-support-core-${PV}.tar.gz - https://github.com/swiftlang/swift/archive/refs/tags/${P}-RELEASE.tar.gz -> ${P}.tar.gz -" - -PATCHES=( - "${FILESDIR}/${PF}/backtracing-noexecstack.patch" - "${FILESDIR}/${PF}/disable-libdispatch-private-header-check.patch" - "${FILESDIR}/${PF}/disable-libdispatch-werror.patch" - "${FILESDIR}/${PF}/fix-issues-caused-by-build-system-updates.patch" - "${FILESDIR}/${PF}/link-ncurses-tinfo.patch" - "${FILESDIR}/${PF}/link-with-lld.patch" - "${FILESDIR}/${PF}/respect-c-cxx-flags.patch" -) - -S="${WORKDIR}" -LICENSE="Apache-2.0" -SLOT="6/3" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="strip" - -RDEPEND=" - ${PYTHON_DEPS} - !~dev-lang/swift-5.10.1:0 - >=app-arch/zstd-1.5 - >=app-eselect/eselect-swift-1.0-r1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=net-misc/curl-8.9.1 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - dev-lang/python - $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}=') -" - -BDEPEND=" - ${PYTHON_DEPS} - >=dev-build/cmake-3.30.2 - >=dev-build/ninja-1.13.1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=dev-util/patchelf-0.18 - >=dev-vcs/git-2.39 - >=sys-apps/coreutils-9 - >=sys-devel/gcc-11 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - || ( - dev-lang/swift - dev-lang/swift-bootstrap - ) - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/lld:${LLVM_SLOT}= - ') - dev-lang/python - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_{12..13}) -" - -SWIFT_BUILD_PRESETS_INI_PATH="${S}/gentoo-build-presets.ini" -SWIFT_BUILD_PRESET='gentoo' -PKG_PREINST_SWIFT_INTENTIONALLY_SET='true' - -# Adapted from `flag-o-matic.eclass`'s `raw-ldflags`: turns GCC-style flags -# (`-Wl,-foo`) into Clang-style flags (`-Xlinker -foo`). -clang-ldflags() { - local flag input="$@" - [[ -z ${input} ]] && input=${LDFLAGS} - set -- - for flag in ${input//,/ } ; do - case ${flag} in - -Wl) ;; - *) set -- "$@" "-Xlinker ${flag}" ;; - esac - done - echo "$@" -} - -pkg_setup() { - # Sets `${EPYTHON}` according to `PYTHON_SINGLE_TARGET`, sets up - # `${T}/${EPYTHON}` with that version, and adds it to the `PATH`. - python_setup - - # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure - # we're using the toolchain for compilation. - llvm-r2_pkg_setup -} - -src_unpack() { - default - - # The Swift project expects a specific directory structure that we have to - # match. For most directories, it's enough to trim the version number at the - # end: - find "${S}" \ - -mindepth 1 -maxdepth 1 \ - -execdir sh -c \ - "mv '{}' \"\$(echo '{}' | sed -e 's_-\(swift-${PV}-RELEASE\|\([0-9]\+\.\)*[0-9]\+\)\$__' | tr '[:upper:]' '[:lower:]')\"" ';' \ - || die - - # Some one-off fixups: - pushd "${S}" \ - && mv 'swift-cmark' 'cmark' \ - && mv 'swift-llbuild' 'llbuild' \ - && mv 'swift-package-manager' 'swiftpm' \ - && popd \ - || die -} - -src_configure() { - CC="$(type -P clang)" - CXX="$(type -P clang++)" - LD="$(type -P ld.lld)" - - # Swift builds with CMake, which picks up `LDFLAGS` from the environment and - # populates `CMAKE_EXE_LINKER_FLAGS` with them. `LDFLAGS` are typically - # given as GCC-style flags (`-Wlinker,foo`), which Clang understands; - # unfortunately, CMake passes these flags to all compilers under the - # assumption they support the same syntax, but `swiftc` _only_ understands - # Clang-style flags (`-Xlinker -foo`). In order to pass `LDFLAGS` in, we - # have to turn them into a format that `swiftc` will understand. - # - # We can do this because we know we're compiling with Clang specifically. - export LDFLAGS="$(clang-ldflags)" - - # Extend the 'gentoo' build preset with user-specified flags and flags for - # libc++ systems. - cp "${FILESDIR}/${PF}/gentoo.ini" "${SWIFT_BUILD_PRESETS_INI_PATH}" - local extra_build_flags=() - - # Setting `-j<n>`/`--jobs=<n>` in MAKEOPTS needs to be manually exposed to - # the Swift build system. - if [[ -n "${MAKEOPTS}" ]]; then - local num_jobs make_opts=( $(getopt -qu -o 'j:' -l 'jobs:' -- ${MAKEOPTS}) ) - while [[ "${#make_opts[@]}" -gt 1 ]]; do - case "${make_opts[0]}" in - -j | --jobs ) - num_jobs="${make_opts[1]}" - make_opts=("${make_opts[@]:2}") ;; - -- ) break ;; - * ) make_opts=("${make_opts[@]:1}") ;; - esac - done - - if [[ -n "${num_jobs}" ]]; then - extra_build_flags+=(--jobs="${num_jobs}") - fi - fi - - if [[ "$(tc-get-cxx-stdlib)" = 'libc++' ]]; then - # On systems which use libc++ as their default C++ stdlib (e.g. systems - # with the LLVM profile), we want to build the internal libc++ and - # ensure we link against it. - extra_build_flags+=( - --libcxx - --extra-cmake-options=-DCLANG_DEFAULT_CXX_STDLIB=libc++ - ) - fi - - extra_build_flags+=(${SWIFT_EXTRA_BUILD_FLAGS}) - - local orig_preset="${SWIFT_BUILD_PRESET}" - local preset="${orig_preset}" - local n=1 - - { - for arg in "${extra_build_flags[@]}"; do - local next="${orig_preset},${n}" - printf '[preset: %s]\n' "${next}" - printf 'mixin-preset=%s\n' "${preset}" - echo "${arg#--}" - preset="${next}" - n="$((n + 1))" - done - } >> "${SWIFT_BUILD_PRESETS_INI_PATH}" - - SWIFT_BUILD_PRESET="${preset}" -} - -src_compile() { - # Building swift-driver writes to this directory for some reason, but the - # contents are irrelevant. - addpredict /var/lib/portage/home/.swiftpm - - # Versions of Swift 6.0 and later require an existing Swift compiler to - # bootstrap from. We can use any version from 5.10.1 and on. - local swift_version="$(best_version -b "${CATEGORY}/${PN}")" - swift_version="${swift_version#${CATEGORY}/}" # reduce to ${PVR} form - swift_version="${swift_version%-r[[:digit:]]*}" # reduce to ${P} form - - local original_path="${PATH}" - export PATH="/usr/lib64/${swift_version}/usr/bin:${original_path}" - "${S}/swift/utils/build-script" \ - --preset-file="${S}/swift/utils/build-presets.ini" \ - --preset-file="${SWIFT_BUILD_PRESETS_INI_PATH}" \ - --preset="${SWIFT_BUILD_PRESET}" \ - install_destdir="${S}/${P}" \ - installable_package="" \ - || die - - export PATH="${original_path}" -} - -src_install() { - # `libTesting` as built has its RPATH set to the absolute path to its - # containing dir, which is in the build sandbox. This directory won't exist - # after installation, and is the same as '$ORIGIN'. - patchelf --set-rpath '$ORIGIN' "${S}/${P}/usr/lib/swift/linux/libTesting.so" || die - - # The Swift build output is intended to be self-contained, and is - # _significantly_ easier to leave as-is than attempt to splat onto the - # filesystem; we'll install the output versioned into `/usr/$(get_libdir)` - # and expose the relevant binaries via linking. - local dest_dir="/usr/$(get_libdir)/${P}" - mkdir -p "${ED}/${dest_dir}" \ - && cp -pPR "${S}/${P}/." "${ED}/${dest_dir}" \ - || die - - # Swift ships with its own `clang`, `lldb`, etc.; we don't want these to be - # exposed externally, so we'll just symlink Swift-specific binaries into - # `/usr/bin`. (The majority of executables don't need to be exposed as - # `swift <command>` calls `swift-<command>` directly.) - local bin - for bin in swift swiftc sourcekit-lsp; do - # We only install versioned symlinks; non-versioned links are maanged - # via `eselect swift`. - dosym -r "${dest_dir}/usr/bin/${bin}" "/usr/bin/${bin}-${PV}" - done -} - -pkg_preinst() { - # After installation, we ideally want the system to have the latest Swift - # version set -- but if the system already has a Swift version set and it - # isn't the latest version, that's likely an intentional decision that we - # don't want to override. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - local latest_swift_version="$(eselect swift show --latest | tail -n1 | xargs)" - [[ "${current_swift_version}" == '(unset)' ]] \ - || [[ "${current_swift_version}" == "${latest_swift_version}" ]] \ - && PKG_PREINST_SWIFT_INTENTIONALLY_SET='false' -} - -pkg_postinst() { - # If the system doesn't have Swift intentionally set to an older version, we - # can update to the latest. - if [[ "${PKG_PREINST_SWIFT_INTENTIONALLY_SET}" == 'false' ]]; then - eselect swift update - fi - - # We also want to provide a stable directory which matches our SLOT to avoid - # revdep breakages, as patch updates use the same SLOT but otherwise move - # the install location on disk. - # - # See https://bugs.gentoo.org/957730 - # - # We do this in `pkg_postinst` instead of calling `dosym` in `src_install` - # because when upgrading from a major version to a patch version, the major - # version is still on disk while the patch version is being installed, so - # the existing directory is in use and the symlink fails to install. - local major_ver="$(ver_cut 1-2)" - if [[ "${PV}" != "${major_ver}" ]]; then - local libdir="${EROOT}/usr/$(get_libdir)" - ln -fsT "${libdir}/${P}" "${libdir}/${PN}-${major_ver}" || die - fi -} - -pkg_postrm() { - # We don't want to leave behind symlinks pointing to this Swift version on - # removal. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - if [[ "${current_swift_version}" == "${P}" ]]; then - eselect swift update - fi - - # If we installed a SLOT symlink, we also want to remove it here. - local major_ver="$(ver_cut 1-2)" - local link="${EROOT}/usr/$(get_libdir)/${PN}-${major_ver}" - if [[ -L "${link}" && "${PV}" != "${major_ver}" ]]; then - rm -f "${link}" - fi -} diff --git a/dev-lang/swift/swift-6.3.1.ebuild b/dev-lang/swift/swift-6.3.1.ebuild deleted file mode 100644 index 8de7f38ac4b3..000000000000 --- a/dev-lang/swift/swift-6.3.1.ebuild +++ /dev/null @@ -1,342 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..21} ) -PYTHON_COMPAT=( python3_{13..14} ) -inherit llvm-r2 python-single-r1 toolchain-funcs - -DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled programming language" -HOMEPAGE="https://www.swift.org" - -SRC_URI=" - https://github.com/apple/swift-argument-parser/archive/refs/tags/1.6.1.tar.gz -> swift-argument-parser-1.6.1.tar.gz - https://github.com/apple/swift-asn1/archive/refs/tags/1.0.0.tar.gz -> swift-asn1-1.0.0.tar.gz - https://github.com/apple/swift-async-algorithms/archive/refs/tags/1.0.1.tar.gz -> swift-async-algorithms-1.0.1.tar.gz - https://github.com/apple/swift-atomics/archive/refs/tags/1.2.0.tar.gz -> swift-atomics-1.2.0.tar.gz - https://github.com/apple/swift-certificates/archive/refs/tags/1.0.1.tar.gz -> swift-certificates-1.0.1.tar.gz - https://github.com/apple/swift-collections/archive/refs/tags/1.1.6.tar.gz -> swift-collections-1.1.6.tar.gz - https://github.com/apple/swift-crypto/archive/refs/tags/3.12.5.tar.gz -> swift-crypto-3.12.5.tar.gz - https://github.com/apple/swift-log/archive/refs/tags/1.5.4.tar.gz -> swift-log-1.5.4.tar.gz - https://github.com/apple/swift-nio/archive/refs/tags/2.65.0.tar.gz -> swift-nio-2.65.0.tar.gz - https://github.com/apple/swift-numerics/archive/refs/tags/1.0.2.tar.gz -> swift-numerics-1.0.2.tar.gz - https://github.com/apple/swift-system/archive/refs/tags/1.5.0.tar.gz -> swift-system-1.5.0.tar.gz - https://github.com/microsoft/mimalloc/archive/refs/tags/v3.0.1.tar.gz -> mimalloc-v3.0.1.tar.gz - https://github.com/swiftlang/indexstore-db/archive/refs/tags/${P}-RELEASE.tar.gz -> indexstore-db-${PV}.tar.gz - https://github.com/swiftlang/llvm-project/archive/refs/tags/${P}-RELEASE.tar.gz -> llvm-project-${PV}.tar.gz - https://github.com/swiftlang/sourcekit-lsp/archive/refs/tags/${P}-RELEASE.tar.gz -> sourcekit-lsp-${PV}.tar.gz - https://github.com/swiftlang/swift-build/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-build-${PV}.tar.gz - https://github.com/swiftlang/swift-cmark/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-cmark-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-libdispatch/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-libdispatch-${PV}.tar.gz - https://github.com/swiftlang/swift-corelibs-xctest/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-corelibs-xctest-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-render-artifact/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-render-artifact-${PV}.tar.gz - https://github.com/swiftlang/swift-docc-symbolkit/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-symbolkit-${PV}.tar.gz - https://github.com/swiftlang/swift-docc/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-docc-${PV}.tar.gz - https://github.com/swiftlang/swift-driver/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-driver-${PV}.tar.gz - https://github.com/swiftlang/swift-experimental-string-processing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-experimental-string-processing-${PV}.tar.gz - https://github.com/swiftlang/swift-format/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-format-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation-icu/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-icu-${PV}.tar.gz - https://github.com/swiftlang/swift-foundation/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-foundation-${PV}.tar.gz - https://github.com/swiftlang/swift-installer-scripts/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-installer-scripts-${PV}.tar.gz - https://github.com/swiftlang/swift-integration-tests/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-integration-tests-${PV}.tar.gz - https://github.com/swiftlang/swift-llbuild/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llbuild-${PV}.tar.gz - https://github.com/swiftlang/swift-llvm-bindings/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-llvm-bindings-${PV}.tar.gz - https://github.com/swiftlang/swift-lmdb/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-lmdb-${PV}.tar.gz - https://github.com/swiftlang/swift-markdown/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-markdown-${PV}.tar.gz - https://github.com/swiftlang/swift-package-manager/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-package-manager-${PV}.tar.gz - https://github.com/swiftlang/swift-stress-tester/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-stress-tester-${PV}.tar.gz - https://github.com/swiftlang/swift-subprocess/archive/refs/tags/0.2.1.tar.gz -> swift-subprocess-0.2.1.tar.gz - https://github.com/swiftlang/swift-syntax/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-syntax-${PV}.tar.gz - https://github.com/swiftlang/swift-testing/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-testing-${PV}.tar.gz - https://github.com/swiftlang/swift-toolchain-sqlite/archive/refs/tags/1.0.7.tar.gz -> swift-toolchain-sqlite-1.0.7.tar.gz - https://github.com/swiftlang/swift-tools-protocols/archive/refs/tags/0.0.9.tar.gz -> swift-tools-protocols-0.0.9.tar.gz - https://github.com/swiftlang/swift-tools-support-core/archive/refs/tags/${P}-RELEASE.tar.gz -> swift-tools-support-core-${PV}.tar.gz - https://github.com/swiftlang/swift/archive/refs/tags/${P}-RELEASE.tar.gz -> ${P}.tar.gz -" - -PATCHES=( - "${FILESDIR}/${PF}/backtracing-noexecstack.patch" - "${FILESDIR}/${PF}/disable-libdispatch-private-header-check.patch" - "${FILESDIR}/${PF}/disable-libdispatch-werror.patch" - "${FILESDIR}/${PF}/fix-issues-caused-by-build-system-updates.patch" - "${FILESDIR}/${PF}/link-ncurses-tinfo.patch" - "${FILESDIR}/${PF}/link-with-lld.patch" - "${FILESDIR}/${PF}/respect-c-cxx-flags.patch" -) - -S="${WORKDIR}" -LICENSE="Apache-2.0" -SLOT="6/3" -KEYWORDS="~amd64" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="strip" - -RDEPEND=" - ${PYTHON_DEPS} - !~dev-lang/swift-5.10.1:0 - >=app-arch/zstd-1.5 - >=app-eselect/eselect-swift-1.0-r1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=net-misc/curl-8.9.1 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - dev-lang/python - $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}=') -" - -BDEPEND=" - ${PYTHON_DEPS} - >=dev-build/cmake-3.30.2 - >=dev-build/ninja-1.13.1 - >=dev-db/sqlite-3 - >=dev-libs/icu-69 - >=dev-libs/libedit-20221030 - >=dev-libs/libxml2-2.11.5 - >=dev-util/patchelf-0.18 - >=dev-vcs/git-2.39 - >=sys-apps/coreutils-9 - >=sys-devel/gcc-11 - >=sys-libs/ncurses-6 - >=virtual/zlib-1.3.1:= - || ( - dev-lang/swift - dev-lang/swift-bootstrap - ) - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/lld:${LLVM_SLOT}= - ') - dev-lang/python - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_{12..13}) -" - -SWIFT_BUILD_PRESETS_INI_PATH="${S}/gentoo-build-presets.ini" -SWIFT_BUILD_PRESET='gentoo' -PKG_PREINST_SWIFT_INTENTIONALLY_SET='true' - -# Adapted from `flag-o-matic.eclass`'s `raw-ldflags`: turns GCC-style flags -# (`-Wl,-foo`) into Clang-style flags (`-Xlinker -foo`). -clang-ldflags() { - local flag input="$@" - [[ -z ${input} ]] && input=${LDFLAGS} - set -- - for flag in ${input//,/ } ; do - case ${flag} in - -Wl) ;; - *) set -- "$@" "-Xlinker ${flag}" ;; - esac - done - echo "$@" -} - -pkg_setup() { - # Sets `${EPYTHON}` according to `PYTHON_SINGLE_TARGET`, sets up - # `${T}/${EPYTHON}` with that version, and adds it to the `PATH`. - python_setup - - # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure - # we're using the toolchain for compilation. - llvm-r2_pkg_setup -} - -src_unpack() { - default - - # The Swift project expects a specific directory structure that we have to - # match. For most directories, it's enough to trim the version number at the - # end: - find "${S}" \ - -mindepth 1 -maxdepth 1 \ - -execdir sh -c \ - "mv '{}' \"\$(echo '{}' | sed -e 's_-\(swift-${PV}-RELEASE\|\([0-9]\+\.\)*[0-9]\+\)\$__' | tr '[:upper:]' '[:lower:]')\"" ';' \ - || die - - # Some one-off fixups: - pushd "${S}" \ - && mv 'swift-cmark' 'cmark' \ - && mv 'swift-llbuild' 'llbuild' \ - && mv 'swift-package-manager' 'swiftpm' \ - && popd \ - || die -} - -src_configure() { - CC="$(type -P clang)" - CXX="$(type -P clang++)" - LD="$(type -P ld.lld)" - - # Swift builds with CMake, which picks up `LDFLAGS` from the environment and - # populates `CMAKE_EXE_LINKER_FLAGS` with them. `LDFLAGS` are typically - # given as GCC-style flags (`-Wlinker,foo`), which Clang understands; - # unfortunately, CMake passes these flags to all compilers under the - # assumption they support the same syntax, but `swiftc` _only_ understands - # Clang-style flags (`-Xlinker -foo`). In order to pass `LDFLAGS` in, we - # have to turn them into a format that `swiftc` will understand. - # - # We can do this because we know we're compiling with Clang specifically. - export LDFLAGS="$(clang-ldflags)" - - # Extend the 'gentoo' build preset with user-specified flags and flags for - # libc++ systems. - cp "${FILESDIR}/${PF}/gentoo.ini" "${SWIFT_BUILD_PRESETS_INI_PATH}" - local extra_build_flags=() - - # Setting `-j<n>`/`--jobs=<n>` in MAKEOPTS needs to be manually exposed to - # the Swift build system. - if [[ -n "${MAKEOPTS}" ]]; then - local num_jobs make_opts=( $(getopt -qu -o 'j:' -l 'jobs:' -- ${MAKEOPTS}) ) - while [[ "${#make_opts[@]}" -gt 1 ]]; do - case "${make_opts[0]}" in - -j | --jobs ) - num_jobs="${make_opts[1]}" - make_opts=("${make_opts[@]:2}") ;; - -- ) break ;; - * ) make_opts=("${make_opts[@]:1}") ;; - esac - done - - if [[ -n "${num_jobs}" ]]; then - extra_build_flags+=(--jobs="${num_jobs}") - fi - fi - - if [[ "$(tc-get-cxx-stdlib)" = 'libc++' ]]; then - # On systems which use libc++ as their default C++ stdlib (e.g. systems - # with the LLVM profile), we want to build the internal libc++ and - # ensure we link against it. - extra_build_flags+=( - --libcxx - --extra-cmake-options=-DCLANG_DEFAULT_CXX_STDLIB=libc++ - ) - fi - - extra_build_flags+=(${SWIFT_EXTRA_BUILD_FLAGS}) - - local orig_preset="${SWIFT_BUILD_PRESET}" - local preset="${orig_preset}" - local n=1 - - { - for arg in "${extra_build_flags[@]}"; do - local next="${orig_preset},${n}" - printf '[preset: %s]\n' "${next}" - printf 'mixin-preset=%s\n' "${preset}" - echo "${arg#--}" - preset="${next}" - n="$((n + 1))" - done - } >> "${SWIFT_BUILD_PRESETS_INI_PATH}" - - SWIFT_BUILD_PRESET="${preset}" -} - -src_compile() { - # Building swift-driver writes to this directory for some reason, but the - # contents are irrelevant. - addpredict /var/lib/portage/home/.swiftpm - - # Versions of Swift 6.0 and later require an existing Swift compiler to - # bootstrap from. We can use any version from 5.10.1 and on. - local swift_version="$(best_version -b "${CATEGORY}/${PN}")" - swift_version="${swift_version#${CATEGORY}/}" # reduce to ${PVR} form - swift_version="${swift_version%-r[[:digit:]]*}" # reduce to ${P} form - - local original_path="${PATH}" - export PATH="/usr/lib64/${swift_version}/usr/bin:${original_path}" - "${S}/swift/utils/build-script" \ - --preset-file="${S}/swift/utils/build-presets.ini" \ - --preset-file="${SWIFT_BUILD_PRESETS_INI_PATH}" \ - --preset="${SWIFT_BUILD_PRESET}" \ - install_destdir="${S}/${P}" \ - installable_package="" \ - || die - - export PATH="${original_path}" -} - -src_install() { - # `libTesting` as built has its RPATH set to the absolute path to its - # containing dir, which is in the build sandbox. This directory won't exist - # after installation, and is the same as '$ORIGIN'. - patchelf --set-rpath '$ORIGIN' "${S}/${P}/usr/lib/swift/linux/libTesting.so" || die - - # The Swift build output is intended to be self-contained, and is - # _significantly_ easier to leave as-is than attempt to splat onto the - # filesystem; we'll install the output versioned into `/usr/$(get_libdir)` - # and expose the relevant binaries via linking. - local dest_dir="/usr/$(get_libdir)/${P}" - mkdir -p "${ED}/${dest_dir}" \ - && cp -pPR "${S}/${P}/." "${ED}/${dest_dir}" \ - || die - - # Swift ships with its own `clang`, `lldb`, etc.; we don't want these to be - # exposed externally, so we'll just symlink Swift-specific binaries into - # `/usr/bin`. (The majority of executables don't need to be exposed as - # `swift <command>` calls `swift-<command>` directly.) - local bin - for bin in swift swiftc sourcekit-lsp; do - # We only install versioned symlinks; non-versioned links are maanged - # via `eselect swift`. - dosym -r "${dest_dir}/usr/bin/${bin}" "/usr/bin/${bin}-${PV}" - done -} - -pkg_preinst() { - # After installation, we ideally want the system to have the latest Swift - # version set -- but if the system already has a Swift version set and it - # isn't the latest version, that's likely an intentional decision that we - # don't want to override. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - local latest_swift_version="$(eselect swift show --latest | tail -n1 | xargs)" - [[ "${current_swift_version}" == '(unset)' ]] \ - || [[ "${current_swift_version}" == "${latest_swift_version}" ]] \ - && PKG_PREINST_SWIFT_INTENTIONALLY_SET='false' -} - -pkg_postinst() { - # If the system doesn't have Swift intentionally set to an older version, we - # can update to the latest. - if [[ "${PKG_PREINST_SWIFT_INTENTIONALLY_SET}" == 'false' ]]; then - eselect swift update - fi - - # We also want to provide a stable directory which matches our SLOT to avoid - # revdep breakages, as patch updates use the same SLOT but otherwise move - # the install location on disk. - # - # See https://bugs.gentoo.org/957730 - # - # We do this in `pkg_postinst` instead of calling `dosym` in `src_install` - # because when upgrading from a major version to a patch version, the major - # version is still on disk while the patch version is being installed, so - # the existing directory is in use and the symlink fails to install. - local major_ver="$(ver_cut 1-2)" - if [[ "${PV}" != "${major_ver}" ]]; then - local libdir="${EROOT}/usr/$(get_libdir)" - ln -fsT "${libdir}/${P}" "${libdir}/${PN}-${major_ver}" || die - fi -} - -pkg_postrm() { - # We don't want to leave behind symlinks pointing to this Swift version on - # removal. - local current_swift_version="$(eselect swift show | tail -n1 | xargs)" - if [[ "${current_swift_version}" == "${P}" ]]; then - eselect swift update - fi - - # If we installed a SLOT symlink, we also want to remove it here. - local major_ver="$(ver_cut 1-2)" - local link="${EROOT}/usr/$(get_libdir)/${PN}-${major_ver}" - if [[ -L "${link}" && "${PV}" != "${major_ver}" ]]; then - rm -f "${link}" - fi -} |
