[Chapel Merge] Migrate copy aggregators to a package module

Branch: refs/heads/main
Revision: b25242c
Author: ronawho
Link: Migrate copy aggregators to a package module by ronawho · Pull Request #19386 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19386 from ronawho/package-copy-agg

Migrate copy aggregators to a package module

[reviewed by @bradcray and @e-kayrakli]

We've long wanted to make aggregators user-facing (#16963), but haven't
made much progress on that. Longer term we want better names, support
for third-party operations, arbitrary user-defined operations, and
probably some other things, but in the short term this just exposes the
implementation we have now and adds a short module doc with examples.

Closes https://github.com/Cray/chapel-private/issues/3178

Modified Files:
A modules/packages/CopyAggregation.chpl

M modules/Makefile
M modules/internal/ChapelAutoAggregation.chpl
M test/modules/bradc/printModStuff/foo.good
M test/modules/sungeun/init/printModuleInitOrder.good
M test/modules/sungeun/init/printModuleInitOrder.na-none.good
M test/optimizations/deadCodeElimination/elliot/countDeadModules.comm-ofi.good
M test/optimizations/deadCodeElimination/elliot/countDeadModules.comm-ugni.good
M test/optimizations/deadCodeElimination/elliot/countDeadModules.good
M test/studies/bale/aggregation/AtomicAggregation.chpl
M test/studies/bale/aggregation/histo.chpl

Compare: https://github.com/chapel-lang/chapel/compare/bca63a751a31...b25242ce7913