[all-commits] [llvm/llvm-project] 47ed2b: [flang] cmake fix for FLANG_RUNTIME_F128_MATH_LIB ...

dpalermo via All-commits all-commits at lists.llvm.org
Wed May 22 12:00:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47ed2bfa711efe85b1149c3800f9c66fdc83ae70
      https://github.com/llvm/llvm-project/commit/47ed2bfa711efe85b1149c3800f9c66fdc83ae70
  Author: dpalermo <dan.palermo at amd.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M flang/CMakeLists.txt

  Log Message:
  -----------
  [flang] cmake fix for FLANG_RUNTIME_F128_MATH_LIB build (#93054)

Remove an extra '-D' in the call to add_compile_definitions. The extra
-D causes -D-DFLANG_RUNTIME_F128_MATH_LIB=libquadmath to appear in
compile options which results in a compilation failure. This occurs only
on systems using cmake versions 3.22.1 or 3.24.3. Using cmake 3.28.1
seems to automatically remove the duplicate -D.

Fixes https://github.com/llvm/llvm-project/pull/81971



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