解决 libmemcached 1.0.5 编译 Graphite loop optimizations 问题

http://www.zh-ang.com/2012/03/28/graphite-loop-optimizations/


编译libmemcached-1.0.5的时候,出现以下问题

libmemcached/backtrace.cc: In function 'void custom_backtrace()':
libmemcached/backtrace.cc:57:6: sorry, unimplemented: Graphite loop optimizations can only be used if the libcloog-ppl0 package is installed

经过google,修改Makefile
清理CPPFLAGS和CXXFLAGS中的一下字段

-fgraphite, -fgraphite-identity, -floop-block, -floop-flatten, -floop-interchange, -floop-strip-mine, -floop-parallelize-all, -ftree-loop-linear

不使用Graphite loop 优化即可成功编译


你可能感兴趣的:(解决 libmemcached 1.0.5 编译 Graphite loop optimizations 问题)