Findvalgrind Update, master branch (2021.11.11.)
Made the setting of VALGRIND_LIB
smarter in Findvalgrind.cmake
. Now it's actually based on looking for particular files, not just hardcoded to be one particular directory in an LCG installation.
Note that the module only supports x86_64 and aarch64 Linux platforms for now. Support for other platforms could be added later on, but I didn't have any examples of what the Valgrind files would be named in those cases.
Also note that this setup of the code does not allow for cross-compilation. Much of our codebase does not allow for cross-compilation, but I thought it would still be worth mentioning it. (Since if we wanted, we could in principle make this code support cross-compilation. I just didn't think the complication would be worth it at this point.)
This is to fix the issue described in ATLINFR-4324.