Skip to content

Commit

Permalink
[lit-on-qemu] Don't rely on shebang for running ./bin/llvm-lit
Browse files Browse the repository at this point in the history
There might be a mismatch in the path to the python3 interpreter on the
host vs the guest appliance. So just run ./bin/llvm-lit under python3
explicitly.
  • Loading branch information
asb committed Jan 16, 2025
1 parent 3459d40 commit c7d4147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/riscv-rise/lit-on-qemu
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mkdir -p "{base_mount_path}" || error "Can't make mount path"
chown {target_uid}:{target_gid} "{base_mount_path}" || error "Chown failed"
mount -t ext4 /dev/vdb "{base_mount_path}" || error "Mount failed"
cd "{current_path}"
su user -c "./bin/llvm-lit {args_string}"
su user -c "/usr/bin/python3 ./bin/llvm-lit {args_string}"
"""
exec_on_boot_path = hgcomm_path / "exec-on-boot"
exec_on_boot_path.write_text(exec_on_boot_content)
Expand Down

0 comments on commit c7d4147

Please sign in to comment.