Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMove arm64 build to taskcluster. #23414
Conversation
|
@bors-servo try=arm |
Move arm64 build to taskcluster.
|
|
|
|
|
I attempted several times to reproduce this build in any environment other than buildbot workers, and gave up every time. Cross-compiling C or C++ code (SpiderMonkey in particular) with our build system is very brittle. For quicker edit-run-error cycles, I suggest experimenting with a local Docker container. Repeatedly run (This can use up disk space quickly, so consider |
|
The unedited Other resources that might be helpful include:
Good luck! FROM ubuntu:trusty-20181217
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -q && apt-get install -qy --no-install-recommends \
git \
ca-certificates \
python-virtualenv \
curl
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
RUN git clone --depth 1 https://github.com/servo/servo /repo
WORKDIR /repo
ENV PATH="/root/.cargo/bin:$PATH"
RUN ./mach cargo fetch
ARG MACH_TARGET=aarch64-unknown-linux-gnu
RUN ./mach build --dev --target=$MACH_TARGET -p matches
ARG TARGET_NAME=aarch64-linux-gnu
ARG TARGET_DOWNLOAD_NAME=arm64-trusty-libs
ARG TARGET_SYMLINK_NAME=aarch64-unknown-linux-gnu
ARG TARGET_VERSION=v2
RUN apt-get install -y --no-install-recommends \
make \
g++ \
g++-$TARGET_NAME
RUN mkdir $HOME/bin && \
for bin in \
elfedit gcov nm addr2line g++ objcopy ar objdump as gcc ranlib c++filt \
gprof readelf cpp ld size ld.bfd strings strip \
; do \
ln -s /usr/bin/$TARGET_NAME-$bin $HOME/bin/$TARGET_SYMLINK_NAME-$bin \
; done
#RUN mkdir /rootfs-$TARGET_DOWNLOAD_NAME-$TARGET_VERSION && ( \
# export dir=$TARGET_DOWNLOAD_NAME/$TARGET_VERSION; \
# export file=$TARGET_DOWNLOAD_NAME-$TARGET_VERSION.tgz; \
# curl https://servo-rust.s3.amazonaws.com/ARM/$dir/$file \
# ) \
# | tar xz -C /rootfs-$TARGET_DOWNLOAD_NAME-$TARGET_VERSION
RUN ./mach build --dev --target=$MACH_TARGET -p libz-sys
RUN apt-get install -y --no-install-recommends \
software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test && \
apt-get update -q && \
apt-get upgrade -y
RUN apt-get install -y --no-install-recommends \
g++-5
RUN apt-get install -y --no-install-recommends \
clang-4.0
RUN which gcc-5
#ENV CC_aarch64-unknown-linux-gnu=aarch64-linux-gnu-gcc
#RUN ./mach build --dev --target=$MACH_TARGET -p mozjs_sys |
Last updated in servo/saltfs#268 |
|
I documented how to generate them in https://github.com/servo/servo/wiki/Preparing-ARM-libraries-for-CI |
|
We've already got windows & magicleap arm64 builds on CI. I don't see a good reason to continue to maintain this build due to its complicated setup. |
|
Should we remove it from |
|
Yes. |
* `arm64`: [“no good reason to continue to maintain”](#23414 (comment)) * `mac-rel-intermittent`: disabled since servo/saltfs#965 * `linux-nigthly`: only perf data collection and upload now, has been broken for 8 weeks (#23302) and nobody cared enough to fix it
* `arm64`: “no good reason to continue to maintain”: #23414 (comment) * `mac-rel-intermittent`: disabled since servo/saltfs#965 * `linux-nigthly`: only perf data collection and upload now. Closes #23302, where this jobs has been know to be broken for 8 weeks but nobody cared enough to fix it
Remove some jobs from Buildbot * `arm64`: “no good reason to continue to maintain”: #23414 (comment) * `mac-rel-intermittent`: disabled since servo/saltfs#965 * `linux-rel-intermittent`: judged unnecessary #23633 (comment) * `linux-nigthly`: only perf data collection and upload now. Closes #23302, where this jobs has been know to be broken for 8 weeks but nobody cared enough to fix it <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23633) <!-- Reviewable:end -->
Remove some jobs from Buildbot * `arm64`: “no good reason to continue to maintain”: #23414 (comment) * `mac-rel-intermittent`: disabled since servo/saltfs#965 * `linux-rel-intermittent`: judged unnecessary #23633 (comment) * `linux-nigthly`: only perf data collection and upload now. Closes #23302, where this jobs has been know to be broken for 8 weeks but nobody cared enough to fix it <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23633) <!-- Reviewable:end -->
jdm commentedMay 16, 2019
•
edited by SimonSapin
This change is