The -flang-experimental-exec flang is no longer needed when configuring the test suite.
Details
Diff Detail
- Repository
- rT test-suite
Event Timeline
What about the other occurences of this flag?
gfortran/CMakeLists.txt:# If the test suite was configured by adding -flang-experimental-exec, remove gfortran/CMakeLists.txt:# NOTE: This should be removed once the -flang-experimental-exec flag is no gfortran/CMakeLists.txt:string(REPLACE "-flang-experimental-exec" "" TMP_FFLAGS "${CMAKE_Fortran_FLAGS}") gfortran/CMakeLists.txt: # NOTE: This should be removed when the -flang-experimental-exec flag is no gfortran/CMakeLists.txt: target_link_options(${test_target} PRIVATE -flang-experimental-exec) gfortran/README.md:As of 18-Apr-2023, the `-flang-experimental-exec` flag may need to be used when gfortran/README.md: -DCMAKE_Fortran_FLAGS=-flang-experimental-exec \ gfortran/torture/compile/CMakeLists.txt: # At some point, the -flang-experimental-exec flag will be removed. gfortran/torture/compile/CMakeLists.txt: target_link_options(${Dummy} PUBLIC "-flang-experimental-exec")
I had incorporated those changes into the other patch which enables the gfortran OpenMP "compile" tests but it just occurred to me that the buildbots will likely have broken so those would need to go in separately anyway. I'll update this patch to get rid of all the references.
Remove all references to -flang-experimental-exec. The first draft of this patch removed only those references that were not removed by this, but it is probably better to remove everything here because the buildbots are likely to be broken as a result of this change, so fixing this quicker is better.
LGTM. I agree that it's better to commit this quicker, as there are several broken build bots.
E.g.:
https://lab.llvm.org/buildbot/#/builders/176
https://lab.llvm.org/buildbot/#/builders/179
https://lab.llvm.org/buildbot/#/builders/198