Fix hwloc and sphinx detection
commit592b6c20acecf4cfd51a3354d745beea2a2e647c
authorMark Abraham <mark.j.abraham@gmail.com>
Sat, 6 Jul 2019 19:06:33 +0000 (6 21:06 +0200)
committerPaul Bauer <paul.bauer.q@gmail.com>
Mon, 8 Jul 2019 07:33:09 +0000 (8 09:33 +0200)
tree8ab24997fb58502187264eb00fb26aea9ce6fc6d
parent45d5e3d7550d3ea3d6c846ca520b4d01c3c9aa0c
Fix hwloc and sphinx detection

These were too noisy and were not implemented efficiently (e.g. not
caching the result of execute process). If an environment change is
needed to detect something (like loading a module) then we expect
developers to be able to unset a cache variable (or just regenerate a
new cache).

Refs #3024, #3011, #2998

Change-Id: I84dfb03856b9f900fb21004bc676e4ff2647a4b4
CMakeLists.txt
cmake/FindHwloc.cmake
cmake/FindSphinx.cmake
docs/CMakeLists.txt