mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>, Ian Abbott <abbotti@mev.co.uk>
Subject: [ptxdist] [PATCH 4/8] libwebsockets: Remove tests and examples from build
Date: Tue, 21 Oct 2025 15:11:14 +0200	[thread overview]
Message-ID: <20251021131118.919834-5-ada@thorsis.com> (raw)
In-Reply-To: <20251021131118.919834-1-ada@thorsis.com>

Further reduce build time.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/libwebsockets.make | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rules/libwebsockets.make b/rules/libwebsockets.make
index 36606940c..8d801bbce 100644
--- a/rules/libwebsockets.make
+++ b/rules/libwebsockets.make
@@ -34,7 +34,9 @@ LIBWEBSOCKETS_LICENSE_FILES	:= file://LICENSE;md5=382bfdf329e774859fd401eaf850d2
 LIBWEBSOCKETS_CONF_TOOL	:= cmake
 LIBWEBSOCKETS_CONF_OPT	:=  \
 	$(CROSS_CMAKE_USR) \
+	-DBUILD_TESTING=OFF \
 	-DDISABLE_WERROR=ON \
+	-DLWS_CTEST_INTERNET_AVAILABLE=OFF \
 	-DLWS_IPV6=$(call ptx/onoff, PTXCONF_GLOBAL_IPV6) \
 	-DLWS_LINK_TESTAPPS_DYNAMIC=ON \
 	-DLWS_WITHOUT_DAEMONIZE=OFF \
@@ -42,11 +44,14 @@ LIBWEBSOCKETS_CONF_OPT	:=  \
 	-DLWS_WITHOUT_TESTAPPS=ON \
 	-DLWS_WITHOUT_TEST_CLIENT=ON \
 	-DLWS_WITHOUT_TEST_PING=ON \
+	-DLWS_WITHOUT_TEST_SERVER=ON \
+	-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
 	-DLWS_WITH_EXTERNAL_POLL=ON \
 	-DLWS_WITH_GLIB=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_GLIB) \
 	-DLWS_WITH_LIBEV=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBEV) \
 	-DLWS_WITH_LIBEVENT=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBEVENT) \
 	-DLWS_WITH_LIBUV=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBUV) \
+	-DLWS_WITH_MINIMAL_EXAMPLES=OFF \
 	-DLWS_WITH_SHARED=ON \
 	-DLWS_WITH_SSL=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_TLS) \
 	-DLWS_WITH_STATIC=OFF \
-- 
2.39.5




  parent reply	other threads:[~2025-10-21 13:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21 13:11 [ptxdist] [PATCH 0/8] libwebsockets: Pin down options and bump version Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 1/8] libwebsockets: Reorder conf opts Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 2/8] libwebsockets: Add conf opt to disable -Werror Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 3/8] libwebsockets: Make shared library build explicit Alexander Dahl via ptxdist
2025-10-21 13:11 ` Alexander Dahl via ptxdist [this message]
2025-10-21 13:11 ` [ptxdist] [PATCH 5/8] libwebsockets: Pin down more conf opts Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 6/8] libwebsockets: version bump 4.3.3 -> 4.4.1 Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 7/8] libwebsockets: Make roles configurable Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 8/8] libwebsockets: Pin down higher level config options Alexander Dahl via ptxdist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251021131118.919834-5-ada@thorsis.com \
    --to=ptxdist@pengutronix.de \
    --cc=abbotti@mev.co.uk \
    --cc=ada@thorsis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox