Merge pull request #312675 from lxsameer/lxsameer/fix-mlir-cmake

llvm,mlir: Fix the install location of cmake modules
This commit is contained in:
Pol Dellaiera 2024-05-19 10:53:39 +02:00 committed by GitHub
commit 11d40eff08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,8 @@ stdenv.mkDerivation rec {
"-DLLVM_INSTALL_TOOLCHAIN_ONLY=OFF"
"-DMLIR_TOOLS_INSTALL_DIR=${placeholder "out"}/bin/"
"-DLLVM_ENABLE_IDE=OFF"
"-DMLIR_INSTALL_PACKAGE_DIR=${placeholder "out"}/lib/cmake/mlir"
"-DMLIR_INSTALL_PACKAGE_DIR=${placeholder "dev"}/lib/cmake/mlir"
"-DMLIR_INSTALL_CMAKE_DIR=${placeholder "dev"}/lib/cmake/mlir"
"-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}"
"-DLLVM_ENABLE_FFI=ON"
"-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}"