I'm attempting to make QEspresso's pw program on a new 2021 MacBook Air, which has an M1 processor. While ./configure does not throw any errors, running 'make pw' fails with the following output:
checking build system type... Invalid configuration `aarch64-apple-darwin20.6.0': machine `aarch64-apple' not recognized configure: error: /bin/sh ./config/config.sub aarch64-apple-darwin20.6.0 failed if test -d src/ ; then \ ( cd src/ ; make ) ; fi make: *** No rule to make target `device_auxfunc_mod.o', needed by `deviceXlib_mod.o'. Stop. make: *** [libsrc] Error 2 make: *** [libcuda_devxlib] Error 2 make: *** [libcuda] Error 2
I included what I believe are the relevant lines of the make output. The output prior to this seemed normal. I believe CUDA is related to parallelization, which I don't need right now, so I tried disabling parallelization as a make option -- yet this does not work. I've also tried
sudo ./configure --disable-parallel --with-internal-FFTW --with-internal-blas --with-internal-lapack ARCH="mac686"
following the instructions of Ref  for Macs, however, I don't know if I need to manual set ARCH="mac686", or something different for the newer M1. Or maybe this is entirely the wrong direction.
Has anyone tried installing QEspresso on an M1 Mac yet? Or have any sense if this is currently even possible? My web search only dug up one reference to installing QEspresso on the new M1 (see Ref ), which was totally unhelpful, so I'm afraid I'm running into a dead end and major time sink.