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

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Wed Nov 8 06:49:04 PST 2023


================
@@ -5,6 +5,9 @@ a C compiler.
 
 REQUIRES: c-compiler
 
+MacOS doesn't have a separate libm.
+UNSUPPORTED: system-darwin
----------------
luporl wrote:

This test will fail on MacOS only, if `CMAKE_OSX_SYSROOT` is not set.
But CMake tries to set it automatically, if it isn't explicitly set and CMake can find MacOSX.sdk in standard locations.
Actually, even the llvm build uses it when compiling and linking C++ sources.

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


More information about the flang-commits mailing list