This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 2968c9a Allow microTVM Reference VM to be launched when TVM is a
submodule. (#7854)
2968c9a is described below
commit 2968c9a23997033e22a3e117ec269067a7e7e149
Author: Andrew Reusch <[email protected]>
AuthorDate: Thu Apr 15 06:57:11 2021 -0700
Allow microTVM Reference VM to be launched when TVM is a submodule. (#7854)
---
apps/microtvm/reference-vm/zephyr/Vagrantfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/microtvm/reference-vm/zephyr/Vagrantfile
b/apps/microtvm/reference-vm/zephyr/Vagrantfile
index 376568f..f335565 100644
--- a/apps/microtvm/reference-vm/zephyr/Vagrantfile
+++ b/apps/microtvm/reference-vm/zephyr/Vagrantfile
@@ -29,7 +29,7 @@ Vagrant.configure("2") do |config|
if git_file.ftype() == "file" then
gitdir_match = Regexp.new('^gitdir: (?<gitdir>.*/.git).*\n$',
Regexp::MULTILINE).match(git_file.read())
if !gitdir_match.nil? then
- dirs_to_mount.append(Pathname.new(gitdir_match.named_captures["gitdir"]))
+
dirs_to_mount.append(Pathname.new(tvm_home).realpath.join(gitdir_match.named_captures["gitdir"]))
puts "NOTE: also configuring git-worktree gitdir: %s" %
[dirs_to_mount[-1]]
end
end