Skip to content

Commit 3f285cb

Browse files
authored
Update Makefile
1 parent d1ec660 commit 3f285cb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎Makefile‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
PLATFORM ?= linux/amd64
21
RUNTIME ?= 3.12
32
ARCH ?= x86_64
43
TEST_FILENAME ?= report.pdf
54
DOCKER_RUN=docker run --rm --platform=${PLATFORM} -e RUNTIME_VERSION=${RUNTIME}
65

6+
ifeq ($(ARCH), arm64)
7+
PLATFORM=linux/arm64
8+
else
9+
PLATFORM=linux/amd64
10+
endif
11+
712
.PHONY: stack.deploy.weasyprint clean test.start.container test.print.report
813

914
all: build/weasyprint-layer-python$(RUNTIME)-$(ARCH).zip

0 commit comments

Comments
 (0)