diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot --- a/libcxx/utils/ci/run-buildbot +++ b/libcxx/utils/ci/run-buildbot @@ -705,10 +705,21 @@ ;; aix) clean + # Add the AIX version to the triple here because there currently isn't a good + # way to retrieve the AIX version in the driver. + 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}" + else + PARAMS="target_triple=powerpc64-ibm-aix${VERSION}" + fi generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/AIX.cmake" \ -DLIBCXX_TEST_CONFIG="ibm-libc++-shared.cfg.in" \ -DLIBCXXABI_TEST_CONFIG="ibm-libc++abi-shared.cfg.in" \ - -DLIBUNWIND_TEST_CONFIG="ibm-libunwind-shared.cfg.in" + -DLIBUNWIND_TEST_CONFIG="ibm-libunwind-shared.cfg.in" \ + -DLIBCXX_TEST_PARAMS="${PARAMS}" \ + -DLIBCXXABI_TEST_PARAMS="${PARAMS}" \ + -DLIBUNWIND_TEST_PARAMS="${PARAMS}" check-abi-list check-runtimes ;; diff --git a/libunwind/test/signal_frame.pass.cpp b/libunwind/test/signal_frame.pass.cpp --- a/libunwind/test/signal_frame.pass.cpp +++ b/libunwind/test/signal_frame.pass.cpp @@ -19,7 +19,7 @@ // The AIX assembler does not support CFI directives, which // are necessary to run this test. -// UNSUPPORTED: target=powerpc{{(64)?}}-ibm-aix +// UNSUPPORTED: target={{.*}}-aix{{.*}} // Windows doesn't generally use CFI directives. However, i686 // mingw targets do use DWARF (where CFI directives are supported).