Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-compile vdso module for arm64 #1843

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ build:results-local --spawn_strategy=local
build:results-local --remote_cache=remotebuildexecution.googleapis.com
build:results-local --remote_timeout=3600
build:results-local --bes_results_url="https://source.cloud.google.com/results/invocations/"

# Set flags for aarch64.
build:aarch64 --crosstool_top=@crosstool//:toolchains
build:aarch64 --cpu=aarch64
12 changes: 12 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -330,3 +330,15 @@ http_archive(
"https://github.com/google/googletest/archive/565f1b848215b77c3732bca345fe76a0431d8b34.tar.gz",
],
)

http_archive(
name = "coral_crosstool",
sha256 = "75e177abc39a2a283b61077a0c2f9934394c95393fda9d8629a0e5a83b7bb929",
strip_prefix = "crosstool-edf312a5a0a31bbdfb0e204d3ed77394ea723812",
urls = [
"https://github.com/google-coral/crosstool/archive/edf312a5a0a31bbdfb0e204d3ed77394ea723812.tar.gz",
],
)

load("@coral_crosstool//:configure.bzl", "cc_crosstool")
cc_crosstool(name = "crosstool")