Skip to content

Commit

Permalink
veridian: pin libclang to clang 17
Browse files Browse the repository at this point in the history
veridian uses a very old version of bindgen which doesn't support LLVM
18.
  • Loading branch information
nbdd0121 committed Nov 24, 2024
1 parent 33a2e4d commit 5c1d911
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/veridian/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
rustPlatform,
pkg-config,
openssl,
libclang,
llvmPackages_17,
verilator,
verible,
cmake,
Expand All @@ -30,12 +30,12 @@ rustPlatform.buildRustPackage {

# Verilator and Verible are used in the test suit
nativeBuildInputs = [pkg-config cmake verilator verible];
buildInputs = [openssl libclang boost182 sv-lang_6];
buildInputs = [openssl boost182 sv-lang_6];

cargoLock.lockFile = ./Cargo.lock;
buildFeatures = ["slang"];

LIBCLANG_PATH = "${libclang.lib}/lib";
LIBCLANG_PATH = "${llvmPackages_17.libclang.lib}/lib";
SLANG_INSTALL_PATH = "${sv-lang_6}";

# The check doesn't build, so we don't bother checking.
Expand Down

0 comments on commit 5c1d911

Please sign in to comment.