[libcxx-commits] [PATCH] D149660: [libc++][AIX] Add OS version to target triple
David Tenty via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 23 13:26:11 PDT 2023
daltenty added inline comments.
================
Comment at: libcxx/test/configs/ibm-libc++-shared.cfg.in:10
+# way to retrieve the AIX version in the driver.
+os_cmd = "oslevel -s | awk -F\'-\' \'{printf \"%.1f.%d.%d\", $1/1000, $2, $3}\'"
+os_version = subprocess.run(os_cmd, capture_output=True, shell=True).stdout.decode()
----------------
You need some kind of guard so we don't run this block on non-AIX platforms
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149660/new/
https://reviews.llvm.org/D149660
More information about the libcxx-commits
mailing list