[all-commits] [llvm/llvm-project] eddbad: [compiler-rt] Allow override of 'emulator' value f...

abidh via All-commits all-commits at lists.llvm.org
Tue Oct 13 09:15:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eddbadfe13fbdcf18fee7d643d70d8042d69c778
      https://github.com/llvm/llvm-project/commit/eddbadfe13fbdcf18fee7d643d70d8042d69c778
  Author: Hafiz Abid Qadeer <abidh at codesourcery.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M compiler-rt/test/lit.common.cfg.py

  Log Message:
  -----------
  [compiler-rt] Allow override of 'emulator' value from lit_config.

Currently the 'emulator' value is fixed at build time. This patch allows changing the emulator
at testing time and enables us to run the tests on different board or simulators without needing
to run CMake again to change the value of emulator.

With this patch in place, the value of 'emulator' can be changed at test time from the command
line like this:

$ llvm-lit --param=emulator="..."

Reviewed By: delcypher

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




More information about the All-commits mailing list