Branch: refs/heads/main
Revision: c6d38ba
Author: gbtitus
Link: Throw `-DCHPL_COMM_DEBUG` when building user programs, when appropriate. by gbtitus · Pull Request #19463 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19463 from gbtitus/repair-comm-debug-for-user-programs
Throw -DCHPL_COMM_DEBUG
when building user programs, when appropriate.
(Reviewed by @mppf and @jhh67.)
When the environment variable CHPL_COMM_DEBUG is defined we need to
define the C preprocessor variable of the same name when building user
programs, to adjust certain declarations in the runtime include files
that are shared with the Chapel module code. Here, ensure that we do
so.
Support for this was inadvertently removed in #18880.
Modified Files:
M util/chplenv/compile_link_args_utils.py
Compare: https://github.com/chapel-lang/chapel/compare/6591b2165e08...c6d38ba1cf0e