[Mlir-commits] [lldb] [compiler-rt] [llvm] [mlir] [clang-tools-extra] [clang] Fix Multiple Build Errors on different platforms (PR #77216)

Jonas Devlieghere llvmlistbot at llvm.org
Sat Jan 6 18:08:43 PST 2024


================
@@ -108,13 +108,9 @@ else()
       linux/HostInfoLinux.cpp
       linux/LibcGlue.cpp
       linux/Support.cpp
+      android/HostInfoAndroid.cpp
+      android/LibcGlue.cpp
       )
-    if (CMAKE_SYSTEM_NAME MATCHES "Android")
----------------
JDevlieghere wrote:

While Android might be Linux, the inverse isn't true. Amongst other things, this change would result in all Linux hosts reporting that they support Android triples. 

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


More information about the Mlir-commits mailing list