解决 libmemcached 1.0.5 编译 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 优化即可成功编译

This entry was posted in OP. Bookmark the permalink.

2 Responses to 解决 libmemcached 1.0.5 编译 Graphite loop optimizations 问题

  1. gpp says:

    您说的字段在Makefile中不存在呢,具体应该怎么解决这个问题呢?

  2. 优实惠 says:

    过来学习了。。。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>