llvm: use correct version of tablegen when cross compiling _8 and _9

This commit is contained in:
David McFarland 2020-01-03 10:38:40 -04:00
parent 845e92835d
commit 6c86a2b5bb
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ in stdenv.mkDerivation ({
"-DCAN_TARGET_i386=false"
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"-DCMAKE_CROSSCOMPILING=True"
"-DLLVM_TABLEGEN=${buildPackages.llvm_7}/bin/llvm-tblgen"
"-DLLVM_TABLEGEN=${buildPackages.llvm_8}/bin/llvm-tblgen"
];
postBuild = ''

View File

@ -126,7 +126,7 @@ in stdenv.mkDerivation (rec {
"-DCAN_TARGET_i386=false"
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"-DCMAKE_CROSSCOMPILING=True"
"-DLLVM_TABLEGEN=${buildPackages.llvm_7}/bin/llvm-tblgen"
"-DLLVM_TABLEGEN=${buildPackages.llvm_9}/bin/llvm-tblgen"
];
postBuild = ''