Skip to content

Commit

Permalink
llvm-rtti-eh: install Target includes as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Feb 9, 2024
1 parent 794ad75 commit 9168f32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions llvm-translator/llvm-rtti-eh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ llvmPackages.libllvm.overrideAttrs (final: prev: {
"-DLLVM_TARGETS_TO_BUILD=X86;AArch64;ARM"
];
doCheck = false;

# install Target .inc files from build directory for lifter project.
postFixup = ''
cd /build/$sourceRoot/build/lib && file Target
find Target -name '*.inc' -print0 \
| xargs -0 -I{} cp -v --no-clobber --parents {} $dev/include
'';
})

0 comments on commit 9168f32

Please sign in to comment.