-
Notifications
You must be signed in to change notification settings - Fork 426
Include STL/CRT libs and headers with LKG to eliminate yvals_core.h static_assert build errors on mismatch #4933
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
Changes from all commits
c396ce2
c2d1489
03c6b26
9748442
98e5a6a
484332a
13c9fd5
7fc9666
15f1459
be79b7b
405f068
23a830a
84dcd56
ba6d499
c00fd72
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. --> | ||
| <Project ToolsVersion="14.0" TreatAsLocalProperty="Platform" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
|
||
| <!-- Enable synchronized LKG and internal MsUCRT consumption --> | ||
| <PropertyGroup> | ||
| <UseInternalMSUniCrtPackage>true</UseInternalMSUniCrtPackage> | ||
| <UndockedSettingsLoaded>true</UndockedSettingsLoaded> | ||
|
Comment on lines
+7
to
+8
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. the MsUCRT package requires explicit acknowledgement (opt in, on top of the yml task properties) |
||
| </PropertyGroup> | ||
|
|
||
| <!-- The LKG toolset only supports Platform=win32. To work around, we TreatAsLocalProperty=Platform above to | ||
| enable overriding the global (command-line) Platform, explicitly import LKG's custom.props, and restore Platform. --> | ||
| <PropertyGroup Condition="'$(Platform)'=='x86'"> | ||
| <WorkaroundLkgWin32>true</WorkaroundLkgWin32> | ||
| <Platform>Win32</Platform> | ||
| </PropertyGroup> | ||
| <Import Project="custom.props" Condition="Exists('custom.props') and '$(WorkaroundLkgWin32)'=='true'" /> | ||
| <PropertyGroup Condition="'$(WorkaroundLkgWin32)'=='true'"> | ||
| <Platform>x86</Platform> | ||
| </PropertyGroup> | ||
|
Comment on lines
+11
to
+20
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. |
||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,9 @@ steps: | |
| compilerPackageName: $(compilerOverridePackageName) | ||
| compilerPackageVersion: $(compilerOverridePackageVersion) | ||
| slnDirectory: $(Build.SourcesDirectory)\dev\MRTCore\mrt | ||
| includeUCRT: true | ||
| ucrtFeedPat: $(System.AccessToken) | ||
| platform: $(buildPlatform) | ||
|
Comment on lines
+24
to
+26
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. this is the essential change - include the UCRT (STL/CRT libs/headers) along with the tools |
||
|
|
||
| - task: PowerShell@2 | ||
| name: BuildBinaries | ||
|
|
@@ -88,6 +91,7 @@ steps: | |
|
|
||
| - ${{ if not( parameters.IsOneBranch ) }}: | ||
| - task: PublishBuildArtifacts@1 | ||
| condition: always() | ||
| inputs: | ||
| PathtoPublish: '$(ob_outputDirectory)' | ||
| artifactName: '$(ob_artifactBaseName)' | ||
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.
See http://task.ms/55390838