Debian Patches

Status for hipsparse/6.4.3-1~exp1

Patch Description Author Forwarded Bugs Origin Last update
optional-test-matrices.patch optional test matrices
Add an option to disable the use of downloaded matrix data with
-DWITH_TEST_MATRICES=OFF
Cordell Bloor <cgmb@slerp.xyz> no 2023-07-08
use-local-mathjax.patch use local mathjax
The sphinx.ext.mathjax extension defaults to loading mathjax from a
CDN, which results in the lintian warning 'privacy-breach-generic'.
Use a local copy of mathjax to prevent that problem.
Cordell Bloor <cgmb@slerp.xyz> not-needed 2023-05-28
allow-missing-matrix-data-in-tests.patch allow missing matrix data in tests
Changes applied using:

find -name '*pp' -exec perl -i -p0e \
's/(.*Cannot open \[read\].*\n.*HIPSPARSE_STATUS_)INTERNAL_ERROR/\1SUCCESS/' \
{} \;

find -name '*pp' -exec perl -i -p0e \
's/fprintf.*(Cannot open \[read\]).*,\s*(\w+).c_str\(\)/[&](){ GTEST_SKIP() << "\1 " << \2; }(/' \
{} \;
Cordell Bloor <cgmb@slerp.xyz> no 2023-07-08
Extend-docs-conf.py-for-offline-build.patch Extend docs/conf.py for offline build
By setting these extra variables, we can suppress a remote call which
would cause the build to fail.
Christian Kastner <ckk@debian.org> no 2025-06-29
Add-missing-GTest-includes-and-linking.patch Add missing GTest includes and linking
The missing gtest.h causes a compile error because of GTEST_SKIP use,
which also seems to be the cause of a linking issue.
Christian Kastner <ckk@debian.org> yes 2025-06-29
Skip-upstream-tests-requiring-upstream-binaries.patch Skip upstream tests requiring upstream binaries
Upstream errors out hard when the text matrix binaries are not found.
Instead, don't exit, and skip the tests.

The tests were modified with:

$ grep -R get_filename clients/tests -l | \
xargs sed -i '/Arguments arg = /a SKIP_IF_DEBIANNOTFOUND(arg);'

This is related to allow-missing-matrix-data-in-tests.patch, though the
the complexity is sufficient to warrant its own patch.
Christian Kastner <ckk@debian.org> not-needed 2025-06-29

All known versions for source package 'hipsparse'

Links