porting Blender-Benchmark for Windows ARM64 #101875
@ -155,14 +155,14 @@ $(CLI_EXE_FILE)-arm64: $(DEPENDENCIES_CLI)
|
|||||||
$(CLI_EXE_FILE): $(CLI_EXE_FILE)-amd64 $(CLI_EXE_FILE)-arm64
|
$(CLI_EXE_FILE): $(CLI_EXE_FILE)-amd64 $(CLI_EXE_FILE)-arm64
|
||||||
lipo -create -output $(@) $(CLI_EXE_FILE)-amd64 $(CLI_EXE_FILE)-arm64
|
lipo -create -output $(@) $(CLI_EXE_FILE)-amd64 $(CLI_EXE_FILE)-arm64
|
||||||
else
|
else
|
||||||
|
ARCH := $(shell go env GOARCH)
|
||||||
|
|
||||||
.PHONY: $(GUI_EXE_FILE)
|
.PHONY: $(GUI_EXE_FILE)
|
||||||
$(GUI_EXE_FILE): freetype2 assets $(DEPENDENCIES_GUI)
|
$(GUI_EXE_FILE): freetype2 assets $(DEPENDENCIES_GUI)
|
||||||
$(eval ARCH := amd64)
|
|
||||||
$(call run-build-gui)
|
$(call run-build-gui)
|
||||||
|
|
||||||
.PHONY: $(CLI_EXE_FILE)
|
.PHONY: $(CLI_EXE_FILE)
|
||||||
$(CLI_EXE_FILE): $(DEPENDENCIES_CLI)
|
$(CLI_EXE_FILE): $(DEPENDENCIES_CLI)
|
||||||
$(eval ARCH := amd64)
|
|
||||||
$(call run-build-cli)
|
$(call run-build-cli)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -65,7 +65,11 @@ build-amd64/bin/lib/libfreetype.a:
|
|||||||
$(eval ARCH_NAME := amd64)
|
$(eval ARCH_NAME := amd64)
|
||||||
$(call run-build)
|
$(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
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user