-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add top-level controls for VMR to enable/disable system lbiraries #101797
Conversation
Make it easier for the VMR to pass top-level options to let the runtime use bundled/vendored (`external`) vs system versions of libraries.
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
@@ -53,6 +53,13 @@ | |||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)verbosity $(LogVerbosity)</InnerBuildArgs> | |||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)nodereuse $(ArcadeFalseBoolBuildArg)</InnerBuildArgs> | |||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</InnerBuildArgs> | |||
|
|||
<InnerBuildArgs Condition="'$(UseSystemBrotli)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_BROTLI=$(UseSystemBrotli)</InnerBuildArgs> |
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.
<InnerBuildArgs Condition="'$(UseSystemBrotli)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_BROTLI=$(UseSystemBrotli)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemLibunwind)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=$(UseSystemLibunwind)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemLlvmLibunwind)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LLVM_LIBUNWIND=$(UseSystemLlvmLibunwind)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemRapidjson)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_RAPIDJSON=$(UseSystemRapidjson)</InnerBuildArgs> |
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.
Implemented by:
<InnerBuildArgs Condition="'$(UseSystemLibunwind)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=$(UseSystemLibunwind)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemLlvmLibunwind)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LLVM_LIBUNWIND=$(UseSystemLlvmLibunwind)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemRapidjson)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_RAPIDJSON=$(UseSystemRapidjson)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemZlib)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_ZLIB=$(UseSystemZlib)</InnerBuildArgs> |
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.
TODO
@@ -53,6 +53,13 @@ | |||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)verbosity $(LogVerbosity)</InnerBuildArgs> | |||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)nodereuse $(ArcadeFalseBoolBuildArg)</InnerBuildArgs> | |||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</InnerBuildArgs> | |||
|
|||
<InnerBuildArgs Condition="'$(UseSystemBrotli)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_BROTLI=$(UseSystemBrotli)</InnerBuildArgs> | |||
<InnerBuildArgs Condition="'$(UseSystemLibunwind)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=$(UseSystemLibunwind)</InnerBuildArgs> |
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.
|
||
<InnerBuildArgs Condition="'$(UseSystemBrotli)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_BROTLI=$(UseSystemBrotli)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemLibunwind)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=$(UseSystemLibunwind)</InnerBuildArgs> | ||
<InnerBuildArgs Condition="'$(UseSystemLlvmLibunwind)' != ''">$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LLVM_LIBUNWIND=$(UseSystemLlvmLibunwind)</InnerBuildArgs> |
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.
TODO
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Make it easier for the VMR to pass top-level options to let the runtime use bundled/vendored (
external
) vs system versions of libraries.