Alanxtl commented on code in PR #157:
URL: 
https://github.com/apache/dubbo-go-pixiu-samples/pull/157#discussion_r3295846880


##########
igt/Makefile:
##########
@@ -30,7 +30,12 @@ pixiuSources = $(wildcard $(PIXIU_DIR)/pixiu/*.go)
 export GO111MODULE ?= on
 export GOPROXY ?= https://goproxy.io,direct
 export GOSUMDB ?= sum.golang.org
-export GOARCH ?= amd64
+NATIVE_ARCH := $(shell uname -m)
+ifeq ($(NATIVE_ARCH), arm64)
+       export GOARCH ?= arm64
+else
+       export GOARCH ?= amd64

Review Comment:
   噢噢噢 看错了



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to