Package Details: mlir 18.1.8-1

Git Clone URL: https://aur.archlinux.org/mlir.git (read-only, click to copy)
Package Base: mlir
Description: Multi-Level IR Compiler Framework for LLVM
Upstream URL: https://mlir.llvm.org/
Licenses: custom:Apache 2.0 with LLVM Exception
Submitter: HoshinoAya
Maintainer: xantares
Last Packager: xantares
Votes: 3
Popularity: 0.98
First Submitted: 2023-03-14 12:41 (UTC)
Last Updated: 2024-07-06 20:05 (UTC)

Latest Comments

1 2 Next › Last »

lyhokia commented on 2024-11-26 02:55 (UTC) (edited on 2024-11-26 03:01 (UTC) by lyhokia)

Looks like building is failing for me:

make[2]: *** No rule to make target '//include/llvm/Frontend/OpenACC/ACC.td', needed by 'include/mlir/Dialect/OpenACC/AccCommon.td'.  Stop.

I can compile and install with instructions listed in KEKE046/mlir-tutorial though

git clone https://github.com/llvm/llvm-project.git
cd llvm-project
git checkout 186a4b3b657878ae2aea23caf684b6e103901162 # 本教程使用的版本
mkdir build && cd build
cmake -G Ninja ../llvm \
  -DCMAKE_INSTALL_PREFIX=/mlir-tutorial/install \
  -DLLVM_ENABLE_PROJECTS=mlir \
  -DLLVM_BUILD_EXAMPLES=ON \
  -DLLVM_TARGETS_TO_BUILD="Native;NVPTX;AMDGPU" \
  -DCMAKE_BUILD_TYPE=Release \
  -DLLVM_ENABLE_ASSERTIONS=ON

ninja install

MartinDiehl commented on 2024-07-22 19:34 (UTC)

yes, deinstalling mlir first solves the issue.

xantares commented on 2024-07-18 17:31 (UTC)

maybe you have the old mlir still installed

MartinDiehl commented on 2024-07-18 06:47 (UTC)

I currently can't build due to

/tmp/mlir/src/mlir-18.1.8.src/include/mlir/Dialect/Arith/IR/ArithOps.td:143:34: error: Variable not defined: 'ArithIntegerOverflowFlagsInterface'
       DeclareOpInterfaceMethods<ArithIntegerOverflowFlagsInterface>]>,

Moebius14 commented on 2024-03-18 03:38 (UTC) (edited on 2024-03-18 03:39 (UTC) by Moebius14)

I get the following error:

~src/include/mlir/Dialect/Transform/IR/TransformDialect.td:22:36: 
error: Value 'usePropertiesForAttributes' unknown!
  let usePropertiesForAttributes = 1;

impulse commented on 2024-03-08 06:34 (UTC)

Also, this package fails to build on my system when i am using the "llvm" package as the dependency. this is the error.

CMake Error at /usr/lib/cmake/llvm/LLVMExports.cmake:384 (message):
  The imported target "LTO" references the file

     "/usr/lib/libLTO.so.17"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/llvm/LLVMExports.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/llvm/LLVMConfig.cmake:348 (include)
  CMakeLists.txt:21 (find_package)

impulse commented on 2024-03-08 06:16 (UTC)

Can i be a co-maintainer? so i can update it to version 18 when llvm gets updated? Cant hurt to get more hands on deck.

xantares commented on 2024-02-18 19:46 (UTC) (edited on 2024-02-18 19:46 (UTC) by xantares)

do not flag until llvm is updated please

impulse commented on 2024-02-18 16:58 (UTC)

Can you add me as maintainer? i will update it to version 17.

MartinDiehl commented on 2023-12-27 13:26 (UTC)

for some reasons, this package appears twice (see for example dependencies of flang, https://aur.archlinux.org/packages/flang).