diff --git a/.swift-version b/.swift-version index 79c018b..fdb8ffb 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 da37442..92441a7 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 da37442..92441a7 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: