upcxx-meta CXX and CC are not full path expanded

Issue #264 resolved
Dan Bonachea created an issue

Currently upcxx-meta CXX returns the value of the $CXX variable used (or defaulted) at install time. Unfortunately this is often a value like g++ (without an absolute path) which relies on the $PATH of the installing user to find the compiler.

This is fine for building the runtime (which happens immediately), but can cause problems post-install when a different user with a different $PATH tries to use upcxx-meta CXX, either directly or indirectly (via upcxx). This can result in "command not found" errors for the end user, or worse still silently picking up an incompatible compiler.

Comments (3)

  1. Log in to comment