From 618834fe75a8dc25238abe7de896007563f18e93 Mon Sep 17 00:00:00 2001 From: Yi Duan Date: Mon, 26 Feb 2024 12:11:34 +0800 Subject: [PATCH] build: support build `rt` on non-amd64 env (#599) --- internal/rt/asm_amd64.s | 3 +-- internal/rt/{asm_arm64.s => asm_compat.s} | 3 +-- tools/simde | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) rename internal/rt/{asm_arm64.s => asm_compat.s} (65%) create mode 160000 tools/simde diff --git a/internal/rt/asm_amd64.s b/internal/rt/asm_amd64.s index 8250e38d3..4998d5f79 100644 --- a/internal/rt/asm_amd64.s +++ b/internal/rt/asm_amd64.s @@ -1,5 +1,4 @@ -// +build !noasm !appengine -// Code generated by asm2asm, DO NOT EDIT· +// +build !noasm,amd64 !appengine,amd64 #include "go_asm.h" #include "funcdata.h" diff --git a/internal/rt/asm_arm64.s b/internal/rt/asm_compat.s similarity index 65% rename from internal/rt/asm_arm64.s rename to internal/rt/asm_compat.s index a168a8266..7d50b6483 100644 --- a/internal/rt/asm_arm64.s +++ b/internal/rt/asm_compat.s @@ -1,5 +1,4 @@ -// +build !noasm !appengine -// Code generated by asm2asm, DO NOT EDIT. +// +build !noasm,!amd64 !appengine,!amd64 #include "go_asm.h" #include "funcdata.h" diff --git a/tools/simde b/tools/simde new file mode 160000 index 000000000..4d55fc25b --- /dev/null +++ b/tools/simde @@ -0,0 +1 @@ +Subproject commit 4d55fc25bcfddc0e2f0c744448557a070dd310c9