Skip to content

Commit

Permalink
cloudbuild: cross-compile to ARM no longer works
Browse files Browse the repository at this point in the history
The BUILD files for Rust dependencies that are generated by
`cargo raze` are specific to a particular configured `target`
architecture triple, in our case "x86_64-unknown-linux-gnu".

This means that cross-compiles don't work, in particular prost
and proc-macro fail to build.
  • Loading branch information
daviddrysdale committed Apr 16, 2020
1 parent 39efc52 commit e40d4dc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ steps:
timeout: 60m
entrypoint: 'bash'
args: ['./scripts/build_server', '-s', 'base']
- name: 'gcr.io/oak-ci/oak:latest'
id: build_server_arm
waitFor: ['bazel_init']
timeout: 60m
entrypoint: 'bash'
args: ['./scripts/build_server', '-s', 'arm']

# Package the Hello World application in a Docker image.
- name: 'gcr.io/oak-ci/oak:latest'
Expand Down

0 comments on commit e40d4dc

Please sign in to comment.