Giter Site home page Giter Site logo

clang-cache's People

Contributors

sas avatar xavierd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

xavierd

clang-cache's Issues

The daemon seems to block when in background mode

This issue does not happen when we run clang-cache in foreground mode (with -f). Basically, the daemon is unable to do anything after the first client connects to send a compilation. Even sending a SIGTERM does not kill it.

clang-cache dead-locks (live-locks)

It seems like clang-cache can compile single single files successfully, but when many instances are created in rapid succession, clang-cache deadlocks.
I see this when self-hosting/compiling llvm and clang 3.5.0. The cmake compiler tests hang. if I compile the test files "by hand" the compile is successful.

clang-cache is setup via environment variables:

export CXX="clang-cache -c clang++ --"
export CC="clang-cache -c clang --"

Then,

cd llvm-build
cmake ../llvm    # <-- hangs!

clang-cache eats 100% CPU and does nothing. Looks like a dead/live-lock to me.

I compiled clang-cache from source on linux, Ubuntu 14.04.1 LTS .
Thrift compiled from source: git ce36aac

./configure --prefix=/usr/local/thrift --without-java --without-python

The latest thrift realease doesn't seem to compile with clang 3.5.0.
clang-cache git 0e02d7f
clang and llvm 3.5.0

Vim doesn't jump to the right place.

Launch clang-cache with:

./src/clang-cache -c g++ -- `pkg-config --cflags thrift` -std=c++11 -pedantic -Wall -Wextra -Werror -I../src/daemon -Isrc/daemon -I../src -Isrc -MMD -o src/daemon/server/server.o -c ../src/daemon/server/server.cpp

Then edit the server.cpp file, goto line 43, and press ctrl+K on utils::sock_path(), the cursor will jump on line 18.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.