mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Merge pull request #76887 from corngood/llvm-cross-fix
llvm: use correct version of tablegen when cross compiling _8 and _9
This commit is contained in:
commit
ebec1d12a3
@ -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