Skip to content

Commit

Permalink
wllvm: add -b flag to extract-bc call
Browse files Browse the repository at this point in the history
This is flag is required to create a bitcode module even if the input to extract-bc is an archive.
  • Loading branch information
boehmseb committed Nov 26, 2024
1 parent 270fe86 commit c19d1a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions varats-core/varats/experiment/wllvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ def extract(self) -> actions.StepResult:
target_binary = Path(self.project.source_of_primary) / binary.path
if is_gllvm_available():
from benchbuild.utils.cmd import get_bc
get_bc(target_binary)
get_bc("-b", target_binary)
else:
extract_bc(target_binary)
extract_bc("-b", target_binary)
cp(str(target_binary) + ".bc", local.path() / bc_cache_file)

return actions.StepResult.OK
Expand Down

0 comments on commit c19d1a7

Please sign in to comment.