Skip to content

Commit

Permalink
swift: update from 5.9.1 to 5.9.2 Nov 17 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
finagolfin committed Dec 3, 2023
1 parent 4af30a9 commit df3034d
Show file tree
Hide file tree
Showing 11 changed files with 594 additions and 155 deletions.
5 changes: 2 additions & 3 deletions packages/libdispatch/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ TERMUX_PKG_DESCRIPTION="The libdispatch project, for concurrency on multicore ha
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@finagolfin"
TERMUX_PKG_VERSION="1:5.9"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${TERMUX_PKG_VERSION:2}-RELEASE.tar.gz
TERMUX_PKG_SHA256=db30ccf6b20963112ab3aad256c2e49a18041a9806cf2f05854fe63a90d688c2
TERMUX_PKG_SRCURL=https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${TERMUX_PKG_VERSION:2}-DEVELOPMENT-SNAPSHOT-2023-11-17-a.tar.gz
TERMUX_PKG_SHA256=3ea7b81a7361ca94f1547aca97524ee538cf578455610498e6a5b0efbb4c58df
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_DEPENDS="libc++, libblocksruntime"
5 changes: 2 additions & 3 deletions packages/llbuild/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ TERMUX_PKG_DESCRIPTION="A low-level build system, used by the Swift Package Mana
TERMUX_PKG_LICENSE="Apache-2.0, NCSA"
TERMUX_PKG_MAINTAINER="@finagolfin"
TERMUX_PKG_VERSION=5.9
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/apple/swift-llbuild/archive/swift-${TERMUX_PKG_VERSION}-RELEASE.tar.gz
TERMUX_PKG_SHA256=cc8dfb098db4b0210ca5466f59d3e5fc55c4eedcd835263e6eae7dd719ba8203
TERMUX_PKG_SRCURL=https://github.com/apple/swift-llbuild/archive/swift-${TERMUX_PKG_VERSION}-DEVELOPMENT-SNAPSHOT-2023-11-17-a.tar.gz
TERMUX_PKG_SHA256=e06144756f75137093831ca72a61c482bc35d5ce2a8e8aa5df7d1c657a98186a
TERMUX_PKG_DEPENDS="libc++, libandroid-spawn, libsqlite"
TERMUX_PKG_NO_STATICSPLIT=true
39 changes: 19 additions & 20 deletions packages/swift/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://swift.org/
TERMUX_PKG_DESCRIPTION="Swift is a high-performance system programming language"
TERMUX_PKG_LICENSE="Apache-2.0, NCSA"
TERMUX_PKG_MAINTAINER="@finagolfin"
TERMUX_PKG_VERSION=5.9.1
TERMUX_PKG_REVISION=1
SWIFT_RELEASE="RELEASE"
TERMUX_PKG_VERSION=5.9
SWIFT_RELEASE="DEVELOPMENT-SNAPSHOT-2023-11-17-a"
TERMUX_PKG_SRCURL=https://github.com/apple/swift/archive/swift-$TERMUX_PKG_VERSION-$SWIFT_RELEASE.tar.gz
TERMUX_PKG_SHA256=d63c9743fa1d35c8c6203745955375fd69c710897de96d1c6245d2c9e42fbb49
TERMUX_PKG_SHA256=fdf62a008cf5d6407a4e12120c8e583d0cbfdef3b1a8a98efe0b82c2429dc13d
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_DEPENDS="clang, libandroid-glob, libandroid-posix-semaphore, libandroid-spawn, libcurl, libicu, libicu-static, libsqlite, libuuid, libxml2, libdispatch, llbuild, pkg-config, swift-sdk-${TERMUX_ARCH/_/-}"
Expand Down Expand Up @@ -36,26 +35,26 @@ termux_step_post_get_source() {
mv .temp swift

declare -A library_checksums
library_checksums[swift-cmark]=33dde8fc9e02a882d2adc79f1b7b77ae6397a66c73262bbdc3b49c53ab823b01
library_checksums[llvm-project]=3cd34ef37dd74a6d4d93be20fb251658e9a1e3c19aeeefd81c027023c485e286
library_checksums[swift-experimental-string-processing]=a01b2f895d49c23a4d322bfd486d4a7dcfeb96760d9c17f2e48b93428220b9ee
library_checksums[swift-syntax]=b2ab10adcfbaebdd56954f724856d6ddd327422b4109d49ec5fb96b92b078003
library_checksums[swift-corelibs-libdispatch]=bcccde91987982dca285a5c73efa0922135b6caca07bc9e5a33333b0aa869db2
library_checksums[swift-corelibs-foundation]=9835efe51b78c329042e32b2b1bd82a0816535ca08687a30c0787091cdd40884
library_checksums[swift-corelibs-xctest]=8d4cbffba2f828033a0074682d1bedd7a55d6410b6a30ca1e7c69917ab9352fe
library_checksums[swift-llbuild]=eeff879bc19de21aed72a747602212dff8ffe25833880c466a44087ffe2ed1ac
library_checksums[swift-argument-parser]=44782ba7180f924f72661b8f457c268929ccd20441eac17301f18eff3b91ce0c
library_checksums[Yams]=ec1ad699c30f0db45520006c63a88cc1c946a7d7b36dff32a96460388c0a4af2
library_checksums[sourcekit-lsp]=2c2b0943cff83b294b74930508a5cdf51ba33b647df95ac2ffad8d606d45db20
library_checksums[swift-corelibs-xctest]=815d21919418cf1b16414b712878c58710bad759ee25278207eb821ea518d9da
library_checksums[swift-corelibs-foundation]=f5902d01570515797860199e4bf5a36ba54b85c7d4b9ee7258bd0f58e751e19e
library_checksums[swift-collections]=575cf0f88d9068411f9acc6e3ca5d542bef1cc9e87dc5d69f7b5a1d5aec8c6b6
library_checksums[swift-crypto]=a7b2f5c4887ccd728cdff5d1162b4d4d36bd6c2df9c0c31d5b9b73d341c5c1bb
library_checksums[swift-driver]=7f40434a479dc632d499bda6821d37fffda5f815accd57a029019cbbe797492b
library_checksums[swift-argument-parser]=44782ba7180f924f72661b8f457c268929ccd20441eac17301f18eff3b91ce0c
library_checksums[swift-syntax]=9f35d4915da528c06665982a9e0a2d378efe879edcba61a17f0bcf050b19132c
library_checksums[swift-llbuild]=e06144756f75137093831ca72a61c482bc35d5ce2a8e8aa5df7d1c657a98186a
library_checksums[swift-corelibs-libdispatch]=3ea7b81a7361ca94f1547aca97524ee538cf578455610498e6a5b0efbb4c58df
library_checksums[swift-system]=865b8c380455eef27e73109835142920c60ae4c4f4178a3d12ad04acc83f1371
library_checksums[swift-asn1]=d4470d61788194abbd60ed73965ee0722cc25037e83d41226a8a780088ba524e
library_checksums[swift-tools-support-core]=01caf5d52b64207b70c1ad939b5c8e7362a63afd263b8187b04dca7d08bf87c3
library_checksums[swift-package-manager]=08df8c1cd65de26c0f0f582e07295b7b9ce41ed1b7f2718d70786b4393029b70
library_checksums[swift-cmark]=c12450e2d1cb4cd81080856b7d8ebd92fc9277aff364439b82fb1257761b8cab
library_checksums[indexstore-db]=560026d489c7d043eb5eef32078268e41b7582a143ebce4e5cddadc16d9ac8ec
library_checksums[swift-certificates]=d7699ce91d65a622c1b9aaa0235cbbbd1be4ddc42a90fce007ff74bef50e8985
library_checksums[swift-driver]=4fc7965cd477daf61ff2d5b555007a195dc601e9864ee6d494826a7aa7ff31c7
library_checksums[swift-tools-support-core]=e261dfdfc964a770c545c66267108c77692d06977c0d0bb437498f79ec23365c
library_checksums[swift-package-manager]=8e08b39fd7eb5329539514358d470bd84218a8b4ce53962d7fe3797f51adf59b
library_checksums[indexstore-db]=0789b254455e6f216b8d907ebc8fe5927106ae3a7a099d6478bbb9e6fac9b9fb
library_checksums[sourcekit-lsp]=0fd130c814a35b3ba2b6b6d01979923fd57b3f453d154860ec2f53f9ade38023
library_checksums[swift-crypto]=a7b2f5c4887ccd728cdff5d1162b4d4d36bd6c2df9c0c31d5b9b73d341c5c1bb
library_checksums[llvm-project]=5a76c9fa59f00e82e0033a18510432845d8fe0429a9fcf02d478985fdf9830f8
library_checksums[swift-experimental-string-processing]=d8282c85e84c819e554b7b1a80287369e12fb990b52869f474b3436c88b8e08f
library_checksums[Yams]=ec1ad699c30f0db45520006c63a88cc1c946a7d7b36dff32a96460388c0a4af2

for library in "${!library_checksums[@]}"; do \
GH_ORG="apple"
Expand Down
2 changes: 1 addition & 1 deletion packages/swift/swift-modify-astgen.patch
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ index eb2be48a8a8..82bbca53bf4 100644
+
var text = node.name.text
let id = text.withUTF8 { buf in
return SwiftASTContext_getIdentifier(ctx, buf.baseAddress, buf.count)
return SwiftASTContext_getIdentifier(ctx, buf.baseAddress, SwiftInt(buf.count))
@@ -19,7 +24,7 @@ extension ASTGenVisitor {
let rAngle = self.base.advanced(by: generics.rightAngleBracket.position.utf8Offset).raw
return .type(
Expand Down
2 changes: 1 addition & 1 deletion packages/swift/swift-move-regex-literals.patch
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ index 0f798f961db94..fc2c07d5381f8 100644
+ void * _Nullable raw;
} BridgedDiagnosticEngine;

typedef enum ENUM_EXTENSIBILITY_ATTR(open) BridgedMacroDefinitionKind : long {
typedef enum ENUM_EXTENSIBILITY_ATTR(open) BridgedMacroDefinitionKind : SwiftInt {
@@ -434,6 +434,53 @@ void Decl_dump(void *decl);
void Stmt_dump(void *statement);
void Type_dump(void *type);
Expand Down
Loading

0 comments on commit df3034d

Please sign in to comment.