Skip to content

CoreCLR runtime tests + Mono LLVM AOT on arm64 Linux - #20479

Merged
imhameed merged 1 commit into
mono:masterfrom
monojenkins:sync-pr-41751-from-runtime
Oct 26, 2020
Merged

imhameed merged 1 commit into
mono:masterfrom
monojenkins:sync-pr-41751-from-runtime

Conversation

@monojenkins

Copy link
Copy Markdown
Contributor

!! This PR is a copy of dotnet/runtime#41751, please do not edit or review it in this repo !!
Do not automatically approve this PR:

* Consider how the changes affect configurations in this repo,
* Check effects on files that are not mirrored,
* Identify test cases that may be needed in this repo.

!! Merge the PR only after the original PR is merged !!



Build Mono with LLVM AOT on arm64 Linux.
Run CoreCLR runtime tests on arm64 Linux with Mono + LLVM AOT.

@monojenkins
monojenkins force-pushed the sync-pr-41751-from-runtime branch 6 times, most recently from cac7210 to e7bf83c Compare October 21, 2020 02:55
@monojenkins
monojenkins force-pushed the sync-pr-41751-from-runtime branch 20 times, most recently from 06bb48f to 01017a5 Compare October 23, 2020 15:55
This change:

- Adds new options to mono.proj:

    - MonoAOTEnableLLVM, which enables (or disables) building a Mono AOT
    cross compiler with LLVM;

    - MonoAOTLLVMDir, which specifies the path to a copy of LLVM suitable for
    building a Mono AOT cross compiler, and is optional; and

    - BuildMonoAOTCrossCompilerOnly, which allows building a Mono AOT
    cross compiler without building an associated full Mono runtime.

- Changes offsets-tool.py's user interface slightly; '--include-prefix' is
renamed to '--prefix' and may be specified multiple times. While this latter
feature isn't necessary to build a Mono cross compiler today, because we don't
use distribution-supplied cross-compilation headers on CI, it does make it
easier to experiment with the offsets tool using arbitrary header layouts.  For
example, Debian's arm64 cross-compilation packages scatter useful header files
across `/usr/lib/gcc-cross/aarch64-linux-gnu` and `/usr/aarch64-linux-gnu`.

- Updates the docker image used for arm64 cross-compilation to a newer revision
that includes libclang (see also
dotnet/dotnet-buildtools-prereqs-docker#375).

- Adds some tests that currently fail to compile with Mono LLVM AOT to
issues.targets.

- Adds a Linux_arm64 LLVM AOT job to CI. Nothing particularly fancy is done to
build the Mono LLVM AOT cross compiler; it is built as a step in the same job
that also sends Linux_arm64 tests to Helix.
@monojenkins
monojenkins force-pushed the sync-pr-41751-from-runtime branch from 01017a5 to 95069e1 Compare October 23, 2020 18:02
@imhameed
imhameed marked this pull request as ready for review October 26, 2020 16:38
@imhameed

Copy link
Copy Markdown
Contributor

@monojenkins build failed

@imhameed
imhameed merged commit 26d711a into mono:master Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants