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: unassignedb...@nondot.org
          Reporter: lone_w...@klaas-de-kat.nl
                CC: david.tr...@arm.com, jper...@nvidia.com,
                    llvm-bugs@lists.llvm.org, sscalp...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to