File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -316,12 +316,16 @@ target_link_libraries(unittest_dns_resolve global)
316316add_ceph_unittest(unittest_dns_resolve)
317317endif ()
318318
319+ # We're getting an ICE when trying to compile this test using mingw-gcc and
320+ # recent Boost versions. Note that mingw-llvm works fine.
321+ if (NOT WIN32 OR (NOT (CMAKE_CXX_COMPILER_ID STREQUAL GNU)))
319322add_executable (unittest_back_trace
320323 test_back_trace.cc)
321324set_source_files_properties (test_back_trace.cc PROPERTIES
322325 COMPILE_FLAGS -fno-inline)
323326add_ceph_unittest(unittest_back_trace)
324327target_link_libraries (unittest_back_trace ceph-common)
328+ endif ()
325329
326330add_executable (unittest_hostname
327331 test_hostname.cc)
Original file line number Diff line number Diff line change @@ -157,10 +157,7 @@ echo "using gcc : mingw32 : ${MINGW_CXX} ;" > user-config.jam
157157# Workaround for https://github.com/boostorg/thread/issues/156
158158# Older versions of mingw provided a different pthread lib.
159159sed -i ' s/lib$(libname)GC2.a/lib$(libname).a/g' ./libs/thread/build/Jamfile.v2
160- sed -i ' s/mthreads/pthreads/g' ./tools/build/src/tools/gcc.py
161160sed -i ' s/mthreads/pthreads/g' ./tools/build/src/tools/gcc.jam
162-
163- sed -i ' s/pthreads/mthreads/g' ./tools/build/src/tools/gcc.py
164161sed -i ' s/pthreads/mthreads/g' ./tools/build/src/tools/gcc.jam
165162
166163export PTW32_INCLUDE=${PTW32Include}
You can’t perform that action at this time.
0 commit comments