-
Notifications
You must be signed in to change notification settings - Fork 78
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
Update Windows build script to use explicit package names #200
Conversation
7a39a7e
to
ae10ea5
Compare
ae10ea5
to
f841c11
Compare
f841c11
to
b58a53b
Compare
63013b4
to
3d6d598
Compare
3d6d598
to
0c8c0ca
Compare
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.
What would the new build invocations look like with these changes?
0c8c0ca
to
1008481
Compare
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.
Probably fine. I'll try to do some quick local testing before giving full approval for next merge window.
Default dependencies and Qt are separates package names that can be explicitly identified throughout the script and handled in explicit blocks.
1008481
to
5947689
Compare
5947689
to
cacdece
Compare
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.
Worked fine locally. Seems fine.
Description
Updates the Windows build script to explicitly identify dependency "package names" (instead of inferring them implicitly).
Motivation and Context
Allows checking for package name globally and adopt different code paths for each package.
Prerequisite for #186 as caches generated by nightly runs are incompatible with that codebase otherwise.
This change adds new parameter
PackageName
to the build script which selects the kind of dependency package to build:dependencies
(the default)qt
ffmpeg
(added later in deps.ffmpeg: Switch Windows builds to native build toolchain #186)When the parameter is omitted, default Windows dependencies are built. If Qt is to be built
-PackageName qt
needs to be provided instead.How Has This Been Tested?
Needs to be tested on CI and later with #186 after merging and rebasing.
Types of changes
Checklist: