flang
flang copied to clipboard
flang1 does not exist error
I build the flang according to the wiki and I am now trying to compile a simple fortran code. But, I am getting the following error message.
clang-10: error: unable to execute command: Executable "flang1" doesn't exist!
I don't see flang1 or flang2 in the install/bin directory. Did I do something wrong with the compilation stage?
Hi @wreckdump , building flang according to the wiki is working fine, as we are running github actions on every PR and commit and they work fine. Please consider the possible divergence between your environment and a standard ubuntu-20.04 that we are using, perhaps looking at latest build logs will provide some useful insights?
I just had that happen to me as well - it happens when one accidentally creates the build directory underneath runtime/flang and tries to build there instead of underneath the toplevel (which is an easy mistake to make, after just having built in runtime/libpgmath)