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


##########
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:
   我把之前硬编码的 amd64 改成 if else 了,主要是用来方便本地跑集成测试的。



-- 
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