[vcpkg-tool-ninja] Add only the ninja port#23911
[vcpkg-tool-ninja] Add only the ninja port#23911BillyONeal merged 14 commits intomicrosoft:masterfrom
Conversation
There was a problem hiding this comment.
You have modified or added at least one portfile where deprecated functions are used.
Details
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}The following files are affected:
ports/vcpkg-tool-ninja/portfile.cmake
There was a problem hiding this comment.
You have modified or added at least one portfile where deprecated functions are used.
Details
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}The following files are affected:
ports/vcpkg-tool-ninja/portfile.cmake
There was a problem hiding this comment.
You have modified or added at least one portfile where deprecated functions are used.
Details
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}The following files are affected:
ports/vcpkg-tool-ninja/portfile.cmake
|
See PR Neumann-A#6 for my requested changes in diff form |
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for vcpkg-tool-ninja but no changes to version or port version.
-- Version: 2022-03-31
-- Old SHA: f68e5b1ee9a97b2d0b414e767a37ed7a2a63a133
-- New SHA: 0a9071fd10711b762bfa1e50f7314f3dd23d41d9
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
|
@strega-nil-ms Any other suggestions? |
|
I'd like one last review from @ras0219, I'll ask him in a bit. |
|
I think we can consider to merge this now, @BillyONeal what's the status? |
|
So I tested it. I only need this for #23987 |
I thought you also needed this because there was no path short enough to build current qt as well? |
that was |
| REF 170c387a7461d476523ae29c115a58f16e4d3430 | ||
| SHA512 75c0f263ad325d14c99c9a1d85e571832407b481271a2733e78183a478f7ecd22d84451fc8d7ce16ab20d641ce040761d7ab266695d66bbac5b2b9a3a29aa521 | ||
| HEAD_REF master | ||
| PATCHES PR2056.diff # Long path support windows |
There was a problem hiding this comment.
Can you vcpkg_download_distfile this patch so that licensing etc remains clear for such a large patch rather than copying it into the vcpkg repo proper?
There was a problem hiding this comment.
any ideas how to download a stable diff ?
I mean i can download "https://patch-diff.githubusercontent.com/raw/ninja-build/ninja/pull/2056.diff" but that is probably not stable.
There was a problem hiding this comment.
There's precedent for it: https://github.com/microsoft/vcpkg/blob/master/ports/libsrtp/portfile.cmake#L1
There was a problem hiding this comment.
There's precedent for it: https://github.com/microsoft/vcpkg/blob/master/ports/libsrtp/portfile.cmake#L1
There's precedent for the this not being stable:
#23461
Yeah but after it stopped being the current thing I was looking at I stopped following the details. :) |
|
close-and-reopen to kick CLA bot |
BillyONeal
left a comment
There was a problem hiding this comment.
Will merge after I get a second opinion / double check about that vcpkg-port-config.cmake part.
This was requested from your side instead of modifying |
Right, I know there was discussion about this, and wanted the folks who asked for things to change here to confirm it was in keeping with that direction. Thanks for the submission :) |
|
@Neumann-A I know it already merge, but I want to understand. This is mean that it compile ninja without nina when it cannot download the binary? |
|
The idea here was to have ninja with long path support. However the default tools dont support that so your are still stuck with short paths and only gained a few more characters in length. |
|
Thank you. I will have an issue about my request here. |
follow up on #23201