This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git@github.com:benpye/openocd.git -b mrs-2023-08-07 | |
cd openocd | |
./bootstrap | |
./configure --disable-werror --disable-linuxgpiod --enable-wlinke --disable-ch347 | |
# --disable-linuxgpiod нужен только для arch based дистрибутивов, потому что версия библиотеки убежала в системе далеко вперед | |
make -j40 | |
после сборки редактируем /etc/udev/rules.d/50-wch.rules | |
SUBSYSTEM=="usb", ATTR{idVendor}="1a86", ATTR{idProduct}=="8010", GROUP="plugdev", MODE="0666", TAG+="uaccess" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python setup.py install -DCMAKE_C_COMPILER=/usr/bin/gcc-11 -DCMAKE_CXX_COMPILER=/usr/bin/c++-11 -DWITH_TBB=ON -DENABLE_FAST_MATH=1 -DCUDA_FAST_MATH=1 -DWITH_CUBLAS=1 -DWITH_CUDA=ON -DBUILD_opencv_cudacodec=OFF -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DWITH_V4L=ON -DWITH_QT=OFF -DWITH_OPENGL=OFF -DINSTALL_PYTHON_EXAMPLES=OFF -DINSTALL_C_EXAMPLES=OFF -DBUILD_EXAMPLES=OFF -DOPENCV_EXTRA_MODULES_PATH=/path/to/cloned/repo/opencv-python/opencv_contrib/modules -DWITH_FFMPEG=OFF -DCUDA_ARCH_BIN="8.6" --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-reset_config srst_only srst_nogate connect_assert_srst | |
+reset_config srst_nogate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after updating to ruby 2.6 installation gems for gitlab becomes failed. | |
we need to configure charlock_holmes with the next command | |
sudo -u git -H bundle config build.charlock_holmes --with-cxxflags="-std=c++11 -fPIC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
print_help() { | |
echo "Help:" | |
echo "" | |
echo "create <NUMBER_COMMITS or REVISION or all> <NUMBER_TICKET> [TAGS_IN_FILE] [OUTPUT_DIR_FOR_PATCH]" | |
echo "apply <files for apply patch>" | |
echo "apply-hash <files for apply patch>" | |
echo "apply-abort for abort incomplete apply" | |
echo "check-patch <patch>" |