-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[infra] Enable linux-x64 Mono fullAOT mini job on extra platforms #96332
[infra] Enable linux-x64 Mono fullAOT mini job on extra platforms #96332
Conversation
The runtime changes look ok to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml
Outdated
Show resolved
Hide resolved
/p:BuildMonoAotCrossCompiler=true | ||
/p:BuildMonoAotCrossCompilerOnly=true | ||
/p:MonoLibClang="/usr/local/lib/libclang.so.16" | ||
/p:MonoAOTEnableLLVM=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not relevant since this PR is addressing mini full AOT, but I'm not sure if we shouldn't also pass /p:MonoEnableLLVM=true
. For Perf AOT-llvm runs we use /p:MonoAOTEnableLLVM=true /p:MonoEnableLLVM=true /p:BuildMonoAOTCrossCompiler=true ...
for both x64 and arm64.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. Based on the source code, the output directory should be different for the LLVM optimizer and the linker when MonoAOTEnableLLVM
vs MonoEnableLLVM
is used. I suggest to address it in the LLVM-related PR.
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
…time into feature/mini-fullaot-job
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The infra changes LGTM!
Description
This PR enables the linux-x64 full AOT mini job on extra platforms, utilizing the CBL-Mariner docker image. The parameters
as_name
andas_options
, along withld_name
andld_options
are added to allow parameterization of the toolchain configuration.Subsequent PRs include linux-x64 fullAOT llvm job, and arm64 jobs.
Test job run: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=620710&view=logs&jobId=9c845561-93d9-5f12-0979-955ea2f35497