lanl / spiner

Performance portable routines for generic, tabulated, multi-dimensional data
https://lanl.github.io/spiner
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

disable cmake's package registry by default #48

Closed Yurlungur closed 1 year ago

Yurlungur commented 2 years ago

I am constantly finding myself annoyed by cmakes package registry which quietly registers packages you've built in a hidden directory in your home and uses them. For a package hierarchy like we have, with multiple subpackages that we build for different architectures, this can be a difficult to debug gotcha. @mauneyc-LANL discovered the solution is:

  set(CMAKE_FIND_USE_PACKAGE_REGISTRY OFF CACHE BOOL "" FORCE)
  set(CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY OFF CACHE BOOL "" FORCE)

I'd like to set this by default in spiner and ports-of-call. Does anyone object? @mauneyc-LANL is there a reason not to do this?

@mauneyc-LANL @dholladay00 @jhp-lanl

dholladay00 commented 1 year ago

has this been resolved @Yurlungur ?

Yurlungur commented 1 year ago

Yes this is resolved.