install.sh 759 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env bash
  2. set -e
  3. sudo apt-get update
  4. sudo apt install -y \
  5. check \
  6. cmake \
  7. debhelper \
  8. fakeroot \
  9. git \
  10. graphviz \
  11. latexmk \
  12. libsubunit-dev \
  13. python-sphinx \
  14. python3-pip \
  15. tar \
  16. texlive-fonts-recommended \
  17. texlive-generic-extra \
  18. texlive-latex-extra \
  19. wget
  20. wget https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.7.1.tar.gz
  21. tar xf mbedtls-2.7.1.tar.gz
  22. cd mbedtls-mbedtls-2.7.1
  23. cmake -DENABLE_TESTING=Off .
  24. make -j
  25. sudo make install
  26. pip install --user cpp-coveralls
  27. # Pin docutils to version smaller 0.15. Otherwise we run into https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839299
  28. pip install --user 'docutils<=0.14'
  29. pip install --user sphinx_rtd_theme
  30. pip install --user cpplint