From ed7b49403ca2f7016dd48673b0b127401623ef8e Mon Sep 17 00:00:00 2001 From: Felix Suchert Date: Thu, 26 Jan 2023 14:39:24 +0100 Subject: [PATCH] add llvm examples --- entropy/nixos/mlir/flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/entropy/nixos/mlir/flake.nix b/entropy/nixos/mlir/flake.nix index 586dad2..624b179 100644 --- a/entropy/nixos/mlir/flake.nix +++ b/entropy/nixos/mlir/flake.nix @@ -89,9 +89,11 @@ # inst will be our installation prefix #"-DCMAKE_INSTALL_PREFIX=../inst" # "-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON" + # install tools like FileCheck + "-DLLVM_INSTALL_UTILS=ON" # change this to enable the projects you need "-DLLVM_ENABLE_PROJECTS=mlir" - "-DLLVM_BUILD_EXAMPLES=ON" + # "-DLLVM_BUILD_EXAMPLES=ON" # this makes llvm only to produce code for the current platform, this saves CPU time, change it to what you need "-DLLVM_TARGETS_TO_BUILD=X86" # -DLLVM_TARGETS_TO_BUILD="X86;NVPTX;AMDGPU" \