[llvm] [cmake] Hardcode some `check_include_file` checks (PR #104706)

Sean Perry via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 13:44:08 PDT 2024


================
@@ -27,6 +27,12 @@ if (CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
   set(NETBSD 1)
 endif()
 
+# Confirmed in
+# https://github.com/llvm/llvm-project/pull/104706#issuecomment-2297153534
+if (CMAKE_SYSTEM_NAME MATCHES "OS390")
+  set(ZOS 1)
----------------
perry-ca wrote:

The port of cmake to z/OS, in `Modules/Platform/OS390.cmake`, already has this line in it.  Will this be a problem?

```
set(OS390 1)
set(ZOS 1)
```


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


More information about the llvm-commits mailing list