Skip to contentSkip to conversation

package/paho-mqtt-c: disable tests and cpack docs

PATCH New Danomi Manchego 3 participants 3 messages Apr 25, 2020 – May 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/paho-mqtt-c: disable tests and cpack docs

paho-mqtt-c by default enables the building of test materials and install of CPack documentation:

PAHO_ENABLE_TESTING - "Build tests and run"
PAHO_ENABLE_CPACK - "Enable CPack"

Let's disable these to save a couple megabytes and time. This is in keeping with the generic settings in pkg-cmake.mk.

---
 package/paho-mqtt-c/paho-mqtt-c.mk | 2 ++
 1 file changed, 2 insertions(+)
package/paho-mqtt-c/paho-mqtt-c.mk +2 -0
index 7cace9a607..b2d9955ea3 100644
@@ -10,6 +10,8 @@ PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause
 PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE
 PAHO_MQTT_C_INSTALL_STAGING = YES
 
+PAHO_MQTT_C_CONF_OPTS += -DPAHO_ENABLE_TESTING=FALSE -DPAHO_ENABLE_CPACK=FALSE
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 PAHO_MQTT_C_DEPENDENCIES += openssl
 PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=TRUE
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/paho-mqtt-c: disable tests and cpack docs

Quoted 6 lines · On Sat, 25 Apr 2020 15:56:08 -0400 Danomi Manchego…

paho-mqtt-c by default enables the building of test materials and install of CPack documentation:

PAHO_ENABLE_TESTING - "Build tests and run"
PAHO_ENABLE_CPACK - "Enable CPack"

Quoted 7 lines

Let's disable these to save a couple megabytes and time. This is in keeping with the generic settings in pkg-cmake.mk.

---
 package/paho-mqtt-c/paho-mqtt-c.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/paho-mqtt-c: disable tests and cpack docs

In reply to Danomi Manchego
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Danomi" == Danomi Manchego <[email protected]> writes:

paho-mqtt-c by default enables the building of test materials and install of CPack documentation:

Quoted 7 lines

PAHO_ENABLE_TESTING - "Build tests and run"
PAHO_ENABLE_CPACK - "Enable CPack"

Let's disable these to save a couple megabytes and time. This is in keeping with the generic settings in pkg-cmake.mk.

Committed to 2020.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard