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

Update Swift version requirements in README #1592

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# **Do not change without a global search/replace for this version string.**
ARG SWIFT_VERSION=5.10
# Other ARG declarations must follow FROM
FROM swift:${SWIFT_VERSION}
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
// **Do not change without a global search/replace for this version string.**
"SWIFT_VERSION" : "5.10",
"HYLO_LLVM_BUILD_TYPE": "${localEnv:HYLO_LLVM_BUILD_TYPE:MinSizeRel}"
}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ on:
env:
spm-build-options: -Xswiftc -enable-testing --explicit-target-dependency-import-check error
spm-test-options: --parallel
# **Do not change without a global search/replace for this version string.**
swift-version: '5.10'

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/doc-extraction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
env:
llvm_url_prefix: https://github.com/hylo-lang/llvm-build/releases/download/20240303-215025
llvm_package_basename: llvm-17.0.6-arm64-apple-darwin23.3.0-MinSizeRel
# **Do not change without a global search/replace for this version string.**
swift-version: '5.10'

steps:
Expand Down
10 changes: 1 addition & 9 deletions .spi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: 1
builder:
configs:
- platform: linux
# **Do not change without a global search/replace for this version string.**
swift_version: '5.10'
image: registry.gitlab.com/finestructure/spi-images:hylo-5.10-latest
documentation_targets:
Expand All @@ -21,12 +22,3 @@ builder:
--source-service-base-url, https://github.com/hylo-lang/hylo/blob/main,
--checkout-path, .
]
- platform: linux
swift_version: '5.9'
image: registry.gitlab.com/finestructure/spi-images:hylo-5.9-latest
- platform: linux
swift_version: '5.8'
image: registry.gitlab.com/finestructure/spi-images:hylo-5.8-latest
- platform: linux
swift_version: '5.7'
image: registry.gitlab.com/finestructure/spi-images:hylo-5.7-latest
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// **Do not change without a global search/replace for this version string.**
// swift-tools-version:5.10
import Foundation
import PackageDescription
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Please visit our [website](https://hylo-lang.org) to get more information about
## Developement/Use Requirements

This project is written in [Swift](https://swift.org) and distributed in the form of a package, built with [Swift Package Manager](https://swift.org/package-manager/).
You will need Swift 5.9 or higher to build the compiler from sources.
You will need Swift 5.10 or higher to build the compiler from sources.

**This repository contains
[submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules)**,
Expand Down
Loading