You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#8036 (comment) describes one case where we wanted to be able to use a feature (a java agent) which required setting the runtime library path (DY)?LD_LIBRARY_PATH variable to make a compiled shared library available to the java invocation. We were able to work around this issue by using the -agentpath: option instead, but in general there are many settings for many programs, typically set via environment variables, which require absolute paths on most operating systems (such as PATH, CPATH, LIBRARY_PATH, and other variables used to configure compilation of C/C++ code).
See #6893 for another place we want to use these variables, and work around it by instead invoking /bin/sh to interpret a lengthy generated command line:
#8036 (comment) describes one case where we wanted to be able to use a feature (a java agent) which required setting the runtime library path
(DY)?LD_LIBRARY_PATH
variable to make a compiled shared library available to thejava
invocation. We were able to work around this issue by using the-agentpath:
option instead, but in general there are many settings for many programs, typically set via environment variables, which require absolute paths on most operating systems (such asPATH
,CPATH
,LIBRARY_PATH
, and other variables used to configure compilation of C/C++ code).See #6893 for another place we want to use these variables, and work around it by instead invoking
/bin/sh
to interpret a lengthy generated command line:pants/src/python/pants/backend/jvm/subsystems/graal.py
Lines 243 to 247 in 24727b2
^The above is a little brittle, and #8036 (comment) describes one bikesheddable alternative -- a helper function or
@rule
:The text was updated successfully, but these errors were encountered: