Skip to content

Provision TVM and microTVM dev environment using Ansible

Notifications You must be signed in to change notification settings

gromero/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

What does it provide?

When correctly executed this script will create a complete environment to build TVM and microTVM from source. So once it's done one just needs to jump to ~/git/tvm/build and build TVM:

$ cd ~/git/tvm/build
$ cmake ..
$ make -j $(nproc)

How should I execute it?

  • Install Ansible in your local machine:
$ sudo apt-get install ansible
  • Make sure you have ssh access (via ssh-key) and sudo in the remote machine when logging from the local machine, where you've just installed Ansible and from where you're going to execute the script.

  • Add the remote machine name (the same use to login via ssh) to Ansible's list of hosts, i.e. /etc/ansible/hosts. For instance, if your remote machine is called dev0 your /etc/ansible/hosts file has to contain a section [tvm-dev] listing dev0:

[tvm-dev]
dev0
  • Clone this repo and run the tvm.yml playbook:
$ git clone https://github.com/gromero/ansible.git
$ cd ansible
$ ansible-playbook ./tvm.yml --ask-become-pass -vv
  • Enter your sudo pass password when asked by Ansible

Once the playbook finishes OK, just jump into the remote machine and build TVM exactly as instructed in "What does it provide?" section.

About

Provision TVM and microTVM dev environment using Ansible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages