[flang-commits] [flang] [flang] Fix flang tests on MacOS (PR #70811)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Mon Nov 13 04:33:32 PST 2023


================
@@ -1,4 +1,5 @@
-! UNSUPPORTED: system-windows
+! MacOS needs -isysroot <osx_sysroot> with clang and flang to build binaries.
----------------
luporl wrote:

They are not used in this test, but are used in `flang/test/Runtime/no-cpp-dep.c`. And now any flang test using `%cc` will already have the proper sysroot flag on MacOS.

After `-isysroot` support is added to flang, it will be possible to use the cfg changes here too.

https://github.com/llvm/llvm-project/pull/70811


More information about the flang-commits mailing list