Skip to content

Commit

Permalink
libiio: don't build examples & tests as 'iio_reg' fails to build
Browse files Browse the repository at this point in the history
Mingw (32bit) seems quite old and it is possibly thr reason why things
fail to buid. Trying without the examplesand tests as iio-osc doesn't need then
anyways.

Signed-off-by: Dan Nechita <[email protected]>
  • Loading branch information
dNechita committed Dec 5, 2022
1 parent bcb57f5 commit 0520a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ build_libiio () {
sed -i "s/-Werror//" CMakeLists.txt
rm -rf build
mkdir build && cd build
cmake_build "-DWITH_TESTS:BOOL=ON -DWITH_DOC:BOOL=OFF -DCSHARP_BINDINGS:BOOL=OFF -DPYTHON_BINDINGS:BOOL=OFF -DENABLE_IPV6:BOOL=OFF -DWITH_SERIAL_BACKEND:BOOL=ON"
cmake_build "-DWITH_TESTS:BOOL=ON -DWITH_DOC:BOOL=OFF -DCSHARP_BINDINGS:BOOL=OFF -DPYTHON_BINDINGS:BOOL=OFF -DENABLE_IPV6:BOOL=OFF -DWITH_SERIAL_BACKEND:BOOL=ON -DWITH_EXAMPLES:BOOL=OFF -DWITH_TESTS=OFF"
make ${MAKE_J}
make install
}
Expand Down

0 comments on commit 0520a2f

Please sign in to comment.