[libcxx-commits] [PATCH] D149660: [libc++][AIX] Add OS version to target triple

Jake Egan via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 17 11:26:59 PDT 2023


Jake-Egan planned changes to this revision.
Jake-Egan added inline comments.


================
Comment at: libcxx/utils/ci/run-buildbot:711
+    VERSION=$(oslevel -s | awk -F'-' '{printf "%.1f.%d.%d\n", $1/1000, $2, $3}')
+    if [ "$OBJECT_MODE" -eq 32 ]; then
+        PARAMS="target_triple=powerpc-ibm-aix${VERSION}"
----------------
daltenty wrote:
> Hmm, I wonder if this script is really the right place for this. If you don't go through this script to do the build, or the environment like this var isn't properly set when you run it, you won't get a correct test run result.
> 
> I think it would be better if this was implemented somewhere inside the lit config somehow.
I will look into this


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149660/new/

https://reviews.llvm.org/D149660



More information about the libcxx-commits mailing list