When building with Cray fortran compiler, error is:
/home/gitlab-runner-1/builds/Q2MuKA89/0/spack/spack/lib/spack/env/cce/ftn -free -I../../.. -o query_device_simple_f query_device_simple_f.F ../../../libpapi.a
ftn-78 ftn: ERROR in command line
The -f option has an invalid argument, "ree".
The Makefile sysdetect/tests/Makefile falls back to using "FFLAGS = -free" which is not a valid command-line option for the cray fortran compiler. This is also present in the sde comonent tests.
As seen here: https://gitlab.spack.io/spack/spack/-/jobs/7405712
And discussed here: https://github.com/spack/spack/pull/38443#issuecomment-1596213490
When building with Cray fortran compiler, error is:
The Makefile sysdetect/tests/Makefile falls back to using "FFLAGS = -free" which is not a valid command-line option for the cray fortran compiler. This is also present in the sde comonent tests.