Skip to content

Commit

Permalink
Disable valgrind automake dependency tracking in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mephi42 committed Aug 11, 2024
1 parent c9b5e72 commit de8e144
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
run: python3 setup.py sdist

- name: Build
run: PATH=/usr/lib/ccache:$PATH ./ci --skip-repair
run: PATH=/usr/lib/ccache:$PATH ./ci
--skip-repair
-DVALGRIND_CONFIGURE_FLAGS=--disable-dependency-tracking

- name: Smoke test
run: python3 -m pip install --user dist/wheelhouse/*.whl &&
Expand Down Expand Up @@ -113,6 +115,7 @@ jobs:
run: ./ci-docker
--arch=${{ matrix.arch }}
--python=${{ matrix.python }}
-DVALGRIND_CONFIGURE_FLAGS=--disable-dependency-tracking

- name: Show ccache stats
run: ccache --show-stats --verbose
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
run: python3 setup.py sdist

- name: Build
run: PATH=/usr/lib/ccache:$PATH ./ci --skip-repair
run: PATH=/usr/lib/ccache:$PATH ./ci
--skip-repair
-DVALGRIND_CONFIGURE_FLAGS=--disable-dependency-tracking

- name: Smoke test
run: python3 -m pip install --user dist/wheelhouse/*.whl &&
Expand All @@ -103,6 +105,7 @@ jobs:
run: ./ci-docker
--arch={% raw %}${{ matrix.arch }}{% endraw %}
--python={% raw %}${{ matrix.python }}{% endraw %}
-DVALGRIND_CONFIGURE_FLAGS=--disable-dependency-tracking
{{ steps_post("cross-${{ matrix.arch }}-${{ matrix.python }}") }}

PyPI:
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ add_custom_command(
--prefix=${valgrind_install}
--with-mpicc=false
--with-gdbscripts-dir=no
${VALGRIND_CONFIGURE_FLAGS}
DEPENDS ${valgrind_src}/configure
WORKING_DIRECTORY ${valgrind_build}
)
Expand Down

0 comments on commit de8e144

Please sign in to comment.