NOAA-EMC / UPP

Other
35 stars 95 forks source link

CMake Warning: Cannot generate a safe runtime search path for target upp.x because files in some directories may conflict with libraries in implicit directories #997

Closed edwardhartnett closed 1 month ago

edwardhartnett commented 1 month ago

Do we know what is causing this?

CMake Warning at sorc/ncep_post.fd/CMakeLists.txt:238 (add_executable):
  Cannot generate a safe runtime search path for target upp.x because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/12 may be hidden by files in:
      /home/ed/spack/var/spack/environments/upp-env/.spack-env/view/lib

  Some of these libraries may not be found correctly.
edwardhartnett commented 1 month ago

This was only important in the context of CI and unit testing.

Since there is to be no unit testing, I will close this issue. On WCOSS2, the UPP team is responsible for the CMake build and how it works - the libraries team does not build UPP or maintain its cmake files. So we will assume that the UPP has a good handle on the build.