circt: add z3 to buildInputs

This commit is contained in:
Shogo Takata 2024-05-06 19:54:06 +08:00 committed by Jiuyang Liu
parent 6dcbb99335
commit 0f7d6ee262
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@
"-DLLVM_BUILD_EXAMPLES=OFF"
"-DLLVM_OPTIMIZED_TABLEGEN=ON"
"-DLLVM_ENABLE_PROJECTS=mlir"
"-DLLVM_TARGETS_TO_BUILD="
"-DLLVM_TARGETS_TO_BUILD=Native"
# This option is needed to install llvm-config
"-DLLVM_INSTALL_UTILS=ON"

View File

@ -7,6 +7,7 @@
, fetchFromGitHub
, ninja
, lit
, z3
, gitUpdater
, callPackage
}:
@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
requiredSystemFeatures = [ "big-parallel" ];
nativeBuildInputs = [ cmake ninja git pythonEnv ];
nativeBuildInputs = [ cmake ninja git pythonEnv z3 ];
buildInputs = [ circt-llvm ];
cmakeFlags = [