[all-commits] [llvm/llvm-project] e4332e: [flang] Fix build when examples are disabled

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Apr 29 22:42:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4332e470678093c42670b594014bce8e91fe31b
      https://github.com/llvm/llvm-project/commit/e4332e470678093c42670b594014bce8e91fe31b
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2025-04-29 (Tue, 29 Apr 2025)

  Changed paths:
    M flang/test/CMakeLists.txt

  Log Message:
  -----------
  [flang] Fix build when examples are disabled

Without this change I get a build error due to the missing Bye target
when I configure my build with -DLLVM_INCLUDE_EXAMPLES=OFF.
This check for LLVM_BUILD_EXAMPLES matches the checks in llvm and lld.

Reviewed By: mgorny

Pull Request: https://github.com/llvm/llvm-project/pull/137908



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list