From 3b9fa2d93af6fe69b0febf5342e417e340a74c98 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 2 May 2025 21:22:41 +0000 Subject: [PATCH] Update to main-snapshot-2025-05-14 Updates the `.swift-version` file to Swift `main-snapshot-2025-05-14`. > This PR was automatically generated. --- .swift-version | 2 +- rpi-4b-blink/Makefile | 4 ++-- rpi-5-blink/Makefile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.swift-version b/.swift-version index 79c018bd..fdb8ffbb 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -main-snapshot-2025-04-12 +main-snapshot-2025-05-14 \ No newline at end of file diff --git a/rpi-4b-blink/Makefile b/rpi-4b-blink/Makefile index da37442b..92441a75 100644 --- a/rpi-4b-blink/Makefile +++ b/rpi-4b-blink/Makefile @@ -2,7 +2,7 @@ SWIFT_EXEC ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f swift; e CLANG ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f clang; else which clang; fi) LLVM_OBJCOPY ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f llvm-objcopy; else which llvm-objcopy; fi) -BUILDROOT := $(shell $(SWIFT_EXEC) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path) +BUILDROOT := $(shell $(SWIFT_EXEC) build --configuration release --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path) .PHONY: all clean @@ -21,7 +21,7 @@ kernel8.elf: $(BUILDROOT)/libMainApp.a $(BUILDROOT)/Support.build/boot.S.o link. $(BUILDROOT)/libMainApp.a $(BUILDROOT)/Support.build/boot.S.o: @echo "🛠️ Building with Swift Package Manager..." - $(SWIFT_EXEC) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector + $(SWIFT_EXEC) build --configuration release --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector @echo "" clean: diff --git a/rpi-5-blink/Makefile b/rpi-5-blink/Makefile index da37442b..92441a75 100644 --- a/rpi-5-blink/Makefile +++ b/rpi-5-blink/Makefile @@ -2,7 +2,7 @@ SWIFT_EXEC ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f swift; e CLANG ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f clang; else which clang; fi) LLVM_OBJCOPY ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f llvm-objcopy; else which llvm-objcopy; fi) -BUILDROOT := $(shell $(SWIFT_EXEC) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path) +BUILDROOT := $(shell $(SWIFT_EXEC) build --configuration release --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path) .PHONY: all clean @@ -21,7 +21,7 @@ kernel8.elf: $(BUILDROOT)/libMainApp.a $(BUILDROOT)/Support.build/boot.S.o link. $(BUILDROOT)/libMainApp.a $(BUILDROOT)/Support.build/boot.S.o: @echo "🛠️ Building with Swift Package Manager..." - $(SWIFT_EXEC) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector + $(SWIFT_EXEC) build --configuration release --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector @echo "" clean: