on s390x, only compile compile release for s390x (#9601)
This commit is contained in:
parent
348c814611
commit
c93e6a00d2
|
@ -1,6 +1,7 @@
|
|||
SHELL = bash
|
||||
PROJECT_ROOT := $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
|
||||
THIS_OS := $(shell uname | cut -d- -f1)
|
||||
THIS_ARCH := $(shell uname -m)
|
||||
|
||||
GIT_COMMIT := $(shell git rev-parse HEAD)
|
||||
GIT_DIRTY := $(if $(shell git status --porcelain),+CHANGES)
|
||||
|
@ -45,6 +46,11 @@ ALL_TARGETS += linux_386 \
|
|||
|
||||
endif
|
||||
|
||||
# On s390x architecture, we only build for s390x
|
||||
ifeq (s390x,$(THIS_ARCH))
|
||||
ALL_TARGETS = linux_s390x
|
||||
endif
|
||||
|
||||
# On MacOS, we only build for MacOS
|
||||
ifeq (Darwin,$(THIS_OS))
|
||||
ALL_TARGETS += darwin_amd64
|
||||
|
|
Loading…
Reference in New Issue