Skip to content

Commit

Permalink
turn on dynamic graph as default in CMakeList
Browse files Browse the repository at this point in the history
  • Loading branch information
haijieg committed Jun 21, 2013
1 parent 4fb815e commit 3a1ab23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ demoapps/pagerank/matlab_tools/*.tsv
tags
*swp
\.mchg\.mchg
.ycm_extra_conf*
10 changes: 4 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ include_directories(
${GraphLab_SOURCE_DIR}/deps/local/include)

# set link path
link_directories(${GraphLab_SOURCE_DIR}/deps/local/lib)
link_directories(${GraphLab_SOURCE_DIR}/deps/local/lib)

#add_definitions(-DUSE_DYNAMIC_LOCAL_GRAPH)
add_definitions(-DUSE_DYNAMIC_LOCAL_GRAPH)
#add_definitions(-DDEBUG_GRAPH)
#add_definitions(-DOUTPUTLEVEL=1)

Expand Down Expand Up @@ -475,10 +475,9 @@ endif()

# MPI =========================================================================
# MPI is currently used to establish communication between rpc nodes
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/Users/haijieg/mylibs/")
if(NOT NO_MPI)
#find_package(MPICH2)
find_package(MPI)
find_package(MPI)
endif()

if(MPI_FOUND)
Expand Down Expand Up @@ -518,9 +517,8 @@ macro(requires_core_deps NAME)
tcmalloc
event event_pthreads
zookeeper_mt
# qthread
json)
add_dependencies(${NAME} boost libevent libjson zookeeper libtcmalloc) #qthreads libtcmalloc
add_dependencies(${NAME} boost libevent libjson zookeeper libtcmalloc)
if(MPI_FOUND)
target_link_libraries(${NAME} ${MPI_LIBRARY} ${MPI_EXTRA_LIBRARY})
endif(MPI_FOUND)
Expand Down

0 comments on commit 3a1ab23

Please sign in to comment.