-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Fix official build of cross DAC components #86138
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
cf22db5
Fix official build of cross DAC components
jkotas ffb514b
FB
jkotas 0396f57
Update eng/pipelines/coreclr/templates/build-job.yml
jkotas b17f453
Update crossdac-build.yml
hoyosjs e2492e2
Update xplat-pipeline-job.yml
hoyosjs 8de24b9
Update eng/pipelines/coreclr/templates/crossdac-build.yml
hoyosjs 5a143ca
Update crossdac-build.yml
hoyosjs 4d40d7a
Update eng/pipelines/coreclr/templates/crossdac-build.yml
jkotas cefee46
Update eng/pipelines/coreclr/templates/crossdac-build.yml
jkotas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,7 @@ set __BuildAll= | |
|
|
||
| set __TargetArchX64=0 | ||
| set __TargetArchX86=0 | ||
| set __TargetArchArm=0 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Arm argument is necessary to specify linux-arm. |
||
| set __TargetArchArm64=0 | ||
|
|
||
| set __BuildTypeDebug=0 | ||
|
|
@@ -86,6 +87,7 @@ if /i "%1" == "--help" goto Usage | |
| if /i "%1" == "-all" (set __BuildAll=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "-x64" (set __TargetArchX64=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "-x86" (set __TargetArchX86=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "-arm" (set __TargetArchArm=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "-arm64" (set __TargetArchArm64=1&shift&goto Arg_Loop) | ||
|
|
||
| if /i "%1" == "-debug" (set __BuildTypeDebug=1&shift&goto Arg_Loop) | ||
|
|
@@ -99,6 +101,7 @@ REM don't add more, use the - syntax instead | |
| if /i "%1" == "all" (set __BuildAll=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "x64" (set __TargetArchX64=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "x86" (set __TargetArchX86=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "arm" (set __TargetArchArm=1&shift&goto Arg_Loop) | ||
| if /i "%1" == "arm64" (set __TargetArchArm64=1&shift&goto Arg_Loop) | ||
|
|
||
| if /i "%1" == "debug" (set __BuildTypeDebug=1&shift&goto Arg_Loop) | ||
|
|
@@ -162,7 +165,7 @@ if defined VCINSTALLDIR ( | |
|
|
||
| if defined __BuildAll goto BuildAll | ||
|
|
||
| set /A __TotalSpecifiedTargetArch=__TargetArchX64 + __TargetArchX86 + __TargetArchArm64 | ||
| set /A __TotalSpecifiedTargetArch=__TargetArchX64 + __TargetArchX86 + __TargetArchArm + __TargetArchArm64 | ||
| if %__TotalSpecifiedTargetArch% GTR 1 ( | ||
| echo Error: more than one build architecture specified, but "all" not specified. | ||
| goto Usage | ||
|
|
@@ -173,6 +176,7 @@ if "%__ProcessorArch%"=="" set __ProcessorArch=%PROCESSOR_ARCHITECTURE% | |
|
|
||
| if %__TargetArchX64%==1 set __TargetArch=x64 | ||
| if %__TargetArchX86%==1 set __TargetArch=x86 | ||
| if %__TargetArchArm%==1 set __TargetArch=arm | ||
| if %__TargetArchArm64%==1 set __TargetArch=arm64 | ||
| if "%__HostArch%" == "" set __HostArch=%__TargetArch% | ||
|
|
||
|
|
@@ -187,6 +191,10 @@ if %__BuildTypeChecked%==1 set __BuildType=Checked | |
| if %__BuildTypeRelease%==1 set __BuildType=Release | ||
|
|
||
| if %__EnforcePgo%==1 ( | ||
| if %__TargetArchArm%==1 ( | ||
| echo NOTICE: enforcepgo does nothing on arm architecture | ||
| set __EnforcePgo=0 | ||
| ) | ||
| if %__TargetArchArm64%==1 ( | ||
| echo NOTICE: enforcepgo does nothing on arm64 architecture | ||
| set __EnforcePgo=0 | ||
|
|
@@ -443,7 +451,7 @@ REM ============================================================================ | |
|
|
||
| set __TargetArchList= | ||
|
|
||
| set /A __TotalSpecifiedTargetArch=__TargetArchX64 + __TargetArchX86 + __TargetArchArm64 | ||
| set /A __TotalSpecifiedTargetArch=__TargetArchX64 + __TargetArchX86 + __TargetArchArm + __TargetArchArm64 | ||
| if %__TotalSpecifiedTargetArch% EQU 0 ( | ||
| REM Nothing specified means we want to build all architectures. | ||
| set __TargetArchList=x64 x86 arm arm64 | ||
|
|
@@ -453,6 +461,7 @@ REM Otherwise, add all the specified architectures to the list. | |
|
|
||
| if %__TargetArchX64%==1 set __TargetArchList=%__TargetArchList% x64 | ||
| if %__TargetArchX86%==1 set __TargetArchList=%__TargetArchList% x86 | ||
| if %__TargetArchArm%==1 set __TargetArchList=%__TargetArchList% arm | ||
| if %__TargetArchArm64%==1 set __TargetArchList=%__TargetArchList% arm64 | ||
|
|
||
| set __BuildTypeList= | ||
|
|
@@ -536,7 +545,7 @@ echo All arguments are optional. The options are: | |
| echo. | ||
| echo.-? -h -help --help: view this message. | ||
| echo -all: Builds all configurations and platforms. | ||
| echo Build architecture: one of -x64, -x86, -arm64 ^(default: -x64^). | ||
| echo Build architecture: one of -x64, -x86, -arm, -arm64 ^(default: -x64^). | ||
| echo Build type: one of -Debug, -Checked, -Release ^(default: -Debug^). | ||
| echo -component ^<name^> : specify this option one or more times to limit components built to those specified. | ||
| echo Allowed ^<name^>: hosts jit alljits runtime paltests iltools nativeaot spmi | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.