From 354acdaf8a602f3f0c58d20b321284c7e31397af Mon Sep 17 00:00:00 2001 From: Mohammad Aamir Afroz Date: Wed, 9 Oct 2024 15:55:27 +0530 Subject: [PATCH] porting Blender-Benchmark for Windows ARM64 --- launcher/Makefile | 4 ++-- launcher/freetype2/Makefile | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/launcher/Makefile b/launcher/Makefile index 49690f1..f13d906 100644 --- a/launcher/Makefile +++ b/launcher/Makefile @@ -155,14 +155,14 @@ $(CLI_EXE_FILE)-arm64: $(DEPENDENCIES_CLI) $(CLI_EXE_FILE): $(CLI_EXE_FILE)-amd64 $(CLI_EXE_FILE)-arm64 lipo -create -output $(@) $(CLI_EXE_FILE)-amd64 $(CLI_EXE_FILE)-arm64 else +ARCH := $(shell go env GOARCH) + .PHONY: $(GUI_EXE_FILE) $(GUI_EXE_FILE): freetype2 assets $(DEPENDENCIES_GUI) - $(eval ARCH := amd64) $(call run-build-gui) .PHONY: $(CLI_EXE_FILE) $(CLI_EXE_FILE): $(DEPENDENCIES_CLI) - $(eval ARCH := amd64) $(call run-build-cli) endif diff --git a/launcher/freetype2/Makefile b/launcher/freetype2/Makefile index 5c92605..3b8c814 100644 --- a/launcher/freetype2/Makefile +++ b/launcher/freetype2/Makefile @@ -65,7 +65,11 @@ build-amd64/bin/lib/libfreetype.a: $(eval ARCH_NAME := amd64) $(call run-build) -build: build-amd64/bin/lib/libfreetype.a +build-arm64/bin/lib/libfreetype.a: + $(eval ARCH_NAME := arm64) + $(call run-build) + +build: build-amd64/bin/lib/libfreetype.a build-arm64/bin/lib/libfreetype.a endif clean: -- 2.30.2