mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-16 02:42:23 +08:00
boost: Remove log from Makefile and version check in flow.h
This commit is contained in:
parent
f699f85e30
commit
fd34626009
1
Makefile
1
Makefile
@ -69,7 +69,6 @@ else
|
|||||||
$(error Not prepared to compile on platform $(PLATFORM))
|
$(error Not prepared to compile on platform $(PLATFORM))
|
||||||
endif
|
endif
|
||||||
BOOSTDIR ?= ${BOOST_BASEDIR}/${BOOST_BASENAME}
|
BOOSTDIR ?= ${BOOST_BASEDIR}/${BOOST_BASENAME}
|
||||||
$(info BOOSTDIR is ${BOOSTDIR})
|
|
||||||
|
|
||||||
CCACHE := $(shell which ccache)
|
CCACHE := $(shell which ccache)
|
||||||
ifneq ($(CCACHE),)
|
ifneq ($(CCACHE),)
|
||||||
|
@ -47,12 +47,6 @@
|
|||||||
|
|
||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
|
|
||||||
#if BOOST_VERSION == 105200
|
|
||||||
#error Boost is still 1.52.0
|
|
||||||
#elif BOOST_VERSION != 106700
|
|
||||||
#error Boost is not 1.67.0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using namespace std::rel_ops;
|
using namespace std::rel_ops;
|
||||||
|
|
||||||
#define TEST( condition ) if (!(condition)); else { static TraceEvent* __test = &(TraceEvent("CodeCoverage").detail("File", __FILE__).detail("Line",__LINE__).detail("Condition", #condition)); }
|
#define TEST( condition ) if (!(condition)); else { static TraceEvent* __test = &(TraceEvent("CodeCoverage").detail("File", __FILE__).detail("Line",__LINE__).detail("Condition", #condition)); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user