Skip to content

Commit

Permalink
[DRAFT][Perf][Mono] Enable llvm for arm perf runs (#63311)
Browse files Browse the repository at this point in the history
Enable llvm for arm perf runs.
  • Loading branch information
Nathan Ricci authored Jan 6, 2022
1 parent 01cc900 commit 5993a3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion eng/pipelines/common/global-build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ jobs:
${{ if and(eq(parameters.osGroup, 'Linux'), not(eq(parameters.archType, 'arm64'))) }}:
value: /p:MonoLLVMUseCxx11Abi=false

# Building the llvm backend is fairly slow, so we don't want to build it unless required.
- name: _EnableLLVMParameter
value: /p:MonoEnableLLVM=false
${{ if or( eq(parameters.runtimevariant, 'llvmaot'), eq(parameters.runtimevariant, 'llvmfullaot') }}:
value: /p:MonoEnableLLVM=true

- name: _officialBuildParameter
${{ if eq(parameters.isOfficialBuild, true) }}:
value: /p:OfficialBuildId=$(Build.BuildNumber)
Expand Down Expand Up @@ -148,7 +154,7 @@ jobs:

# Build
- ${{ if eq(parameters.buildingOnSourceBuildImage, false) }}:
- script: $(_sclEnableCommand) $(Build.SourcesDirectory)$(dir)build$(scriptExt) -ci -arch ${{ parameters.archType }} $(_osParameter) ${{ parameters.buildArgs }} $(_officialBuildParameter) $(_crossBuildPropertyArg) $(_cxx11Parameter) $(_richCodeNavigationParam) $(_buildDarwinFrameworksParameter)
- script: $(_sclEnableCommand) $(Build.SourcesDirectory)$(dir)build$(scriptExt) -ci -arch ${{ parameters.archType }} $(_osParameter) ${{ parameters.buildArgs }} $(_officialBuildParameter) $(_crossBuildPropertyArg) $(_cxx11Parameter) $(_EnableLLVMParameter) $(_richCodeNavigationParam) $(_buildDarwinFrameworksParameter)
displayName: Build product
${{ if eq(parameters.useContinueOnErrorDuringBuild, true) }}:
continueOnError: ${{ parameters.shouldContinueOnError }}
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/coreclr/perf_slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ jobs:
buildConfig: release
container: ubuntu-18.04-cross-arm64-20211022152824-b2c2436
runtimeFlavor: mono
runtimeVariant: 'llvmaot'
platforms:
- Linux_arm64
jobParameters:
Expand Down

0 comments on commit 5993a3a

Please sign in to comment.