cppcheck 1.4.0__tar.gz → 1.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cppcheck-1.4.1/.github/codeql-config.yml +6 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.github/workflows/cd.yml +13 -16
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.github/workflows/ci.yml +7 -7
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.github/workflows/codeql.yml +7 -3
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.github/workflows/semantic-release.yml +2 -2
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.renovaterc.json +11 -4
- {cppcheck-1.4.0 → cppcheck-1.4.1}/CMakeLists.txt +3 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/PKG-INFO +2 -4
- {cppcheck-1.4.0 → cppcheck-1.4.1}/README.md +1 -3
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg_bootstrap.cmake +26 -12
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg_load_triplet.cmake +1 -1
- {cppcheck-1.4.0 → cppcheck-1.4.1}/pyproject.toml +1 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/src/cppcheck/_version.py +2 -2
- {cppcheck-1.4.0 → cppcheck-1.4.1}/vcpkg.json +2 -2
- cppcheck-1.4.0/.github/codeql-config.yml +0 -11
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.copier-answers.yml +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.devcontainer/devcontainer.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.editorconfig +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.gitattributes +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.github/codecov.yml +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.github/matchers/pylint.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.github/workflows/renovate.yml +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.gitignore +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.markdownlint.yaml +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.pre-commit-config.yaml +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.releaserc.js +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.vscode/launch.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/.vscode/settings.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/CMakePresets.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/LICENSE +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/arch/x64.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/base.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/compilers/gcc.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/compilers/llvm.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/compilers/mingw.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/compilers/msvc.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/default.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/generators/ninja.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/os/darwin.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/os/linux.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/os/windows.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/toolchains/vcpkg.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/triplets/x64-linux.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/triplets/x64-mingw-dynamic.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/triplets/x64-mingw-static.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/triplets/x64-osx.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/triplets/x64-windows.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-linux-gcc.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-linux-llvm.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-mingw-dynamic-windows-mingw.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-mingw-static-windows-mingw.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-osx-gcc.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-osx-llvm.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-windows-llvm.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/presets/x64-windows-msvc.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg-config.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg_chainload_toolchain.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg_configure.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg_export_mode.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/ports/README.md +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/ports/cppcheck/portfile.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/ports/cppcheck/vcpkg.json +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/scripts/build_type.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/scripts/toolchains/README.md +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/triplets/README.md +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/vcpkg.toolchain.cmake +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/docs/api/index.md +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/docs/conf.py +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/docs/index.md +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/noxfile.py +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/src/cppcheck/__init__.py +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/src/cppcheck/__main__.py +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/src/cppcheck/_version.pyi +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/src/cppcheck/py.typed +0 -0
- {cppcheck-1.4.0 → cppcheck-1.4.1}/tests/test_package.py +0 -0
|
@@ -18,14 +18,14 @@ jobs:
|
|
|
18
18
|
name: Build SDist
|
|
19
19
|
runs-on: ubuntu-22.04
|
|
20
20
|
steps:
|
|
21
|
-
- uses: actions/checkout@v4
|
|
21
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
22
22
|
with:
|
|
23
23
|
fetch-depth: 0
|
|
24
24
|
|
|
25
25
|
- name: Build SDist
|
|
26
26
|
run: pipx run build --sdist
|
|
27
27
|
|
|
28
|
-
- uses: actions/upload-artifact@v4
|
|
28
|
+
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
|
29
29
|
with:
|
|
30
30
|
name: cibw-sdist
|
|
31
31
|
path: dist/*.tar.gz
|
|
@@ -36,10 +36,10 @@ jobs:
|
|
|
36
36
|
|
|
37
37
|
strategy:
|
|
38
38
|
matrix:
|
|
39
|
-
arch: [aarch64, ppc64le, s390x, x86_64, i686]
|
|
39
|
+
arch: [aarch64, ppc64le, s390x, armv7l, x86_64, i686]
|
|
40
40
|
build: [manylinux, musllinux]
|
|
41
41
|
os: [ubuntu-latest]
|
|
42
|
-
use_qemu: [aarch64 ppc64le s390x]
|
|
42
|
+
use_qemu: [aarch64 ppc64le s390x armv7l]
|
|
43
43
|
include:
|
|
44
44
|
- os: windows-2019
|
|
45
45
|
arch: AMD64
|
|
@@ -56,23 +56,20 @@ jobs:
|
|
|
56
56
|
- os: macos-latest
|
|
57
57
|
arch: arm64
|
|
58
58
|
build: macos
|
|
59
|
-
|
|
60
|
-
arch: armv7l
|
|
61
|
-
build: musllinux
|
|
62
|
-
use_qemu: armv7l
|
|
59
|
+
|
|
63
60
|
steps:
|
|
64
|
-
- uses: actions/checkout@v4
|
|
61
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
65
62
|
with:
|
|
66
63
|
fetch-depth: 0
|
|
67
64
|
|
|
68
65
|
- name: Set up msvc on Windows
|
|
69
66
|
if: runner.os == 'Windows'
|
|
70
|
-
uses: ilammy/msvc-dev-cmd@v1
|
|
67
|
+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1
|
|
71
68
|
with:
|
|
72
69
|
arch: ${{ matrix.arch }}
|
|
73
70
|
|
|
74
71
|
- name: Set up QEMU
|
|
75
|
-
uses: docker/setup-qemu-action@v3.2.0
|
|
72
|
+
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
|
|
76
73
|
if: runner.os == 'Linux' && contains(matrix.use_qemu, matrix.arch)
|
|
77
74
|
|
|
78
75
|
- name: Check architecture and set environment variable
|
|
@@ -88,13 +85,13 @@ jobs:
|
|
|
88
85
|
fi
|
|
89
86
|
|
|
90
87
|
- name: Build wheels
|
|
91
|
-
uses: pypa/cibuildwheel@v2.
|
|
88
|
+
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
|
|
92
89
|
env:
|
|
93
90
|
CIBW_ARCHS: ${{ matrix.arch }}
|
|
94
91
|
CIBW_BUILD: cp311-${{ matrix.build }}*
|
|
95
92
|
|
|
96
93
|
- name: Upload wheels
|
|
97
|
-
uses: actions/upload-artifact@v4
|
|
94
|
+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
|
98
95
|
with:
|
|
99
96
|
name: cibw-${{ runner.os }}-${{ matrix.build }}-${{ matrix.arch }}
|
|
100
97
|
path: wheelhouse/*.whl
|
|
@@ -108,7 +105,7 @@ jobs:
|
|
|
108
105
|
if: github.event_name == 'release' && github.event.action == 'published'
|
|
109
106
|
|
|
110
107
|
steps:
|
|
111
|
-
- uses: actions/download-artifact@v4
|
|
108
|
+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
|
|
112
109
|
with:
|
|
113
110
|
pattern: cibw-*
|
|
114
111
|
path: dist
|
|
@@ -130,7 +127,7 @@ jobs:
|
|
|
130
127
|
timeout-minutes: 15
|
|
131
128
|
|
|
132
129
|
steps:
|
|
133
|
-
- uses: actions/checkout@
|
|
130
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
134
131
|
with:
|
|
135
132
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
136
133
|
ref: ${{ github.head_ref }}
|
|
@@ -145,7 +142,7 @@ jobs:
|
|
|
145
142
|
key: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
146
143
|
restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }}
|
|
147
144
|
|
|
148
|
-
- uses: actions/setup-python@
|
|
145
|
+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
|
|
149
146
|
with:
|
|
150
147
|
python-version: 3.x
|
|
151
148
|
|
|
@@ -23,11 +23,11 @@ jobs:
|
|
|
23
23
|
pre-commit:
|
|
24
24
|
runs-on: ubuntu-22.04
|
|
25
25
|
steps:
|
|
26
|
-
- uses: actions/checkout@
|
|
26
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
27
27
|
with:
|
|
28
28
|
fetch-depth: 0
|
|
29
29
|
|
|
30
|
-
- uses: actions/setup-python@
|
|
30
|
+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
|
|
31
31
|
with:
|
|
32
32
|
python-version: 3.x
|
|
33
33
|
|
|
@@ -58,7 +58,7 @@ jobs:
|
|
|
58
58
|
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
|
|
59
59
|
|
|
60
60
|
steps:
|
|
61
|
-
- uses: actions/checkout@v4
|
|
61
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
62
62
|
with:
|
|
63
63
|
fetch-depth: 0
|
|
64
64
|
|
|
@@ -72,7 +72,7 @@ jobs:
|
|
|
72
72
|
key: ${{ matrix.python-version }}-${{ matrix.runs-on }}-${{ hashFiles('vcpkg.json') }}
|
|
73
73
|
restore-keys: ${{ matrix.python-version }}-${{ matrix.runs-on }}-${{ hashFiles('vcpkg.json') }}
|
|
74
74
|
|
|
75
|
-
- uses: actions/setup-python@v5
|
|
75
|
+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
|
|
76
76
|
with:
|
|
77
77
|
python-version: ${{ matrix.python-version }}
|
|
78
78
|
|
|
@@ -85,7 +85,7 @@ jobs:
|
|
|
85
85
|
--durations=20
|
|
86
86
|
|
|
87
87
|
- name: Upload coverage report
|
|
88
|
-
uses: codecov/codecov-action@v3.1.
|
|
88
|
+
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
|
|
89
89
|
|
|
90
90
|
check-docs:
|
|
91
91
|
runs-on: ubuntu-22.04
|
|
@@ -93,7 +93,7 @@ jobs:
|
|
|
93
93
|
timeout-minutes: 15
|
|
94
94
|
|
|
95
95
|
steps:
|
|
96
|
-
- uses: actions/checkout@v4
|
|
96
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
97
97
|
with:
|
|
98
98
|
fetch-depth: 0
|
|
99
99
|
|
|
@@ -107,7 +107,7 @@ jobs:
|
|
|
107
107
|
key: docs-${{ hashFiles('vcpkg.json') }}
|
|
108
108
|
restore-keys: docs-${{ hashFiles('vcpkg.json') }}
|
|
109
109
|
|
|
110
|
-
- uses: actions/setup-python@v5
|
|
110
|
+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
|
|
111
111
|
with:
|
|
112
112
|
python-version: 3.x
|
|
113
113
|
|
|
@@ -45,12 +45,12 @@ jobs:
|
|
|
45
45
|
|
|
46
46
|
steps:
|
|
47
47
|
- name: Checkout repository
|
|
48
|
-
uses: actions/checkout@
|
|
48
|
+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
49
49
|
with:
|
|
50
50
|
fetch-depth: 0
|
|
51
51
|
|
|
52
52
|
- name: Initialize CodeQL
|
|
53
|
-
uses: github/codeql-action/init@
|
|
53
|
+
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
|
|
54
54
|
with:
|
|
55
55
|
languages: ${{ matrix.language }}
|
|
56
56
|
config-file: ./.github/codeql-config.yml
|
|
@@ -64,8 +64,12 @@ jobs:
|
|
|
64
64
|
key: codeql-${{ hashFiles('vcpkg.json') }}
|
|
65
65
|
restore-keys: codeql-${{ hashFiles('vcpkg.json') }}
|
|
66
66
|
|
|
67
|
+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
|
|
68
|
+
with:
|
|
69
|
+
python-version: 3.x
|
|
70
|
+
|
|
67
71
|
- name: Build
|
|
68
72
|
run: python -m pip install .[test]
|
|
69
73
|
|
|
70
74
|
- name: Perform CodeQL Analysis
|
|
71
|
-
uses: github/codeql-action/analyze@
|
|
75
|
+
uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
|
|
@@ -40,13 +40,13 @@ jobs:
|
|
|
40
40
|
echo "# :warning: GITHUB_TOKEN is used" >> $GITHUB_STEP_SUMMARY
|
|
41
41
|
echo "The GITHUB_TOKEN is used instead of a bot token or PAT that will not emit the released publish event for triggering a released workflow." >> $GITHUB_STEP_SUMMARY
|
|
42
42
|
|
|
43
|
-
- uses: actions/checkout@
|
|
43
|
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
44
44
|
with:
|
|
45
45
|
fetch-depth: 0
|
|
46
46
|
token: ${{ steps.bot_token.outputs.token || secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
47
47
|
|
|
48
48
|
- name: Setup Node.js
|
|
49
|
-
uses: actions/setup-node@
|
|
49
|
+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
|
50
50
|
with:
|
|
51
51
|
node-version: lts/*
|
|
52
52
|
|
|
@@ -9,10 +9,18 @@
|
|
|
9
9
|
"automergeStrategy": "merge-commit",
|
|
10
10
|
"platformAutomerge": true,
|
|
11
11
|
"packageRules": [
|
|
12
|
+
{
|
|
13
|
+
"matchUpdateTypes": [
|
|
14
|
+
"minor",
|
|
15
|
+
"patch",
|
|
16
|
+
"pin",
|
|
17
|
+
"digest"
|
|
18
|
+
],
|
|
19
|
+
"automerge": true
|
|
20
|
+
},
|
|
12
21
|
{
|
|
13
22
|
"description": "Group renovate docker tag and pre-commit-hooks tag",
|
|
14
23
|
"groupName": "renovate group",
|
|
15
|
-
"extends": ["schedule:automergeMonthly"],
|
|
16
24
|
"addLabels": [
|
|
17
25
|
"auto-approval",
|
|
18
26
|
"renovate"
|
|
@@ -21,21 +29,20 @@
|
|
|
21
29
|
"docker",
|
|
22
30
|
"github-tags"
|
|
23
31
|
],
|
|
24
|
-
"automerge": true,
|
|
25
32
|
"matchDepNames": [
|
|
26
33
|
"ghcr.io/renovatebot/renovate",
|
|
27
34
|
"renovatebot/pre-commit-hooks"
|
|
28
35
|
]
|
|
29
36
|
},
|
|
30
37
|
{
|
|
31
|
-
"commitMessageTopic": "serious-scaffold
|
|
38
|
+
"commitMessageTopic": "serious-scaffold",
|
|
32
39
|
"matchDepTypes": [
|
|
33
40
|
"copier-template"
|
|
34
41
|
],
|
|
35
42
|
"postUpgradeTasks": {
|
|
36
43
|
"commands": [
|
|
37
44
|
"git stash",
|
|
38
|
-
"pip install copier==9.
|
|
45
|
+
"pip install copier==9.4.1",
|
|
39
46
|
"copier update --defaults --vcs-ref {{{newVersion}}}"
|
|
40
47
|
]
|
|
41
48
|
},
|
|
@@ -26,6 +26,9 @@ set(CMAKE_CXX_EXTENSIONS
|
|
|
26
26
|
OFF
|
|
27
27
|
CACHE BOOL "C++ extensions")
|
|
28
28
|
|
|
29
|
+
find_package(cmake-modules REQUIRED)
|
|
30
|
+
include(cmake-modules/ProjectDefault)
|
|
31
|
+
|
|
29
32
|
find_program(cppcheck NAMES "cppcheck" "cppcheck.exe")
|
|
30
33
|
|
|
31
34
|
install(PROGRAMS ${cppcheck} DESTINATION ${SKBUILD_PROJECT_NAME}/Cppcheck)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cppcheck
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.1
|
|
4
4
|
Summary: Package cppcheck as a python wheel.
|
|
5
5
|
Author-Email: msclock <msclock@126.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -49,7 +49,7 @@ Package cppcheck as a python wheel.
|
|
|
49
49
|
|
|
50
50
|
[](https://msclock.github.io/cppcheck-wheel)
|
|
51
51
|
[](https://github.com/msclock/cppcheck-wheel/blob/master/LICENSE)
|
|
52
|
-
[](https://github.com/serious-scaffold/ss-pybind11)
|
|
53
53
|
|
|
54
54
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/ci.yml)
|
|
55
55
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/cd.yml)
|
|
@@ -59,11 +59,9 @@ Package cppcheck as a python wheel.
|
|
|
59
59
|
[](https://github.com/msclock/cppcheck-wheel/releases)
|
|
60
60
|
|
|
61
61
|
[](https://github.com/pre-commit/pre-commit)
|
|
62
|
-
[](https://github.com/pre-commit/mirrors-clang-format)
|
|
63
62
|
[](https://github.com/cheshirekow/cmake-format-precommit)
|
|
64
63
|
[](https://github.com/codespell-project/codespell)
|
|
65
64
|
[](https://github.com/igorshubovych/markdownlint-cli)
|
|
66
|
-
[](https://github.com/shellcheck-py/shellcheck-py)
|
|
67
65
|
|
|
68
66
|
<!-- writes more things here -->
|
|
69
67
|
|
|
@@ -6,7 +6,7 @@ Package cppcheck as a python wheel.
|
|
|
6
6
|
|
|
7
7
|
[](https://msclock.github.io/cppcheck-wheel)
|
|
8
8
|
[](https://github.com/msclock/cppcheck-wheel/blob/master/LICENSE)
|
|
9
|
-
[](https://github.com/serious-scaffold/ss-pybind11)
|
|
10
10
|
|
|
11
11
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/ci.yml)
|
|
12
12
|
[](https://github.com/msclock/cppcheck-wheel/actions/workflows/cd.yml)
|
|
@@ -16,11 +16,9 @@ Package cppcheck as a python wheel.
|
|
|
16
16
|
[](https://github.com/msclock/cppcheck-wheel/releases)
|
|
17
17
|
|
|
18
18
|
[](https://github.com/pre-commit/pre-commit)
|
|
19
|
-
[](https://github.com/pre-commit/mirrors-clang-format)
|
|
20
19
|
[](https://github.com/cheshirekow/cmake-format-precommit)
|
|
21
20
|
[](https://github.com/codespell-project/codespell)
|
|
22
21
|
[](https://github.com/igorshubovych/markdownlint-cli)
|
|
23
|
-
[](https://github.com/shellcheck-py/shellcheck-py)
|
|
24
22
|
|
|
25
23
|
<!-- writes more things here -->
|
|
26
24
|
|
|
@@ -22,17 +22,14 @@ endfunction()
|
|
|
22
22
|
function(_vcpkg_checkout vcpkg_root vcpkg_ref)
|
|
23
23
|
message(STATUS "vcpkg checkout to ${vcpkg_ref}")
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
WORKING_DIRECTORY ${vcpkg_root}
|
|
30
|
-
RESULT_VARIABLE result)
|
|
25
|
+
execute_process(
|
|
26
|
+
COMMAND ${GIT_EXECUTABLE} fetch origin ${vcpkg_ref}
|
|
27
|
+
WORKING_DIRECTORY ${vcpkg_root}
|
|
28
|
+
RESULT_VARIABLE result)
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
endif()
|
|
30
|
+
if(NOT result EQUAL "0")
|
|
31
|
+
message(
|
|
32
|
+
FATAL_ERROR "${GIT_EXECUTABLE} fetch ${vcpkg_ref} failed with ${result}")
|
|
36
33
|
endif()
|
|
37
34
|
|
|
38
35
|
execute_process(
|
|
@@ -50,7 +47,7 @@ endfunction()
|
|
|
50
47
|
# clone
|
|
51
48
|
function(_vcpkg_clone vcpkg_root vcpkg_repo vcpkg_ref)
|
|
52
49
|
execute_process(
|
|
53
|
-
COMMAND ${GIT_EXECUTABLE} clone ${vcpkg_repo} ${vcpkg_root}
|
|
50
|
+
COMMAND ${GIT_EXECUTABLE} clone ${vcpkg_repo} ${vcpkg_root} --depth=1
|
|
54
51
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
55
52
|
RESULT_VARIABLE result)
|
|
56
53
|
|
|
@@ -78,7 +75,24 @@ function(_vcpkg_tool_bootstrap vcpkg_root)
|
|
|
78
75
|
RESULT_VARIABLE result)
|
|
79
76
|
|
|
80
77
|
if(NOT result EQUAL "0")
|
|
81
|
-
|
|
78
|
+
if(CMAKE_HOST_UNIX)
|
|
79
|
+
message(STATUS "Retry to build vcpkg from source...")
|
|
80
|
+
set(bootstrap_impl "${vcpkg_root}/scripts/bootstrap.sh")
|
|
81
|
+
file(READ "${bootstrap_impl}" file_contents)
|
|
82
|
+
string(REPLACE [[elif [ "$ARCH" = "x86_64" ]; then]]
|
|
83
|
+
[[elif [ "$ARCH" = "" ]; then]] file_contents
|
|
84
|
+
"${file_contents}")
|
|
85
|
+
file(WRITE "${bootstrap_impl}" "${file_contents}")
|
|
86
|
+
|
|
87
|
+
execute_process(
|
|
88
|
+
COMMAND ${bootstrap_cmd} -disableMetrics
|
|
89
|
+
WORKING_DIRECTORY ${vcpkg_root}
|
|
90
|
+
RESULT_VARIABLE result)
|
|
91
|
+
endif()
|
|
92
|
+
|
|
93
|
+
if(NOT result EQUAL "0")
|
|
94
|
+
message(FATAL_ERROR "${bootstrap_cmd} failed with ${result}")
|
|
95
|
+
endif()
|
|
82
96
|
endif()
|
|
83
97
|
endfunction()
|
|
84
98
|
|
|
@@ -83,6 +83,7 @@ test-skip = ["*-win_arm64", "*-macosx_universal2:arm64"]
|
|
|
83
83
|
[tool.cibuildwheel.linux]
|
|
84
84
|
before-build =[
|
|
85
85
|
'yum install zip -y || apk add zip || true',
|
|
86
|
+
'apt update && apt install zip -y || true',
|
|
86
87
|
'pip install cmake ninja',
|
|
87
88
|
'cmake --version', 'git --version', 'ninja --version',
|
|
88
89
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
|
3
3
|
"name": "cppcheck-wheel",
|
|
4
4
|
"description": "Package cppcheck as a python wheel.",
|
|
5
|
-
"builtin-baseline": "
|
|
5
|
+
"builtin-baseline": "5e5d0e1cd7785623065e77eff011afdeec1a3574",
|
|
6
6
|
"homepage": "https://github.com/msclock/cppcheck-wheel",
|
|
7
7
|
"dependencies": [
|
|
8
8
|
{
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"registries": [
|
|
33
33
|
{
|
|
34
34
|
"kind": "git",
|
|
35
|
-
"baseline": "
|
|
35
|
+
"baseline": "94eec2ad9432c08ee1a1adfce536e5585d1355ba",
|
|
36
36
|
"repository": "https://github.com/msclock/cmake-registry",
|
|
37
37
|
"packages": [
|
|
38
38
|
"cmake-modules",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cppcheck-1.4.0 → cppcheck-1.4.1}/cmake/vcpkg/bootstrap/vcpkg_skip_install_on_reconfigure.cmake
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|