Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

omajid
Copy link
Member

@omajid omajid commented May 2, 2024

Make it easier for the VMR to pass top-level options to let the runtime use bundled/vendored (external) vs system versions of libraries.

Make it easier for the VMR to pass top-level options to let the runtime
use bundled/vendored (`external`) vs system versions of libraries.
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@@ -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>
Copy link
Member Author

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>
Copy link
Member Author

@omajid omajid May 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<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>
Copy link
Member Author

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>
Copy link
Member Author

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>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

Copy link
Contributor

Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-libraries community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant