[all-commits] [llvm/llvm-project] 5737f6: [compiler-rt] Build with C++17 explicitly

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Tue Aug 16 16:26:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5737f6a527d782e6577e5cc1e0c743df2c98546a
      https://github.com/llvm/llvm-project/commit/5737f6a527d782e6577e5cc1e0c743df2c98546a
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2022-08-16 (Tue, 16 Aug 2022)

  Changed paths:
    M compiler-rt/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] Build with C++17 explicitly

We've started using C++17 constructs in compiler-rt now (e.g.
string_view in ORC), but when using the bootstrapping build, we won't
inherit the C++ standard from LLVM, and compilation may fail if we
default to an older standard. Explicitly build compiler-rt with C++17 in
a standalone build, which matches what other subprojects (e.g. Clang and
LLD) do.




More information about the All-commits mailing list