[all-commits] [llvm/llvm-project] 413b35: [test-release.sh] Set TEST_SUITE_HOST_CC to the re...

Amy Kwan via All-commits all-commits at lists.llvm.org
Thu Feb 3 19:32:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 413b35cd74e42f6371641bc9dc6c707aedac82ff
      https://github.com/llvm/llvm-project/commit/413b35cd74e42f6371641bc9dc6c707aedac82ff
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M llvm/utils/release/test-release.sh

  Log Message:
  -----------
  [test-release.sh] Set TEST_SUITE_HOST_CC to the release testing build compiler when compiling test-suite tools.

The tools used by test-suite are originally configured to compile with cc by
default, and this is dictated by TEST_SUITE_HOST_CC.
However, it is possible that on some systems that the version of cc may either
not be present or it may not be able to compile the tools as it may be too old,
which could be an issue seen during release testing.

This patch updates the compiler to be the default build compiler that is used
for release testing. If no such compiler it specified, then cc will be set as
the test-suite tools build compiler by default (as it already is set under
TEST_SUITE_HOST_CC).

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




More information about the All-commits mailing list