Uses Vagrant to install Xilinx Vivado into a VM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
1.4 KiB

  1. # Installation instructions:
  2. # https://www.xilinx.com/content/dam/xilinx/support/documentation/sw_manuals/xilinx2019_2/ug973-vivado-release-notes-install-license.pdf
  3. #
  4. # See Chapt 4: Installing the Vivado Design Suite Tools -> Batch Mode Installation Flow
  5. Xilinx_Unified_2019.2_1106_2127_Lin64.bin:
  6. echo 'Must d/l manually'
  7. exit 1
  8. .extract: Xilinx_Unified_2019.2_1106_2127_Lin64.bin
  9. chmod 755 $< && vagrant up && vagrant ssh -c '/vagrant/Xilinx_Unified_2019.2_1106_2127_Lin64.bin --keep --noexec --target vivado' && touch $@ || (echo failed to extract; rm -f $@)
  10. .token: .extract
  11. vagrant up && vagrant ssh -c 'vivado/xsetup -b AuthTokenGen' && touch $@ || (echo failed to generate auth token; rm -f $@)
  12. .PHONY: confgen
  13. confgen: .extract
  14. vagrant ssh -c 'vivado/xsetup -b ConfigGen && cp .Xilinx/install_config.txt /vagrant'
  15. .install: .token
  16. vagrant up && vagrant ssh -c 'sudo mkdir -p /tools/Xilinx && sudo chown vagrant /tools/Xilinx && vivado/xsetup -b Install -a XilinxEULA,3rdPartyEULA,WebTalkTerms -c /vagrant/install_config.txt && cd /tools/Xilinx/Vivado/2019.2/data/xicom/cable_drivers/lin64/install_script/install_drivers && sudo ./install_drivers' && touch $@ || (echo failed to install software; rm -f $@)
  17. .PHONY: vivado
  18. vivado: .install
  19. vagrant up && vagrant ssh -c /tools/Xilinx/Vivado/2019.2/bin/vivado
  20. .PHONY: shell
  21. shell: .install
  22. vagrant up && vagrant ssh