mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Diagnose clang failures
This commit is contained in:
@ -13,7 +13,7 @@ env:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFMT_EXTRA_TESTS=ON .
|
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFMT_EXTRA_TESTS=ON .
|
||||||
- make -j4
|
- make -j4 VERBOSE=1
|
||||||
- CTEST_OUTPUT_ON_FAILURE=1 make test
|
- CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
|
@ -66,6 +66,7 @@ if (WIN32)
|
|||||||
else ()
|
else ()
|
||||||
check_symbol_exists(open fcntl.h HAVE_OPEN)
|
check_symbol_exists(open fcntl.h HAVE_OPEN)
|
||||||
endif ()
|
endif ()
|
||||||
|
message("HAVE_OPEN: ${HAVE_OPEN}")
|
||||||
if (HAVE_OPEN)
|
if (HAVE_OPEN)
|
||||||
add_definitions(-DFMT_USE_FILE_DESCRIPTORS=1)
|
add_definitions(-DFMT_USE_FILE_DESCRIPTORS=1)
|
||||||
set(FMT_SOURCES ${FMT_SOURCES} posix.cc posix.h)
|
set(FMT_SOURCES ${FMT_SOURCES} posix.cc posix.h)
|
||||||
|
Reference in New Issue
Block a user