make,cross: ignore loong64 from target list
Released and used version of https://github.com/etcd-io/bbolt/tree/v1.3.6 does not defines certain constants for `loong64` ARCH so avoid building for `loong64` in `make cross` and `cross-build` CI test. Remove this commit once `v1.3.7` is out since this is fixed on master branch. [NO NEW TESTS NEEDED] [NO TESTS NEEDED] Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
parent
a9fd30516c
commit
50a4acb015
3
Makefile
3
Makefile
|
@ -74,7 +74,8 @@ bin/buildah: $(SOURCES) cmd/buildah/*.go
|
|||
.PHONY: buildah
|
||||
buildah: bin/buildah
|
||||
|
||||
ALL_CROSS_TARGETS := $(addprefix bin/buildah.,$(subst /,.,$(shell $(GO) tool dist list)))
|
||||
# TODO: remove `grep -v loong64` from `ALL_CROSS_TARGETS` once go.etcd.io/bbolt 1.3.7 is out.
|
||||
ALL_CROSS_TARGETS := $(addprefix bin/buildah.,$(subst /,.,$(shell $(GO) tool dist list | grep -v loong64)))
|
||||
LINUX_CROSS_TARGETS := $(filter bin/buildah.linux.%,$(ALL_CROSS_TARGETS))
|
||||
DARWIN_CROSS_TARGETS := $(filter bin/buildah.darwin.%,$(ALL_CROSS_TARGETS))
|
||||
WINDOWS_CROSS_TARGETS := $(addsuffix .exe,$(filter bin/buildah.windows.%,$(ALL_CROSS_TARGETS)))
|
||||
|
|
Loading…
Reference in New Issue