Skip to contentSkip to conversation

package/yaml-cpp: disable testing and parse tools

PATCH New Jörg Krause 2 participants 2 messages Jul 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/yaml-cpp: disable testing and parse tools

The gmock testing framework uses fork() and therefor yaml-cpp fails to build for a MMU-less targets. Since we are only interested in building the yaml-cpp library we disable the testing and parse tools (command line tools).

Fixes:
http://autobuild.buildroot.net/results/2ce/2ce3c6d0140696cdf73f2ad1499b779c83ad8f6e/

Cc Sebastien Bourdelin <[email protected]>
---
 package/yaml-cpp/yaml-cpp.mk | 3 +++
 1 file changed, 3 insertions(+)
package/yaml-cpp/yaml-cpp.mk +3 -0
index cea54a9..6a01b02 100644
@@ -12,4 +12,7 @@ YAML_CPP_LICENSE_FILES = license.txt
 
 YAML_CPP_DEPENDENCIES = boost
 
+# Disable testing and parse tools
+YAML_CPP_CONF_OPTS += -DYAML_CPP_BUILD_TOOLS=OFF
+
 $(eval $(cmake-package))
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 package/yaml-cpp: disable testing and parse tools

Dear J?rg Krause,

Quoted 4 lines · J?rg Krause

The gmock testing framework uses fork() and therefor yaml-cpp fails to build for a MMU-less targets. Since we are only interested in building the yaml-cpp library we disable the testing and parse tools (command line tools).

Quoted 8 lines

Fixes:
http://autobuild.buildroot.net/results/2ce/2ce3c6d0140696cdf73f2ad1499b779c83ad8f6e/

Cc Sebastien Bourdelin <[email protected]>
---
 package/yaml-cpp/yaml-cpp.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com