[all-commits] [llvm/llvm-project] 621e43: [libc++] Provide 'buildhost=<platform> feature for...

Vladimir Vereschaka via All-commits all-commits at lists.llvm.org
Tue Sep 7 08:50:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 621e437e0357b342e9c1827044744bda05901489
      https://github.com/llvm/llvm-project/commit/621e437e0357b342e9c1827044744bda05901489
  Author: Vladimir Vereschaka <vvereschaka at accesssoftek.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M libcxx/utils/libcxx/test/features.py

  Log Message:
  -----------
  [libc++] Provide 'buildhost=<platform> feature for the tests.

The target platform could differ from the host platform for the cross
platform builds. Some tests are depended on the build host features and
they need to determine a proper platform environment.

This commit adds a build host platform name feature for the libc++ tests
in format `buildhost=<platform>`, such as `buildhost=linux`, `buildhost=darwin`,
`buildhost=windows`, etc.

The Windows host gets two features: one `buildhost=windows` and another based
on Windows "sub-system", such as `buildhost=win32`, `buildhost=cygwin`, etc.

Differential Revision: https://reviews.llvm.org/D102045




More information about the All-commits mailing list