Skip to content

Update the compiler_pieces of the RPi ARM compiler. - #48479

Merged
copybara-service[bot] merged 1 commit into
tensorflow:masterfrom
AdamHillier:update-rpi-arm-toolchain-compiler-pieces
Apr 27, 2021
Merged

copybara-service[bot] merged 1 commit into
tensorflow:masterfrom
AdamHillier:update-rpi-arm-toolchain-compiler-pieces

Conversation

@AdamHillier

@AdamHillier AdamHillier commented Apr 12, 2021 •

Copy link
Copy Markdown
Contributor

arm_compiler.BUILD is used as the build file for the Raspberry Pi Arm-v7a cross-compiler registered in the workspace here:

tf_http_archive(
name = "arm_compiler",
build_file = "//:arm_compiler.BUILD",
sha256 = "b9e7d50ffd9996ed18900d041d362c99473b382c0ae049b2fce3290632d2656f",
strip_prefix = "rpi-newer-crosstools-eb68350c5c8ec1663b7fe52c742ac4271e3217c5/x64-gcc-6.5.0/arm-rpi-linux-gnueabihf/",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/rvagg/rpi-newer-crosstools/archive/eb68350c5c8ec1663b7fe52c742ac4271e3217c5.tar.gz",
"https://github.com/rvagg/rpi-newer-crosstools/archive/eb68350c5c8ec1663b7fe52c742ac4271e3217c5.tar.gz",
],
)

(The same build file is also used for the aarch64 cross-compiler, but there's a separate (correct) aarch64_compiler_pieces defined for that case.)

Currently, the filegroup compiler_pieces defined in this build file does not match the directory structure of the cross-compiler that's downloaded from https://github.com/rvagg/rpi-newer-crosstools. The commit that's downloaded, after applying the strip_prefix, has this directory structure. Note the 'real' directories arm-rpi-linux-gnueabihf and lib/gcc/arm-rpi-linux-gnueabihf, which don't match the current glob patterns. This PR updates the glob patterns to match.

@google-ml-butler google-ml-butler Bot added the size:XS CL Change Size: Extra Small label Apr 12, 2021
@google-cla google-cla Bot added the cla: yes label Apr 12, 2021
@gbaned gbaned self-assigned this Apr 12, 2021
@gbaned
gbaned requested a review from mihaimaruseac April 12, 2021 15:21
@gbaned
gbaned requested a review from allenlavoie April 22, 2021 18:00
@gbaned gbaned added the awaiting review Pull request awaiting review label Apr 22, 2021
@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Apr 26, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Apr 26, 2021
@gbaned gbaned added ready to pull PR ready for merge process and removed awaiting review Pull request awaiting review ready to pull PR ready for merge process labels Apr 27, 2021
@copybara-service
copybara-service Bot merged commit 9d76720 into tensorflow:master Apr 27, 2021
@AdamHillier
AdamHillier deleted the update-rpi-arm-toolchain-compiler-pieces branch April 27, 2021 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes ready to pull PR ready for merge process size:XS CL Change Size: Extra Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants