llvm: use correct version of tablegen when cross compiling _8 and _9
This commit is contained in:
parent
845e92835d
commit
6c86a2b5bb
@ -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 = ''
|
||||
|
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user