Skip to content

Commit 3296baa

Browse files
kotlarmilosam11
andauthored
[nativeaot][perf] Simplify the build process for the perf measurements (#88201)
* Simplify the build process and update sample app build script * Update eng/pipelines/coreclr/perf-non-wasm-jobs.yml Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com> --------- Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
1 parent cdd7566 commit 3296baa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

eng/pipelines/coreclr/perf-non-wasm-jobs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
platforms:
112112
- ios_arm64
113113
jobParameters:
114+
buildArgs: -s clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig)
114115
nameSuffix: iOSNativeAOT
115116
isOfficialBuild: false
116117
extraStepsTemplate: /eng/pipelines/coreclr/templates/build-perf-sample-apps.yml

eng/pipelines/coreclr/templates/build-perf-sample-apps.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ steps:
124124
archiveType: zip
125125

126126
- ${{ if and(eq(parameters.osGroup, 'ios'), eq(parameters.nameSuffix, 'iOSNativeAOT')) }}:
127-
- script: make world TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false
127+
- script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false
128128
env:
129129
DevTeamProvisioning: '-'
130130
workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT
@@ -146,7 +146,7 @@ steps:
146146
- script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/bin
147147
workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT
148148
displayName: Clean bindir
149-
- script: make world TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true
149+
- script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true
150150
env:
151151
DevTeamProvisioning: '-'
152152
workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT

0 commit comments

Comments
 (0)