Skip to content

Commit

Permalink
Remove _monoAotBuildshCommand and _monoAotCrossCompileArg from pipeli…
Browse files Browse the repository at this point in the history
…nes (#95416)

The former is not used at all and the latter is only used for archType=arm64 so we can just use the "cross" value directly.
  • Loading branch information
akoeplinger committed Nov 30, 2023
1 parent 60be20c commit 8d08772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 0 additions & 15 deletions eng/pipelines/common/global-build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,21 +105,6 @@ jobs:
${{ if notin(parameters.osGroup, 'ios', 'tvos', 'maccatalyst')}}:
value: ''

- name: _monoAotBuildshCommand
value: ''

- ${{ if eq(parameters.runtimeVariant, 'llvmaot') }}:
- name: _monoAotBuildshCommand
value: 'mono_aot'

- ${{ if eq(parameters.runtimeVariant, 'llvmfullaot') }}:
- name: _monoAotBuildshCommand
value: 'mono_fullaot'

- ${{ if eq(parameters.archType, 'arm64') }}:
- name: _monoAotCrossCompileArg
value: 'cross'

# Set no native sanitizers by default
- name: _nativeSanitizersArg
value: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ steps:
target: ${{ coalesce(parameters.llvmAotStepContainer, parameters.container) }}
- ${{ if eq(parameters.archType, 'arm64') }}:
- ${{ if eq(parameters.runtimeVariant, 'llvmaot') }}:
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)MonoAot mono_aot ${{ parameters.buildConfig }} ${{ parameters.archType }} $(_monoAotCrossCompileArg) /p:RuntimeVariant=llvmfullaot -maxcpucount:2
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)MonoAot mono_aot ${{ parameters.buildConfig }} ${{ parameters.archType }} cross /p:RuntimeVariant=llvmfullaot -maxcpucount:2
displayName: "LLVM AOT cross-compile CoreCLR tests"
env:
__MonoToolPrefix: aarch64-linux-gnu-
- ${{ if eq(parameters.runtimeVariant, 'llvmfullaot') }}:
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)MonoAot mono_fullaot ${{ parameters.buildConfig }} ${{ parameters.archType }} $(_monoAotCrossCompileArg) /p:RuntimeVariant=llvmfullaot -maxcpucount:2
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)MonoAot mono_fullaot ${{ parameters.buildConfig }} ${{ parameters.archType }} cross /p:RuntimeVariant=llvmfullaot -maxcpucount:2
displayName: "LLVM AOT cross-compile CoreCLR tests"
env:
__MonoToolPrefix: aarch64-linux-gnu-
Expand Down

0 comments on commit 8d08772

Please sign in to comment.