opc source code

This commit is contained in:
flower_linux
2026-06-09 17:27:24 +08:00
parent 70f675a48b
commit f0da5cb3c3
2002 changed files with 269812 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
#!/usr/bin/env bash
set -e
sudo apt-get update
sudo apt install -y \
check \
cmake \
debhelper \
fakeroot \
git \
graphviz \
latexmk \
libsubunit-dev \
python3-sphinx \
python3-pip \
tar \
texlive-fonts-recommended \
texlive-extra-utils \
texlive-latex-extra \
wget
wget https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.28.2.tar.gz
tar xf mbedtls-2.28.2.tar.gz
cd mbedtls-mbedtls-2.28.2
cmake -DENABLE_TESTING=Off .
make -j
sudo make install
# Pin docutils to version smaller 0.15. Otherwise we run into https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839299
pip install --user 'docutils<=0.14'
pip install --user sphinx_rtd_theme
pip install --user cpplint