[llvm-bugs] [Bug 45574] New: The keyword signature for target_link_libraries has already been used with the target "FIRDialect".

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 16 07:02:49 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45574

            Bug ID: 45574
           Summary: The keyword signature for target_link_libraries has
                    already been used with   the target "FIRDialect".
           Product: flang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Build System
          Assignee: unassignedbugs at nondot.org
          Reporter: lone_wolf at klaas-de-kat.nl
                CC: David.Truby at arm.com, jperier at nvidia.com,
                    llvm-bugs at lists.llvm.org, sscalpone at nvidia.com

Attempting to build flang with FIR/MLIR (as is default) fails.
gcc 9.3 , python 3.8.2 , llvm trunk master
https://github.com/llvm/llvm-project/commit/2ec5520a54ef9b359c6154adf857ba690bc117f1







CMake Error at
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/flang/lib/Optimizer/Dialect/CMakeLists.txt:10
(target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "FIRDialect".  All uses of target_link_libraries with a target
  must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   *
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/llvm/cmake/modules/AddLLVM.cmake:616
(target_link_libraries)



CMake Error at
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/flang/lib/Optimizer/Support/CMakeLists.txt:5
(target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "FIRSupport".  All uses of target_link_libraries with a target
  must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   *
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/llvm/cmake/modules/AddLLVM.cmake:616
(target_link_libraries)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200416/45c7072a/attachment.html>


More information about the llvm-bugs mailing list