[libcxx-commits] [libcxx] [libc++][AIX] Fixup problems with ABI list checking (PR #155643)

Hubert Tong via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 27 15:25:18 PDT 2025


================
@@ -16,6 +16,9 @@ function(cxx_abi_list_identifier result triple abi_library abi_version unstable
   elseif("${triple}" MATCHES "freebsd")
     # Ignore the major and minor versions of freebsd targets.
     string(REGEX REPLACE "freebsd[0-9]+\\.[0-9]+" "freebsd" triple "${triple}")
+  elseif("${triple}" MATCHES "aix")
+    # Ignore the V.R.M.F version string of aix targets.
+    string(REGEX REPLACE "aix[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+" "aix" triple  "${triple}")
----------------
hubert-reinterpretcast wrote:

```suggestion
    string(REGEX REPLACE "aix[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+" "aix" triple "${triple}")
```

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


More information about the libcxx-commits mailing list