libdispatch for Linux

这个Dispatch是苹果的一个高效的处理库,它在ubuntu上的安装如下:

Build/Runtime Requirements

如下:

libBlocksRuntime

libpthread_workqueue

libkqueue

Build Requirements

    CMake >= 2.8.12
    Python2 >= 2.6
    Clang >= 3.4

 

On Ubuntu 14.04, the required dependencies are available via apt-get.

sudo apt-get install libblocksruntime-dev libkqueue-dev libpthread-workqueue-dev cmake

git clone git://github.com/nickhutchinson/libdispatch.git && cd libdispatch
mkdir libdispatch-build && cd libdispatch-build
../configure
make
sudo make install

 

posted on 2016-11-04 22:09  seisjun  阅读(437)  评论(0编辑  收藏  举报

导航