mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-10 20:32:54 +00:00
Static-check: Exclude s390x from dragonball and runtime-rs
At the moment, a project `dragonball` and `runtime-rs` does not support for s390x. During the enablement, some errors due to the misconfiguration of Makefile for `make check` and `make vendor` were identified. This is to skip the build for the affected target of the projects. Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
parent
c0f57c9e0a
commit
290ecf4c46
@ -7,7 +7,7 @@ include ../../utils.mk
|
|||||||
PROJECT_DIRS := $(shell find . -name Cargo.toml -printf '%h\n' | sort -u)
|
PROJECT_DIRS := $(shell find . -name Cargo.toml -printf '%h\n' | sort -u)
|
||||||
|
|
||||||
ifeq ($(ARCH), s390x)
|
ifeq ($(ARCH), s390x)
|
||||||
default build check test clippy:
|
default build check test clippy vendor:
|
||||||
@echo "s390x not support currently"
|
@echo "s390x not support currently"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
@ -467,8 +467,14 @@ clean-generated-files:
|
|||||||
vendor:
|
vendor:
|
||||||
@cargo vendor
|
@cargo vendor
|
||||||
|
|
||||||
|
ifeq ($(ARCH),x86_64)
|
||||||
##TARGET check: run test
|
##TARGET check: run test
|
||||||
check: $(GENERATED_FILES) standard_rust_check
|
check: $(GENERATED_FILES) standard_rust_check
|
||||||
|
else
|
||||||
|
check:
|
||||||
|
@echo "$(ARCH) is not currently supported"
|
||||||
|
exit 0
|
||||||
|
endif
|
||||||
|
|
||||||
##TARGET run: build and run agent
|
##TARGET run: build and run agent
|
||||||
run:
|
run:
|
||||||
|
Loading…
Reference in New Issue
Block a user