mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Update bootstrap script for Swift 6.1 on Ubuntu 25.04
- Bump Swift version from 5.5.2 to 6.1 - Update to Ubuntu 24.04 binaries (compatible with 25.04) - Update package dependencies for newer Ubuntu: - libgcc-9-dev → libgcc-s1 - libpython2.7 → libpython3.12 - libstdc++-9-dev → libstdc++-14-dev - Fix Swift download URL to use download.swift.org 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
4e215d6c3b
commit
17aff11e43
1 changed files with 6 additions and 6 deletions
|
|
@ -3,8 +3,8 @@
|
|||
# bail on errors and unset variables
|
||||
set -euo pipefail
|
||||
|
||||
SWIFT_VERSION=5.5.2
|
||||
SWIFT_DIR=swift-$SWIFT_VERSION-RELEASE-ubuntu20.04
|
||||
SWIFT_VERSION=6.1
|
||||
SWIFT_DIR=swift-$SWIFT_VERSION-RELEASE-ubuntu24.04
|
||||
SWIFT_FILENAME=$SWIFT_DIR.tar.gz
|
||||
|
||||
if [[ $(uname) = "Linux" ]]; then
|
||||
|
|
@ -15,10 +15,10 @@ if [[ $(uname) = "Linux" ]]; then
|
|||
libc6-dev \
|
||||
libcurl4 \
|
||||
libedit2 \
|
||||
libgcc-9-dev \
|
||||
libpython2.7 \
|
||||
libgcc-s1 \
|
||||
libpython3.12 \
|
||||
libsqlite3-0 \
|
||||
libstdc++-9-dev \
|
||||
libstdc++-14-dev \
|
||||
libxml2 \
|
||||
libz3-dev \
|
||||
pkg-config \
|
||||
|
|
@ -33,7 +33,7 @@ if [[ $(uname) = "Linux" ]]; then
|
|||
if [[ -e $SWIFT_FILENAME ]]; then
|
||||
echo "*** $SWIFT_FILENAME exists, skipping download"
|
||||
else
|
||||
wget https://swift.org/builds/swift-$SWIFT_VERSION-release/ubuntu2004/swift-$SWIFT_VERSION-RELEASE/$SWIFT_FILENAME
|
||||
wget https://download.swift.org/swift-$SWIFT_VERSION-release/ubuntu2404/swift-$SWIFT_VERSION-RELEASE/$SWIFT_FILENAME
|
||||
fi
|
||||
if [[ -e $SWIFT_DIR ]]; then
|
||||
echo "*** $SWIFT_DIR exists, skipping extraction"
|
||||
|
|
|
|||
Loading…
Reference in a new issue