Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support jammy and amazonlinux2 for toolchain install #397

Merged
merged 2 commits into from
May 4, 2023

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented May 4, 2023

Close #394

Manually tested on amazonlinu2 and jammy

$ docker run -v $PWD:$PWD -w $PWD --rm -it swift:5.7-amazonlinux2 bash
# yum install sqlite-devel -y
# swift build --scratch-path .build/amazonlinux2
# .build/amazonlinux2/debug/carton sdk install
- checking Swift compiler path: /root/.carton/sdk/wasm-5.7.1-RELEASE/usr/bin/swift
- checking Swift compiler path: /root/.swiftenv/versions/wasm-5.7.1-RELEASE/usr/bin/swift
Fetching release assets from https://api.github.com/repos/swiftwasm/swift/releases/tags/swift-wasm-5.7.1-RELEASE
Response contained body, parsing it now...
Response succesfully parsed, choosing from this number of assets: 6
Local installation of Swift version wasm-5.7.1-RELEASE not found
Swift toolchain/SDK download URL: https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.7.1-RELEASE/swift-wasm-5.7.1-RELEASE-amazonlinux2_x86_64.tar.gz
Archive size is 860 MB
                                                                                                        Downloading the archive
99% [============================================Download completed successfully=======================================================================================================================================---]
Unpacking the archive: tar xzf /root/.carton/sdk/wasm-5.7.1-RELEASE.gz --strip-components=1 --directory /root/.carton/sdk/wasm-5.7.1-RELEASE
- checking Swift compiler path: /root/.carton/sdk/wasm-5.7.1-RELEASE/usr/bin/swift
Inferring basic settings...
- swift executable: /root/.carton/sdk/wasm-5.7.1-RELEASE/usr/bin/swift
SwiftWasm Swift version 5.7.1 (swiftlang-5.7.1)
Target: x86_64-unknown-linux-gnu

Parsing package manifest:
[debug]: evaluating manifest for 'carton' v. unknown
SDK successfully installed!

@kateinoigakukun kateinoigakukun added the enhancement New feature or request label May 4, 2023
@kateinoigakukun kateinoigakukun requested a review from a team May 4, 2023 14:36
@kateinoigakukun kateinoigakukun merged commit 44b7dbd into main May 4, 2023
@kateinoigakukun kateinoigakukun deleted the katei/support-jammy branch May 4, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Ubuntu 22.04 LTS for toolchain downloader
2 participants