Skip to content

Make building against Valgrind headers optional #80

@thesamesam

Description

@thesamesam

Valgrind isn't available on all (really, most) arches, but also, even those on supported arches may not love installing Valgrind purely for the headers if it won't ever be used at runtime (e.g. on an AVX512 machine any time soon...).

At https://github.com/oracle/dtrace-utils/blob/devel/libdtrace/dt_work.c#L22, we include <valgrind/valgrind.h> unconditionally.

This came up downstream at https://bugs.gentoo.org/938190 where I wrongly removed the DEPEND on Valgrind because I grepped badly.

Metadata

Metadata

Assignees

Labels

local-reviewFix not yet publically visible, but coming

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions