Skip to content

Commit

Permalink
Static-check: Exclude s390x from dragonball and runtime-rs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
BbolroC committed Dec 4, 2023
1 parent ad17c0f commit 80cf10c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/dragonball/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
include ../../utils.mk

ifeq ($(ARCH), s390x)
default build check test clippy:
default build check test clippy vendor:
@echo "s390x not support currently"
exit 0
else
Expand Down
6 changes: 6 additions & 0 deletions src/runtime-rs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,14 @@ clean:
vendor:
@cargo vendor

ifeq ($(ARCH),x86_64)
##TARGET check: run test
check: $(GENERATED_FILES) standard_rust_check
else
check:
@echo "$(ARCH) is not currently supported"
exit 0
endif

##TARGET run: build and run agent
run:
Expand Down

0 comments on commit 80cf10c

Please sign in to comment.