New Issue: Lightweight mason packages need more support

28222, "jabraham17", "Lightweight mason packages need more support", "2025-12-16T21:52:48Z"

Mason has the ability to have lightweight packages. Essentially this is a Mason.toml for a non-mason package to allow it to use mason dependencies. The way it is supposed to work, running mason modules in an directory with a lightweight Mason.toml and some dependencies will print the compiler flags required to build a given chapel program with those dependencies.

There are a number of issues with this

  • The above describes how mason modules is documented, but it actually just prints module files, not paths like -M....
    • I think this means mason modules will not work for multi-file dependencies
  • mason modules does not respect the compopts of a given dependency
  • mason modules is completely untested
  • mason modules needs extra support for mason prereqs