Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMakeLists.txt #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update CMakeLists.txt #5

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 5, 2014

Added some notes for building the boost.

Added  some notes for building the boost.
@@ -107,6 +107,10 @@ However, if you want to use MapReduce on a cluster of computers, you might want
# ./b2 -j8 toolset=clang
./b2 install
ln -s /home/you/3rd-party/boost-1_54_0 /home/you/3rd-party/boost

NOTE: We use a library named "libboost_thread-mt" in the file "src/mapreudce-lite/CMakeLists.txt", but on some systems such as ubuntu and Mac OSX,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: In src/mapreduce-lite/CMakeLists.txt, we referred to multithreading version of boost libraries, e.g, libboost_thread-mt. However, depending on how you build/install boost, there may not have multithreading version of libraries on your development/deployment system. You might need to check this by issuing a command like ls <BOOST_DIR>/lib/libboost*-mt. In case that you do not have multithreaded version, you might want to edit src/mapreduce-lite/CMakeLists.txt to use the single-threaded version instead, e.g., libboost_thread instead of libboost_thread-mt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants