From df477565f81ab72fbcbbe93de7e696951b438414 Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 19 Mar 2015 07:51:10 -0700 Subject: [PATCH] Diagnose clang failures --- .travis.yml | 2 +- CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a039e2ef..f2e5de44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ env: script: - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFMT_EXTRA_TESTS=ON . - - make -j4 + - make -j4 VERBOSE=1 - CTEST_OUTPUT_ON_FAILURE=1 make test after_failure: diff --git a/CMakeLists.txt b/CMakeLists.txt index 1844680b..78227137 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ if (WIN32) else () check_symbol_exists(open fcntl.h HAVE_OPEN) endif () +message("HAVE_OPEN: ${HAVE_OPEN}") if (HAVE_OPEN) add_definitions(-DFMT_USE_FILE_DESCRIPTORS=1) set(FMT_SOURCES ${FMT_SOURCES} posix.cc posix.h)