I'm trying to add MALI to the nightly builds on Frontier and I'm running into an issue when trying to build. Make is failing to compile a PIO test program due to Clang/AMD compiler flags sneaking into export_albany.in link flags and then not being recognized by the fortran compiler. The offending compiler flags are --hip-link and --offload-arch=gfx90a.
I'm not very familiar with cmake, @bartgol or anyone, do you know why these flags would be getting added to the link line? It looks like maybe I can filter flags starting with -- out here but I'm not sure if that won't break something else.