applied-ai-018 commited on
Commit
1de0351
·
verified ·
1 Parent(s): f67949e

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/00-report-package-build-failure.yml +47 -0
  2. cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/01-request-a-new-port.yml +36 -0
  3. cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/02-request-an-update-to-an-existing-port.yml +23 -0
  4. cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/03-request-a-feature-or-improvement-to-a-port.yml +29 -0
  5. cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/04-request-a-feature-or-improvement.yml +29 -0
  6. cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/05-other-type-of-bug-report.md +31 -0
  7. cc-multilingual-main/cc_net/vcpkg/.github/pull_request_template.md +31 -0
  8. cc-multilingual-main/cc_net/vcpkg/.github/workflows/check_issues.yml +78 -0
  9. cc-multilingual-main/cc_net/vcpkg/.github/workflows/stale.yml +35 -0
  10. cc-multilingual-main/cc_net/vcpkg/.github/workflows/untrustedPR.yml +171 -0
  11. cc-multilingual-main/cc_net/vcpkg/docs/users/manifests.md +6 -0
  12. cc-multilingual-main/cc_net/vcpkg/docs/users/triplets.md +6 -0
  13. cc-multilingual-main/cc_net/vcpkg/docs/users/versioning.md +7 -0
  14. cc-multilingual-main/cc_net/vcpkg/triplets/arm-neon-android.cmake +6 -0
  15. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-android.cmake +6 -0
  16. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-ios.cmake +4 -0
  17. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-linux-release.cmake +6 -0
  18. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-linux.cmake +5 -0
  19. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-mingw-dynamic.cmake +7 -0
  20. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-mingw-static.cmake +6 -0
  21. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-uwp-static-md.cmake +5 -0
  22. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-uwp.cmake +7 -0
  23. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-windows-static.cmake +3 -0
  24. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-windows.cmake +5 -0
  25. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-ios-release.cmake +6 -0
  26. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-ios-simulator-release.cmake +7 -0
  27. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-ios-simulator.cmake +5 -0
  28. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-linux-release.cmake +6 -0
  29. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-mingw-dynamic.cmake +7 -0
  30. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-mingw-static.cmake +6 -0
  31. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-osx-dynamic.cmake +6 -0
  32. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-osx-release.cmake +8 -0
  33. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-uwp-static-md.cmake +5 -0
  34. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-windows-static-release.cmake +5 -0
  35. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-windows-static.cmake +4 -0
  36. cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64ec-windows.cmake +3 -0
  37. cc-multilingual-main/cc_net/vcpkg/triplets/community/armv6-android.cmake +5 -0
  38. cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch32-linux-release.cmake +6 -0
  39. cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch32-linux.cmake +5 -0
  40. cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch64-linux-release.cmake +6 -0
  41. cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch64-linux.cmake +5 -0
  42. cc-multilingual-main/cc_net/vcpkg/triplets/community/mips64-linux.cmake +6 -0
  43. cc-multilingual-main/cc_net/vcpkg/triplets/community/ppc64le-linux.cmake +5 -0
  44. cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv32-linux-release.cmake +6 -0
  45. cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv32-linux.cmake +5 -0
  46. cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv64-linux-release.cmake +6 -0
  47. cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv64-linux.cmake +5 -0
  48. cc-multilingual-main/cc_net/vcpkg/triplets/community/s390x-linux-release.cmake +6 -0
  49. cc-multilingual-main/cc_net/vcpkg/triplets/community/s390x-linux.cmake +5 -0
  50. cc-multilingual-main/cc_net/vcpkg/triplets/community/wasm32-emscripten.cmake +24 -0
cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/00-report-package-build-failure.yml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Report package build failure
2
+ description: Let us know about build failures in ports.
3
+ title: "[<port name>] build failure"
4
+ labels: ["category:port-bug"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ ⚠ Please use the generated issue template instead to report a port build failure. ⚠ <br>
10
+ See [here](https://github.com/microsoft/vcpkg/issues/30604) how to properly report an issue with the latest vcpkg version:
11
+ <video width="800" controls="controls" muted="muted" src="https://user-images.githubusercontent.com/41973254/229313721-b82c2d3d-b0f9-4e31-98df-08d75831f695.mp4"></video>
12
+ - type: input
13
+ id: os
14
+ attributes:
15
+ label: Operating system
16
+ placeholder: "e.g. Windows/Linux etc..."
17
+ validations:
18
+ required: true
19
+ - type: input
20
+ id: compiler
21
+ attributes:
22
+ label: Compiler
23
+ placeholder: "GCC, Clang, MSVC, MinGW, ..."
24
+ validations:
25
+ required: false
26
+ - type: textarea
27
+ id: reproduce
28
+ attributes:
29
+ label: Steps to reproduce the behavior
30
+ placeholder: "`./vcpkg install xxxx`"
31
+ render: "Shell"
32
+ validations:
33
+ required: true
34
+ - type: textarea
35
+ id: logs
36
+ attributes:
37
+ label: Failure logs
38
+ description: The console output and all the logs mentioned in the output.
39
+ validations:
40
+ required: true
41
+ - type: textarea
42
+ id: context
43
+ attributes:
44
+ label: Additional context
45
+ description: Add any other context about the problem here, such as what you have already tried to resolve the issue.
46
+ validations:
47
+ required: false
cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/01-request-a-new-port.yml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Request a new port
2
+ description: Request a new port/library that vcpkg should support.
3
+ title: "[New Port Request] <library name here>"
4
+ labels: ["category:new-port", "info:good-first-issue"]
5
+
6
+ body:
7
+ - type: input
8
+ id: name
9
+ attributes:
10
+ label: Library name
11
+ validations:
12
+ required: true
13
+ - type: input
14
+ id: description
15
+ attributes:
16
+ label: Library description
17
+ validations:
18
+ required: false
19
+ - type: input
20
+ id: url
21
+ attributes:
22
+ label: Source repository URL
23
+ validations:
24
+ required: true
25
+ - type: input
26
+ id: homepage
27
+ attributes:
28
+ label: Project homepage (if different from the source repository)
29
+ validations:
30
+ required: false
31
+ - type: textarea
32
+ id: additional-info
33
+ attributes:
34
+ label: Anything else that is useful to know when adding (such as optional features the library may have that should be included)
35
+ validations:
36
+ required: false
cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/02-request-an-update-to-an-existing-port.yml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Request an update to an existing port
2
+ description: Let us know about a new version of a library we should pick up.
3
+ title: "[<port name>] update to <version>"
4
+ labels: ['category:port-update']
5
+ body:
6
+ - type: input
7
+ id: name
8
+ attributes:
9
+ label: Library name
10
+ validations:
11
+ required: true
12
+ - type: input
13
+ id: version
14
+ attributes:
15
+ label: New version number
16
+ validations:
17
+ required: true
18
+ - type: textarea
19
+ id: information
20
+ attributes:
21
+ label: Other information that may be useful (release notes, etc...)
22
+ validations:
23
+ required: false
cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/03-request-a-feature-or-improvement-to-a-port.yml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Request a feature or improvement to a port
2
+ description: Suggest an improvement to one the the ports/libraries in vcpkg.
3
+ title: "[<portname>] <short description of feature>"
4
+ labels: ["category:port-feature"]
5
+ body:
6
+ - type: textarea
7
+ attributes:
8
+ label: Is your feature request related to a problem? Please describe.
9
+ placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ attributes:
14
+ label: Proposed solution
15
+ placeholder: A clear and concise description of what you want to happen.
16
+ validations:
17
+ required: true
18
+ - type: textarea
19
+ attributes:
20
+ label: Describe alternatives you've considered
21
+ placeholder: A clear and concise description of any alternative solutions or features you've considered if applicable.
22
+ validations:
23
+ required: false
24
+ - type: textarea
25
+ attributes:
26
+ label: Additional context
27
+ placeholder: Add any other context or screenshots about the feature request here.
28
+ validations:
29
+ required: false
cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/04-request-a-feature-or-improvement.yml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Request a feature or improvement
2
+ description: Suggest an improvement to vcpkg.
3
+ title: ''
4
+ labels: ["category:vcpkg-feature"]
5
+ body:
6
+ - type: textarea
7
+ attributes:
8
+ label: Is your feature request related to a problem? Please describe.
9
+ placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ attributes:
14
+ label: Proposed solution
15
+ placeholder: A clear and concise description of what you want to happen.
16
+ validations:
17
+ required: true
18
+ - type: textarea
19
+ attributes:
20
+ label: Describe alternatives you've considered
21
+ placeholder: A clear and concise description of any alternative solutions or features you've considered.
22
+ validations:
23
+ required: false
24
+ - type: textarea
25
+ attributes:
26
+ label: Additional context
27
+ placeholder: Add any other context or screenshots about the feature request here.
28
+ validations:
29
+ required: false
cc-multilingual-main/cc_net/vcpkg/.github/ISSUE_TEMPLATE/05-other-type-of-bug-report.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ name: Other type of bug report
3
+ about: Let us know about an issues that does not fit into any of the other issues.
4
+ types
5
+ title: ''
6
+ labels: ''
7
+ assignees: ''
8
+
9
+ ---
10
+
11
+ **Describe the bug**
12
+ A clear and concise description of what the bug is.
13
+
14
+ **Environment**
15
+ - OS: [e.g. Windows/Linux etc...]
16
+ - Compiler: revision
17
+
18
+ **To Reproduce**
19
+ Steps to reproduce the behavior:
20
+ 1. ./vcpkg install xxxx
21
+ 2. See error
22
+ Repro code when
23
+
24
+ **Expected behavior**
25
+ A clear and concise description of what you expected to happen.
26
+
27
+ **Failure logs**
28
+ -(please attached failure logs)
29
+
30
+ **Additional context**
31
+ Add any other context about the problem here.
cc-multilingual-main/cc_net/vcpkg/.github/pull_request_template.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- If your PR fixes issues, please note that here by adding "Fixes #NNNNNN." for each fixed issue on separate lines. -->
2
+
3
+ <!-- If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->
4
+
5
+ <!-- If this PR updates an existing port, please uncomment and fill out this checklist:
6
+
7
+ - [ ] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
8
+ - [ ] SHA512s are updated for each updated download.
9
+ - [ ] The "supports" clause reflects platforms that may be fixed by this new version.
10
+ - [ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.
11
+ - [ ] Any patches that are no longer applied are deleted from the port's directory.
12
+ - [ ] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result.
13
+ - [ ] Only one version is added to each modified port's versions file.
14
+
15
+ END OF PORT UPDATE CHECKLIST (delete this line) -->
16
+
17
+ <!-- If this PR adds a new port, please uncomment and fill out this checklist:
18
+
19
+ - [ ] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
20
+ - [ ] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
21
+ - [ ] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all `find_package` calls are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or disabled with [CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
22
+ - [ ] The versioning scheme in `vcpkg.json` matches what upstream says.
23
+ - [ ] The license declaration in `vcpkg.json` matches what upstream says.
24
+ - [ ] The installed as the "copyright" file matches what upstream says.
25
+ - [ ] The source code of the component installed comes from an authoritative source.
26
+ - [ ] The generated "usage text" is accurate. See [adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md) for context.
27
+ - [ ] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result.
28
+ - [ ] Only one version is in the new port's versions file.
29
+ - [ ] Only one version is added to each modified port's versions file.
30
+
31
+ END OF NEW PORT CHECKLIST (delete this line) -->
cc-multilingual-main/cc_net/vcpkg/.github/workflows/check_issues.yml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Check For Common Issues
2
+
3
+ on:
4
+ issues:
5
+ types:
6
+ - opened
7
+
8
+ jobs:
9
+ check-for-common-issues:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ issues: write
13
+ steps:
14
+ - uses: actions/github-script@v7
15
+ with:
16
+ script: |
17
+ let issue_query = {
18
+ issue_number: context.issue.number,
19
+ owner: context.repo.owner,
20
+ repo: context.repo.repo
21
+ };
22
+ let issue = await github.rest.issues.get(issue_query)
23
+ let commentLabelClose = async (comment, label) => {
24
+ await github.rest.issues.removeAllLabels(issue_query);
25
+ await github.rest.issues.setLabels({...issue_query, labels: [label]});
26
+ await github.rest.issues.createComment({...issue_query, body: comment});
27
+ await github.rest.issues.update({...issue_query, state: "closed"});
28
+ }
29
+
30
+ // missing-windows-sdk-issue
31
+ let reg = /RC Pass 1: command "rc .*" failed \(exit code 0\) with the following output:/;
32
+ if (reg.test(issue.data.body)){
33
+ let body = "Thanks for posting this issue. Please make sure you have the following installed.\n" +
34
+ "- Visual Studio Desktop development with C++.\n" +
35
+ "- Windows 10 SDK or Windows 11 SDK.";
36
+ return await commentLabelClose(body, "category:question");
37
+ }
38
+
39
+ // msys2 download fails => old vcpkg version
40
+ reg = /error: https:\/\/repo\.msys2\.org\/.*: failed: status code 404/;
41
+ if (reg.test(issue.data.body)){
42
+ let body = "Try updating your vcpkg version via `git pull` to resolve this issue. MSYS2 downloads are removed from the upstream servers from time to time, so using an up-to-date vcpkg version is necessary."
43
+ return await commentLabelClose(body, "category:question");
44
+ }
45
+
46
+ // Issue text is: Copy issue body from .../issue_body.md
47
+ reg = /^Copy issue body from .*issue_body.md$/;
48
+ if (reg.test(issue.data.body)){
49
+ let body = "Please see #30604 for how to report a build failure."
50
+ return await commentLabelClose(body, "requires:more-information");
51
+ }
52
+
53
+ // Issue to short like #36592 or #36668
54
+ reg = /^error: building.* BUILD_FAILED\r\nElapsed time.*\r\nPlease ensure.*(\r\nThen check .*\r\n.*)?$/;
55
+ if (reg.test(issue.data.body)){
56
+ let body = "Please see #30604 for how to report a build failure."
57
+ return await commentLabelClose(body, "requires:more-information");
58
+ }
59
+
60
+ // pkg-config/ not found issues like #36011
61
+ reg = /CMake Error at scripts\/cmake\/vcpkg_find_acquire_program.*\r\n(.*Please install it via your package manager:[\s\S]+)Call Stack/;
62
+ match = issue.data.body.match(reg)
63
+ if (match){
64
+ let body = "From the log:\n```\n" + match[1] + "```\n"
65
+ return await commentLabelClose(body, "category:question");
66
+ }
67
+
68
+ // MSVC internal compiler error like #36628
69
+ if (issue.data.body.indexOf("fatal error C1001: Internal compiler error") !== -1){
70
+ let body = "The build failed due to an internal compiler error. Please update your compiler or revert to an old version."
71
+ return await commentLabelClose(body, "category:question");
72
+ }
73
+
74
+ // configure: error: 'autoconf-archive' is missing like #37013
75
+ if (issue.data.body.indexOf("configure: error: 'autoconf-archive' is missing") !== -1){
76
+ let body = "Please install `autoconf-archive` via `brew install autoconf-archive` (macos) or `sudo apt-get install autoconf-archive` (linux)"
77
+ return await commentLabelClose(body, "category:question");
78
+ }
cc-multilingual-main/cc_net/vcpkg/.github/workflows/stale.yml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: 'Close stale issues and PRs'
2
+ on:
3
+ schedule:
4
+ - cron: '30 1 * * *'
5
+
6
+ permissions:
7
+ issues: write
8
+
9
+ jobs:
10
+ stale:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/stale@v8
14
+ with:
15
+ stale-issue-message: 'This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.'
16
+ any-of-labels: 'category:question,requires:repro,requires:more-information'
17
+ days-before-issue-stale: 28
18
+ days-before-pr-stale: -1
19
+ days-before-close: 14
20
+ - uses: actions/stale@v8
21
+ with:
22
+ stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 60 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment."
23
+ any-of-labels: 'category:new-port'
24
+ close-issue-label: 'info:new-port-unresolved'
25
+ days-before-issue-stale: 60
26
+ days-before-pr-stale: -1
27
+ days-before-close: 14
28
+ - uses: actions/stale@v8
29
+ with:
30
+ stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment."
31
+ exempt-issue-labels: 'no-stale,category:new-port,category:question,requires:repro,requires:more-information'
32
+ days-before-issue-stale: 180
33
+ days-before-pr-stale: -1
34
+ days-before-close: 14
35
+ operations-per-run: 50
cc-multilingual-main/cc_net/vcpkg/.github/workflows/untrustedPR.yml ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Check For Common Mistakes
2
+
3
+ on:
4
+ pull_request:
5
+
6
+ jobs:
7
+ Check:
8
+ runs-on: ubuntu-22.04
9
+
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+ with:
14
+ # fetch-depth 50 tries to ensure we capture the whole history of the branch
15
+ fetch-depth: 50
16
+
17
+ - name: Bootstrap
18
+ run: ./bootstrap-vcpkg.sh
19
+
20
+ - name: Formatting
21
+ run: |
22
+ git config user.email github-actions
23
+ git config user.name [email protected]
24
+
25
+ git --version
26
+
27
+ unset VCPKG_ROOT
28
+
29
+ git diff --name-status --merge-base HEAD^ HEAD --diff-filter=MAR -- '*portfile.cmake' | sed 's/[MAR]\t*//' > .github-pr.changed-portfiles
30
+ if [ -s .github-pr.changed-portfiles ]; then (grep -n -H -E '(vcpkg_apply_patches|vcpkg_build_msbuild|vcpkg_extract_source_archive_ex)' $(cat .github-pr.changed-portfiles) || true) > .github-pr.deprecated-function; else touch .github-pr.deprecated-function; fi
31
+ if [ -s .github-pr.changed-portfiles ]; then (grep -n -H -E '(vcpkg_install_cmake|vcpkg_build_cmake|vcpkg_configure_cmake|vcpkg_fixup_cmake_targets)' $(cat .github-pr.changed-portfiles) || true) > .github-pr.deprecated-cmake; else touch .github-pr.deprecated-cmake; fi
32
+ git diff --name-status --merge-base HEAD^ HEAD --diff-filter=MAR -- '*vcpkg.json' | sed 's/[MAR]\t*//' > .github-pr.changed-manifest-files
33
+ cat .github-pr.changed-manifest-files | while read filename; do grep -q -E '"license": ' "$filename" || echo "$filename" || true; done > .github-pr.missing-license
34
+ cat .github-pr.changed-manifest-files | while read filename; do match=$(grep -oiP '"license": ".*\K(AGPL-1\.0|AGPL-3\.0|BSD-2-Clause-FreeBSD|BSD-2-Clause-NetBSD|bzip2-1\.0\.5|eCos-2\.0|GFDL-1\.1|GFDL-1\.2|GFDL-1\.3|GPL-1\.0|GPL-1\.0\+|GPL-2\.0|GPL-2\.0\+|GPL-2\.0-with-autoconf-exception|GPL-2\.0-with-bison-exception|GPL-2\.0-with-classpath-exception|GPL-2\.0-with-font-exception|GPL-2\.0-with-GCC-exception|GPL-3\.0|GPL-3\.0\+|GPL-3\.0-with-autoconf-exception|GPL-3\.0-with-GCC-exception|LGPL-2\.0|LGPL-2\.0\+|LGPL-2\.1|LGPL-2\.1\+|LGPL-3\.0|LGPL-3\.0\+|Nunit|StandardML-NJ|wxWindows)(?=[ "])' "$filename" || true); if [ ! -z "$match" ]; then echo "$filename (has deprecated license \"$match\")" ; fi ; done > .github-pr.deprecated-license
35
+ ./vcpkg format-manifest --all --convert-control
36
+ git diff > .github-pr.format-manifest
37
+ git add -u
38
+ git commit -m "tmp" --allow-empty
39
+ # HEAD^^ refers to the "main" commit that was merged into
40
+ git checkout HEAD^^ -- versions
41
+ git restore --staged versions
42
+ ./vcpkg x-add-version --all --skip-formatting-check | grep 'instead of "version-string"' | tee .github-pr.version-string.out || true
43
+ git checkout -- versions
44
+ ./vcpkg x-add-version --all --skip-formatting-check --skip-version-format-check | tee .github-pr.x-add-version.out || true
45
+ git diff > .github-pr.x-add-version.diff
46
+ git reset HEAD~ --mixed
47
+
48
+ - name: Generate Reply
49
+ uses: actions/github-script@v7
50
+ with:
51
+ script: |
52
+ const { promises: fs } = require('fs')
53
+ const add_version = (await fs.readFile('.github-pr.x-add-version.diff', 'utf8')).trim()
54
+ const add_version_out = (await fs.readFile('.github-pr.x-add-version.out', 'utf8')).trim()
55
+ const version_string_out = (await fs.readFile('.github-pr.version-string.out', 'utf8')).trim()
56
+ const format = (await fs.readFile('.github-pr.format-manifest', 'utf8')).trim()
57
+ const deprecated_function = (await fs.readFile('.github-pr.deprecated-function', 'utf8')).split('\n').filter(s => s.length > 0)
58
+ const deprecated_cmake = (await fs.readFile('.github-pr.deprecated-cmake', 'utf8')).split('\n').filter(s => s.length > 0)
59
+ const missing_license = (await fs.readFile('.github-pr.missing-license', 'utf8')).trim()
60
+ const deprecated_license = (await fs.readFile('.github-pr.deprecated-license', 'utf8')).trim()
61
+
62
+ let approve = true;
63
+ if (format !== "") {
64
+ var format_output = '';
65
+ format_output += "All vcpkg.json files must be formatted. To fix this problem, run:\n";
66
+ format_output += "./vcpkg format-manifest ports/*/vcpkg.json\n";
67
+ format_output += "\n";
68
+ format_output += "It should make the following changes:";
69
+ format_output += "```diff\n" + format + "\n```";
70
+ core.error(format_output);
71
+ approve = false;
72
+ }
73
+ if (add_version_out !== "") {
74
+ var add_version_output = '';
75
+ add_version_output += "PRs must add only one version, and must not modify any published versions.\n";
76
+ add_version_output += "When making any changes to a library, the version or port-version in vcpkg.json must be modified, and the version database updated.\n";
77
+ add_version_output += "Making the following changes will fix this problem:";
78
+ add_version_output += "```diff\n" + add_version_out + "\n```";
79
+ core.error(add_version_output);
80
+ approve = false;
81
+ }
82
+ if (version_string_out !== "") {
83
+ core.warning(version_string_out);
84
+ }
85
+ if (add_version !== "") {
86
+ var update_version_db_output = '';
87
+ update_version_db_output += "After committing all other changes, the version database must be updated.\n";
88
+ update_version_db_output += "This can be done by running the following commands after committing your changes:\n"
89
+ update_version_db_output += "\n"
90
+ update_version_db_output += "git add -u && git commit\n"
91
+ update_version_db_output += "git checkout ${{ github.event.pull_request.base.sha }} -- versions\n"
92
+ update_version_db_output += "./vcpkg x-add-version --all"
93
+ core.error(update_version_db_output);
94
+ approve = false;
95
+ }
96
+
97
+ if (deprecated_function.length > 0) {
98
+ var deprecated_output = '';
99
+ deprecated_output += "**You have modified or added at least one portfile where deprecated functions are used**\n"
100
+ deprecated_output += "If you feel able to do so, please consider migrating them to the new functions.\n";
101
+ core.warning(deprecated_output);
102
+
103
+ let deprecated_functions = {
104
+ vcpkg_extract_source_archive_ex: 'vcpkg_extract_source_archive https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_extract_source_archive',
105
+ vcpkg_build_msbuild: 'vcpkg_install_msbuild https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_install_msbuild',
106
+ vcpkg_apply_patches: 'the PATCHES arguments to the \"extract\" helpers (for example, vcpkg_from_github() (https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_from_github))',
107
+ };
108
+ for (let line of deprecated_function) {
109
+ // line has the format: <path>:<line_number>:<matched_string
110
+ // For example: ports/rtlsdr/portfile.cmake:42: vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT})
111
+ [file, line_number, match] = line.split(':');
112
+ for (deprecated_func in deprecated_functions) {
113
+ if (match.indexOf(deprecated_func) !== -1) {
114
+ core.warning(`The function ${deprecated_func} is deprecated. Please use ${deprecated_functions[deprecated_func]}`, {file, startLine: line_number});
115
+ break;
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ if (deprecated_cmake.length > 0) {
122
+ var deprecated_output = '';
123
+ deprecated_output += "You have modified or added at least one portfile where deprecated functions are used.\n"
124
+ deprecated_output += "These functions have been forbidden in vcpkg, please migrating them to the new functions.\n";
125
+ deprecated_output += "In the ports that use the new function vcpkg_cmake_configure, vcpkg_cmake_install, vcpkg_cmake_build or vcpkg_cmake_config_fixup, you have to add the corresponding dependencies:\n";
126
+ deprecated_output += "```json\n";
127
+ deprecated_output += '{\n "name": "vcpkg-cmake",\n "host": true\n},\n'
128
+ deprecated_output += '{\n "name": "vcpkg-cmake-config",\n "host": true\n}\n';
129
+ deprecated_output += "```\n";
130
+ core.error(deprecated_output);
131
+
132
+ let deprecated_functions = {
133
+ vcpkg_install_cmake: 'vcpkg_cmake_install (from port vcpkg-cmake)',
134
+ vcpkg_install_cmake: 'vcpkg_cmake_install (from port vcpkg-cmake)',
135
+ vcpkg_build_cmake: 'vcpkg_cmake_build (from port vcpkg-cmake)',
136
+ vcpkg_configure_cmake: 'vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)',
137
+ vcpkg_fixup_cmake_targets: 'vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)',
138
+ };
139
+ for (let line of deprecated_cmake) {
140
+ // line has the format: <path>:<line_number>:<matched_string
141
+ // For example: ports/rtlsdr/portfile.cmake:42: vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT})
142
+ [file, line_number, match] = line.split(':');
143
+ for (deprecated_cmake_function in deprecated_functions) {
144
+ if (match.indexOf(deprecated_cmake_function) !== -1) {
145
+ core.warning(`The function ${deprecated_cmake_function} is deprecated. Please use ${deprecated_functions[deprecated_cmake_function]}`, {file, startLine: line_number});
146
+ break;
147
+ }
148
+ }
149
+ }
150
+ }
151
+
152
+ if (missing_license !== "" || deprecated_license !== "") {
153
+ var license_output = '';
154
+ license_output += 'You have modified or added at least one vcpkg.json where you should check the \"license\" field.\n'
155
+ if (missing_license !== "") {
156
+ license_output += 'If you feel able to do so, please consider adding a "license" field to the following files:\n'
157
+ license_output += missing_license
158
+ license_output += "\n\nValid values for the license field can be found at https://learn.microsoft.com/en-us/vcpkg/reference/vcpkg-json#license\n\n"
159
+ }
160
+ if (deprecated_license !== "") {
161
+ license_output += 'If you feel able to do so, please consider replacing the deprecated license identifiers in the following files:\n'
162
+ license_output += deprecated_license
163
+ license_output += "\n\nDeprecated and non deprecated license identifiers can be found at https://spdx.org/licenses/#deprecated\n"
164
+ }
165
+
166
+ core.warning(license_output);
167
+ }
168
+
169
+ if (!approve) {
170
+ process.exitCode = 1;
171
+ }
cc-multilingual-main/cc_net/vcpkg/docs/users/manifests.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # Manifests
2
+
3
+ The documentation for this topic has been moved to the following articles in [Microsoft Learn](https://learn.microsoft.com/vcpkg):
4
+
5
+ * [Manifest mode](https://learn.microsoft.com/vcpkg/users/manifests)
6
+ * [vcpkg.json syntax](https://learn.microsoft.com/vcpkg/reference/vcpkg-json)
cc-multilingual-main/cc_net/vcpkg/docs/users/triplets.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # Triplets
2
+
3
+ The documentation for this topic has been moved to the following articles in [Microsoft Learn](https://learn.microsoft.com/vcpkg):
4
+
5
+ * [Triplet files](https://learn.microsoft.com/vcpkg/users/triplets)
6
+ * [Custom triplets](https://learn.microsoft.com/en-us/vcpkg/users/examples/overlay-triplets-linux-dynamic)
cc-multilingual-main/cc_net/vcpkg/docs/users/versioning.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Versioning
2
+
3
+ The documentation for this topic has been moved to the following articles in [Microsoft Learn](https://learn.microsoft.com/vcpkg):
4
+
5
+ * [vcpkg.json version fields](https://learn.microsoft.com/vcpkg/reference/vcpkg-json#version)
6
+ * [Versioning reference](https://learn.microsoft.com/vcpkg/users/versioning)
7
+ * [Versioning resolution algorithm](https://learn.microsoft.com/vcpkg/users/versioning.concepts)
cc-multilingual-main/cc_net/vcpkg/triplets/arm-neon-android.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE static)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME Android)
5
+ set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi")
6
+ set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=armeabi-v7a -DANDROID_ARM_NEON=ON)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-android.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE static)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME Android)
5
+ set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi")
6
+ set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=armeabi-v7a -DANDROID_ARM_NEON=OFF)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-ios.cmake ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME iOS)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-linux-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-linux.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-mingw-dynamic.cmake ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
4
+ set(VCPKG_ENV_PASSTHROUGH PATH)
5
+
6
+ set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
7
+ set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-mingw-static.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_ENV_PASSTHROUGH PATH)
5
+
6
+ set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-uwp-static-md.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME WindowsStore)
5
+ set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-uwp.cmake ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME WindowsStore)
6
+ set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
7
+
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-windows-static.cmake ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE static)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm-windows.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
4
+
5
+
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-ios-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME iOS)
5
+
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-ios-simulator-release.cmake ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME iOS)
5
+ set(VCPKG_OSX_SYSROOT iphonesimulator)
6
+
7
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-ios-simulator.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME iOS)
5
+ set(VCPKG_OSX_SYSROOT iphonesimulator)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-linux-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-mingw-dynamic.cmake ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
4
+ set(VCPKG_ENV_PASSTHROUGH PATH)
5
+
6
+ set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
7
+ set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-mingw-static.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_ENV_PASSTHROUGH PATH)
5
+
6
+ set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-osx-dynamic.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
6
+ set(VCPKG_OSX_ARCHITECTURES arm64)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-osx-release.cmake ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
6
+ set(VCPKG_OSX_ARCHITECTURES arm64)
7
+
8
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-uwp-static-md.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME WindowsStore)
5
+ set(VCPKG_CMAKE_SYSTEM_VERSION 10.0)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-windows-static-release.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE static)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64-windows-static.cmake ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64)
2
+ set(VCPKG_CRT_LINKAGE static)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
cc-multilingual-main/cc_net/vcpkg/triplets/community/arm64ec-windows.cmake ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm64ec)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE dynamic)
cc-multilingual-main/cc_net/vcpkg/triplets/community/armv6-android.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE arm)
2
+ set(VCPKG_CRT_LINKAGE static)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+ set(VCPKG_CMAKE_SYSTEM_NAME Android)
5
+ set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=armeabi -DANDROID_ARM_MODE=arm)
cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch32-linux-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE loongarch32)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch32-linux.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE loongarch32)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch64-linux-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE loongarch64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/loongarch64-linux.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE loongarch64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
cc-multilingual-main/cc_net/vcpkg/triplets/community/mips64-linux.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE mips64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+
cc-multilingual-main/cc_net/vcpkg/triplets/community/ppc64le-linux.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE ppc64le)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv32-linux-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE riscv32)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv32-linux.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE riscv32)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv64-linux-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE riscv64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/riscv64-linux.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE riscv64)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
cc-multilingual-main/cc_net/vcpkg/triplets/community/s390x-linux-release.cmake ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE s390x)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
6
+ set(VCPKG_BUILD_TYPE release)
cc-multilingual-main/cc_net/vcpkg/triplets/community/s390x-linux.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ set(VCPKG_TARGET_ARCHITECTURE s390x)
2
+ set(VCPKG_CRT_LINKAGE dynamic)
3
+ set(VCPKG_LIBRARY_LINKAGE static)
4
+
5
+ set(VCPKG_CMAKE_SYSTEM_NAME Linux)
cc-multilingual-main/cc_net/vcpkg/triplets/community/wasm32-emscripten.cmake ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set(VCPKG_ENV_PASSTHROUGH_UNTRACKED EMSCRIPTEN_ROOT EMSDK PATH)
2
+
3
+ if(NOT DEFINED ENV{EMSCRIPTEN_ROOT})
4
+ find_path(EMSCRIPTEN_ROOT "emcc")
5
+ else()
6
+ set(EMSCRIPTEN_ROOT "$ENV{EMSCRIPTEN_ROOT}")
7
+ endif()
8
+
9
+ if(NOT EMSCRIPTEN_ROOT)
10
+ if(NOT DEFINED ENV{EMSDK})
11
+ message(FATAL_ERROR "The emcc compiler not found in PATH")
12
+ endif()
13
+ set(EMSCRIPTEN_ROOT "$ENV{EMSDK}/upstream/emscripten")
14
+ endif()
15
+
16
+ if(NOT EXISTS "${EMSCRIPTEN_ROOT}/cmake/Modules/Platform/Emscripten.cmake")
17
+ message(FATAL_ERROR "Emscripten.cmake toolchain file not found")
18
+ endif()
19
+
20
+ set(VCPKG_TARGET_ARCHITECTURE wasm32)
21
+ set(VCPKG_CRT_LINKAGE dynamic)
22
+ set(VCPKG_LIBRARY_LINKAGE static)
23
+ set(VCPKG_CMAKE_SYSTEM_NAME Emscripten)
24
+ set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${EMSCRIPTEN_ROOT}/cmake/Modules/Platform/Emscripten.cmake")