[all-commits] [llvm/llvm-project] 500587: [LLVM][Release] Prevent empty runtime name in rele...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Dec 6 01:37:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 500587e23dfd33dcd0169a5ab9e2657a6b12c315
      https://github.com/llvm/llvm-project/commit/500587e23dfd33dcd0169a5ab9e2657a6b12c315
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-12-06 (Tue, 06 Dec 2022)

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

  Log Message:
  -----------
  [LLVM][Release] Prevent empty runtime name in release script

Unlike projects, runtimes doesn't have a default set of names.
This means you get a leading space at the start, which gets converted
to a ';' giving ";<runtime name>;<runtime name>".

CMake then errors because the "" before the first ';' is treated
as a runtime name and of course it's not a valid name.

Fix this by removing the leading spaces from runtimes before we
insert the ';'.

Reviewed By: ldionne

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




More information about the All-commits mailing list