[bazel] Fix build on arm64.
Signed-off-by: Piotr Sikora <piotrsikora@google.com> Change-Id: I8545294056e3ee330383e5f3bd50127f8221d9ad Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3337367 Reviewed-by: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/main@{#78478}
This commit is contained in:
parent
e3f48a766f
commit
cbdde6fb50
@ -27,7 +27,7 @@ config_setting(
|
|||||||
|
|
||||||
config_setting(
|
config_setting(
|
||||||
name = "platform_cpu_arm64",
|
name = "platform_cpu_arm64",
|
||||||
constraint_values = ["@platforms//cpu:arm"],
|
constraint_values = ["@platforms//cpu:aarch64"],
|
||||||
)
|
)
|
||||||
|
|
||||||
config_setting(
|
config_setting(
|
||||||
@ -58,12 +58,12 @@ v8_configure_target_cpu(
|
|||||||
)
|
)
|
||||||
|
|
||||||
v8_configure_target_cpu(
|
v8_configure_target_cpu(
|
||||||
name = "arm",
|
name = "arm64",
|
||||||
matching_configs = [":platform_cpu_arm64"],
|
matching_configs = [":platform_cpu_arm64"],
|
||||||
)
|
)
|
||||||
|
|
||||||
v8_configure_target_cpu(
|
v8_configure_target_cpu(
|
||||||
name = "arm64",
|
name = "arm",
|
||||||
matching_configs = [":platform_cpu_arm"],
|
matching_configs = [":platform_cpu_arm"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user