-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: --print-chpl-settings
does not pick up changes from the compiler arguments
#25958
Comments
I'm really curious what the source of this turns out to be (particularly if I'm responsible… 😬 ) |
The compiler has a map of such environment variables. However, it doesn't look like we |
Calling |
do us all a favor and rename |
Users currently have a number of ways to select compiler configurations with Chapel environment variables. They can set the environment variables, they can write a
chplconfig
file, or they can change the variable with a command line flag.For example,
CHPL_GMP=none chpl ...
andchpl --gmp=none ...
are equivanelt.However, when printing out the current compiler configuration using
--print-chpl-settings
, these are not equivalent.CHPL_GMP=none chpl --print-chpl-settings
shows the current compiler configuration withCHPL_GMP: none *
, whilechpl --gmp=none --print-chpl-settings
shows whatever the default was.This does not impact the correctness, as
--gmp=none
still works as far as selecting the right runtime build. But it can be confusing that--print-chpl-settings
does not match.The text was updated successfully, but these errors were encountered: