Skip to content

Commit

Permalink
ci/windows:Installer with fixed libserialport.
Browse files Browse the repository at this point in the history
Signed-off-by: andreidanila1 <[email protected]>
  • Loading branch information
andreidanila1 committed Jul 18, 2024
1 parent 6097841 commit 7f65427
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions ci/windows/build_and_create_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@ build_iio-emu(){
$MAKE_BIN -j4
}

build_libserialport(){
echo "### Building LIBSERIALPORT"
if [ ! -d "$WORKDIR/libserialport" ]; then
git clone https://github.com/cseci/libserialport $WORKDIR/libserialport -b scopy-v2
fi

cd $WORKDIR/libserialport
bash -v $WORKDIR/autogen.sh
bash -v $WORKDIR/configure.sh --prefix=$WORKDIR/libserialport/
make
make install
}

deploy_app(){
echo "### Deploying application and dependencies"
if [ -d $DEST_FOLDER ]; then
Expand All @@ -85,6 +98,8 @@ deploy_app(){
cp -n iio_*.exe $DEST_FOLDER/
popd

cp $WORKDIR/libserialport/lib/libserialport.dll $DEST_FOLDER/

cp $EMU_BUILD_FOLDER/iio-emu.exe $DEST_FOLDER
cp -r $PYTHON_FILES $DEST_FOLDER
cp $BUILD_FOLDER/windows/scopy-$ARCH_BIT.iss $DEST_FOLDER
Expand Down Expand Up @@ -151,6 +166,7 @@ create_installer() {

build_scopy
build_iio-emu
build_libserialport
deploy_app
bundle_drivers
extract_debug_symbols
Expand Down
2 changes: 1 addition & 1 deletion ci/windows/mingw_dll_deps
Original file line number Diff line number Diff line change
@@ -1 +1 @@
libspdlog.dll* libglibmm-*.dll libsigrokdecode-*.dll libgcc_s_*.dll libstdc++-*.dll Qt5Core.dll libboost_thread-mt.dll libgnuradio-analog.dll libgnuradio-blocks.dll libgnuradio-fft.dll libwinpthread-*.dll libgnuradio-filter.dll libgnuradio-m2k.dll libgnuradio-pmt.dll libgnuradio-runtime.dll libgnuradio-scopy.dll libgnuradio-iio.dll libad9361.dll libiio.dll Qt5Qml.dll Qt5Xml.dll qwt.dll libglib-*.dll libgmodule-*.dll libsigc-*.dll libgobject-*.dll libpython*.dll libboost_filesystem-mt.dll libboost_chrono-mt.dll libboost_program_options-mt.dll libgmp-*.dll libusb-*.dll libxml2-*.dll Qt5Network.dll Qt5OpenGL.dll Qt5Svg.dll Qt5PrintSupport.dll libintl-*.dll libiconv-*.dll zlib1.dll Qt5Gui.dll tinyiiod.dll libm2k.dll libvolk.dll libfftw3f*.dll Qt5Widgets.dll libicudt*.dll libffi-*.dll liblzma-5.dll libdouble-conversion.dll libicuin*.dll libicuuc*.dll libpcre2-*.dll libzstd.dll libharfbuzz-*.dll libpng16-*.dll liborc-*.dll libfreetype-*.dll libgraphite2.dll libbrotlidec.dll libbz2-*.dll libbrotlicommon.dll libcrypto*.dll libssl*.dll libmd4c.dll libserialport-0.dll
libspdlog.dll* libglibmm-*.dll libsigrokdecode-*.dll libgcc_s_*.dll libstdc++-*.dll Qt5Core.dll libboost_thread-mt.dll libgnuradio-analog.dll libgnuradio-blocks.dll libgnuradio-fft.dll libwinpthread-*.dll libgnuradio-filter.dll libgnuradio-m2k.dll libgnuradio-pmt.dll libgnuradio-runtime.dll libgnuradio-scopy.dll libgnuradio-iio.dll libad9361.dll libiio.dll Qt5Qml.dll Qt5Xml.dll qwt.dll libglib-*.dll libgmodule-*.dll libsigc-*.dll libgobject-*.dll libpython*.dll libboost_filesystem-mt.dll libboost_chrono-mt.dll libboost_program_options-mt.dll libgmp-*.dll libusb-*.dll libxml2-*.dll Qt5Network.dll Qt5OpenGL.dll Qt5Svg.dll Qt5PrintSupport.dll libintl-*.dll libiconv-*.dll zlib1.dll Qt5Gui.dll tinyiiod.dll libm2k.dll libvolk.dll libfftw3f*.dll Qt5Widgets.dll libicudt*.dll libffi-*.dll liblzma-5.dll libdouble-conversion.dll libicuin*.dll libicuuc*.dll libpcre2-*.dll libzstd.dll libharfbuzz-*.dll libpng16-*.dll liborc-*.dll libfreetype-*.dll libgraphite2.dll libbrotlidec.dll libbz2-*.dll libbrotlicommon.dll libcrypto*.dll libssl*.dll libmd4c.dll

0 comments on commit 7f65427

Please sign in to comment.