[POC|Invalid] Testing vcpkg without installed MSVC #48384
Annotations
3 errors and 3 warnings
Check
All vcpkg.json files must be formatted. To fix this problem, run:
./vcpkg format-manifest ports/*/vcpkg.json
It should make the following changes:```diff
diff --git a/ports/compiler-cuda/vcpkg.json b/ports/compiler-cuda/vcpkg.json
index f050ef8d..57b71139 100644
--- a/ports/compiler-cuda/vcpkg.json
+++ b/ports/compiler-cuda/vcpkg.json
@@ -4,6 +4,5 @@
"description": "The NVIDIA CUDA Toolkit provides a development environment for creating high performance GPU-accelerated applications. With the CUDA Toolkit, you can develop, optimize, and deploy your applications on GPU-accelerated embedded systems, desktop workstations, enterprise data centers, cloud-based platforms and HPC supercomputers. The toolkit includes GPU-accelerated libraries, debugging and optimization tools, a C/C++ compiler, and a runtime library to deploy your application.",
"homepage": "https://developer.nvidia.com/cuda-toolkit",
"license": null,
- "supports": "(windows & x64 & !uwp & !xbox) | (linux & x64) | (linux & arm64)",
- "dependencies": []
+ "supports": "(windows & x64 & !uwp & !xbox) | (linux & x64) | (linux & arm64)"
}
```
|
Check
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 must be modified, and the version database updated.
Making the following changes will fix this problem:```diff
error: checked-in files for vcpkg-cmake-config have changed but the version was not updated
version: 2024-05-23
old SHA: 97a63e4bc1a17422ffe4eff71da53b4b561a7841
new SHA: e5008c8dead8aa74c48bb4861507541ecabb3193
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for vcpkg-cmake have changed but the version was not updated
version: 2024-04-23
old SHA: e74aa1e8f93278a8e71372f1fa08c3df420eb840
new SHA: 5488d66e58ab3eae526feb269421377bca1cc967
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for vcpkg-gfortran have changed but the version was not updated
version: 3#3
old SHA: 1af46bd54a9156a9f24fc7c8715488699522b382
new SHA: fde64405c4bd3b07b9910bbfe16744c9ae045d8f
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for re2 have changed but the version was not updated
version: 2024-07-02
old SHA: d35be5fcf5b689f48cd7f7b71c1dbd783283427a
new SHA: d555c0f4e8d030b3e5f908089a91274cf9c41d0c
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for libgcrypt have changed but the version was not updated
version: 1.11.0
old SHA: 7ef0287faf9a058810b2eb5378b3a66ea6adcf69
new SHA: 65ccf0922678f893078479e3e27bcf5b6a16b444
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for qtbase have changed but the version was not updated
version: 6.8.2
old SHA: f3ba3628279d2cc0b50125dbbae1193d329f89d0
new SHA: 6ecb34452f6805274271d0e5a082991f8449676a
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for fruit have changed but the version was not updated
version: 3.7.1
old SHA: f727757ffc9579175eb3e80ae6fee2bf176779b2
new SHA: 4de9498dc67572b48c535d88aa7138f4566954e4
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
```
|
Check
After committing all other changes, the version database must be updated.
This can be done by running the following commands after committing your changes:
git add -u && git commit
git checkout 0ca64b4e1c70fa6d9f53b369b8f3f0843797c20c -- versions
./vcpkg x-add-version --all
|
Check
**You have modified or added at least one portfile where deprecated functions are used**
If you feel able to do so, please consider migrating them to the new functions.
|
Check:
ports/compiler-llvm/portfile.cmake#L29
The function vcpkg_apply_patches is deprecated. Please use the PATCHES arguments to the "extract" helpers (for example, vcpkg_from_github() (https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_from_github))
|
Check
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-gfortran/vcpkg.json
Valid values for the license field can be found at https://learn.microsoft.com/vcpkg/reference/vcpkg-json#license
|