mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00

* feature: support aarch64 Signed-off-by: luoyunhe <luoyunhe@chinatelecom.cn> * update rpm http file Signed-off-by: luoyunhe <luoyunhe@chinatelecom.cn> * rebase and fix get rpm files Signed-off-by: luoyunhe <luoyunhe@chinatelecom.cn> * fix test Signed-off-by: luoyunhe <luoyunhe@chinatelecom.cn> * modify automation/test.sh to create ci.bazelrc instead of .bazelrc Signed-off-by: luoyunhe <luoyunhe@chinatelecom.cn> * modify automation/test.sh to create ci.bazelrc instead of .bazelrc Signed-off-by: luoyunhe <luoyunhe@chinatelecom.cn> Co-authored-by: luoyunhe <luoyunhe@chinatelecom.cn>
22 lines
1.4 KiB
Plaintext
22 lines
1.4 KiB
Plaintext
# The ci.bazelrc is an untracked file that can be generated by hack/dockerized or automated/test.sh scripts as part of CI
|
|
try-import ci.bazelrc
|
|
try-import user.bazelrc
|
|
|
|
# Set common values for all builds (run, test and coverage inherit from build)
|
|
build --stamp --host_force_python=PY3
|
|
|
|
# Bazel has a rule of precedence so we can specify / overwrite architecture specific commands if needed
|
|
build:x86_64 --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64_cgo
|
|
run:x86_64 --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64_cgo
|
|
test:x86_64 --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64_cgo
|
|
|
|
build:aarch64 --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64_cgo --incompatible_use_cc_configure_from_rules_cc
|
|
run:aarch64 --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64_cgo --incompatible_use_cc_configure_from_rules_cc
|
|
test:aarch64 --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64_cgo --host_javabase=@local_jdk//:jdk
|
|
|
|
build:crossbuild-aarch64 --incompatible_enable_cc_toolchain_resolution --platforms=//bazel/platforms:aarch64-none-linux-gnu --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64_cgo
|
|
run:crossbuild-aarch64 --incompatible_enable_cc_toolchain_resolution --platforms=//bazel/platforms:aarch64-none-linux-gnu --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64_cgo
|
|
test:crossbuild-aarch64 --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64_cgo --host_javabase=@local_jdk//:jdk
|
|
|
|
build --define gotags=selinux
|