Skip to content

Instantly share code, notes, and snippets.

@qigao
Last active August 29, 2015 14:04
Show Gist options
  • Save qigao/34f5f05435b1d0383cc7 to your computer and use it in GitHub Desktop.
Save qigao/34f5f05435b1d0383cc7 to your computer and use it in GitHub Desktop.
PreSteps:
install tbb
# sudo apt-get install libtbb-dev
Build with tbb
1. #mkdir build && cd sbuild
2. #ccmake ..
3. enable WITH_TBB, DISABLE BUILD_TBB
4. save configuration and generate makefile
5. remember to disable BUILD_PERF_TESTS
6. #make -j8
maybe need a second time to config tbb, make sure TBB_STDDEF_PATH is set to path like: /usr/include/tbb/tbb_stddef.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment