From 31bfef4a8ea3279c32cbfc77adc79ac77d81899f Mon Sep 17 00:00:00 2001 From: Dmitry Kovba Date: Thu, 11 Sep 2025 10:17:24 -0700 Subject: [PATCH] Print the Swift version before building (#286) With the changes in this PR, we'll print the Swift version before building. This mirrors a similar change in container, introduced in https://github.com/apple/container/pull/550. --- Makefile | 1 + vminitd/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index d536a5aa..594c4698 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,7 @@ release: all .PHONY: containerization containerization: @echo Building containerization binaries... + @$(SWIFT) --version @$(SWIFT) build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION) @echo Copying containerization binaries... diff --git a/vminitd/Makefile b/vminitd/Makefile index f57003ba..7b16d73f 100644 --- a/vminitd/Makefile +++ b/vminitd/Makefile @@ -38,6 +38,7 @@ all: @mkdir -p ./bin/ @rm -f ./bin/vminitd @rm -f ./bin/vmexec + @swift --version @swift build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION) @install "$(VMINITD_BIN_PATH)/vminitd" ./bin/ @install "$(VMINITD_BIN_PATH)/vmexec" ./bin/