Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
marcprux committed Oct 1, 2024
1 parent 098ce24 commit 27cd205
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,13 +493,10 @@ jobs:
run: |
if [[ ${{ matrix.version }} = 'release' ]]; then
TAG="${{ needs.get-latest-toolchain.outputs.release-version }}"
echo "latest=$(echo $TAG | cut -d- -f2)" >> $GITHUB_OUTPUT
elif [ ${{ matrix.version }} = 'devel' ]; then
TAG="${{ needs.get-latest-toolchain.outputs.devel-version }}"
echo "latest=$(echo $TAG | cut -d- -f5-7)" >> $GITHUB_OUTPUT
else
TAG="${{ needs.get-latest-toolchain.outputs.trunk-version }}"
echo "latest=$(echo $TAG | cut -d- -f4-6)" >> $GITHUB_OUTPUT
fi
echo "tag=$TAG" >> $GITHUB_OUTPUT
# download the previously-cached artifacts for the matrix version
Expand Down
6 changes: 6 additions & 0 deletions get-packages-and-swift-source.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ _ = runCommand("patchelf", with: ["--set-rpath", "$ORIGIN",
"\(sdkPath.appendingPathComponent("usr/lib/libcurl.so"))",
"\(sdkPath.appendingPathComponent("usr/lib/libxml2.so"))"])

// TODO: need to de-version .so SONAME and NEEDS in order to support loading from .apk files:
// patchelf --replace-needed libssl.so.3 libssl.so libcurl.so
// patchelf --replace-needed libssl.so.3 libssl.so libssh2.so
// patchelf --set-soname libssl.so libssl.so.3
// and so on, for each versioned library…

for repo in swiftRepos {
print("Checking for \(repo) source")
if !fmd.fileExists(atPath: cwd.appendingPathComponent(repo)) {
Expand Down

0 comments on commit 27cd205

Please sign in to comment.