Closed jabraham17 closed 2 days ago
This PR fixes several issues I noted while working on https://github.com/chapel-lang/chapel/pull/26267
os.environ.get
overrides.get
chplconfig
@memoize
printchplenv
CHPL_GPU=none
CHPL_LOCALE_MODEL=gpu
[Reviewed by @vasslitvinov]
This PR fixes several issues I noted while working on https://github.com/chapel-lang/chapel/pull/26267
os.environ.get
instead ofoverrides.get
, this meant that gpu config variables could not be read fromchplconfig
files@memoize
, this did not effect correctness but could slow downprintchplenv
CHPL_GPU=none
andCHPL_LOCALE_MODEL=gpu
caused internal errors[Reviewed by @vasslitvinov]