Commit 89249d97 authored by Paul Novotny's avatar Paul Novotny

Disable gtest's use of pthread

A couple of tests were seg-faulting on kfreebsd-i386, kfreebsd-amd64,
hurd-i386. This was actually due to gtest, and its use of pthread.
Fortunatly, gtest has a cmake option to disable using pthreads. And this
appears to fix the yaml-cpp unit tests.
parent 0d5c1661
yaml-cpp (0.5.2-3~1.gbp64734c) UNRELEASED; urgency=medium
** SNAPSHOT build @64734c3b550a37f20cb8723bd6f86773e5a30810 **
* append v5 to library package for gcc5
* Fix yaml-cpp-config.cmake
* Disable gtest's use of pthread
-- Paul Novotny <paul@paulnovo.us> Mon, 30 Nov 2015 15:02:06 -0500
yaml-cpp (0.5.2-2) unstable; urgency=medium
* Rename libyaml-cpp0.5 to libyaml-cpp0.5v5 for gcc5 transition
......
......@@ -20,12 +20,14 @@ override_dh_auto_configure:
mkdir build-static; cd build-static; \
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-DYAML_CPP_BUILD_TOOLS=ON
-DYAML_CPP_BUILD_TOOLS=ON \
-Dgtest_disable_pthreads=ON
mkdir build-shared; cd build-shared; \
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-DBUILD_SHARED_LIBS=ON \
-DYAML_CPP_BUILD_TOOLS=ON
-DYAML_CPP_BUILD_TOOLS=ON \
-Dgtest_disable_pthreads=ON
override_dh_auto_build:
dh_testdir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment