Menu

cmake/Flang.cmake

2024-06-12
2024-06-12
  • Max R. Dechantsreiter

    What would be required in such a file?

    Currently I have

    cat << EOF > $BUILD/$PFUNIT/cmake/Flang.cmake

    set(CMAKE_Fortran_FLAGS_DEBUG "-g -O0 -Mbounds")
    set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
    set(CMAKE_Fortran_FLAGS "-Mpreprocess -Mfreeform -Mstandard")

    EOF

    Configuration was successful, but make failed.

     
  • Tom Clune

    Tom Clune - 2024-06-12

    Hi Max,

    Probably better to post your question on GitHub where there are more eyes.

    At first glance, those lines should be sufficient, and the fact that configuration was successful suggests the same.

    It would be useful to see the error messages (or even the full log) for the make step. I will be surprised (but delighted) if Flang is ready to build pFUnit.

     

Log in to post a comment.