[all-commits] [llvm/llvm-project] 3203c9: [CMake][compiler-rt][RISCV] Support RISC-V cross-c...

Luís Marques via All-commits all-commits at lists.llvm.org
Sun Jan 31 15:53:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3203c968424193a519d1b52739047748038bb074
      https://github.com/llvm/llvm-project/commit/3203c968424193a519d1b52739047748038bb074
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2021-01-31 (Sun, 31 Jan 2021)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [CMake][compiler-rt][RISCV] Support RISC-V cross-compilation

This seems to be a safe way to ensure that the Compiler-RT test compiler
flags are properly set in all cross-compilation scenarios. Without this
when `BUILTINS_TEST_TARGET_CFLAGS` is set in
`compiler-rt/test/builtins/CMakeLists.txt` the other flags are cleared.

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




More information about the All-commits mailing list