代码拉取完成,页面将自动刷新
INCFLAGS = -I/usr/local/include/ -I./src/
CPP = g++
CPPFLAGS = -std=c++11 -g -O3 $(INCFLAGS) -fopenmp -ffast-math -Wall -Wno-strict-aliasing -lpthread
CPPFLAGSPG = -std=c++11 -g -O3 $(INCFLAGS) -fopenmp -Wall -Wno-strict-aliasing -lpthread -pg
LINKERFLAGS = -lz
LINKERFLAGSPG = -lz -pg
DEBUGFLAGS = -g -ggdb $(INCFLAGS)
HEADERS=$(shell find . -name '*.hpp')
all: apps tests
apps: example_apps/connectedcomponents example_apps/pagerank example_apps/pagerank_functional example_apps/communitydetection example_apps/unionfind_connectedcomps example_apps/stronglyconnectedcomponents example_apps/trianglecounting example_apps/randomwalks example_apps/minimumspanningforest
als: example_apps/matrix_factorization/als_edgefactors example_apps/matrix_factorization/als_vertices_inmem
tests: tests/basic_smoketest tests/bulksync_functional_test tests/dynamicdata_smoketest tests/test_dynamicedata_loader
echo:
echo $(HEADERS)
clean:
@rm -rf bin/*
cd toolkits/collaborative_filtering/; make clean; cd ../../
cd toolkits/parsers/; make clean; cd ../../
cd toolkits/graph_analytics/; make clean; cd ../../
blocksplitter: src/preprocessing/blocksplitter.cpp $(HEADERS)
$(CPP) $(CPPFLAGS) src/preprocessing/blocksplitter.cpp -o bin/blocksplitter $(LINKERFLAGS)
sharder_basic: src/preprocessing/sharder_basic.cpp $(HEADERS)
@mkdir -p bin
$(CPP) $(CPPFLAGS) src/preprocessing/sharder_basic.cpp -o bin/sharder_basic $(LINKERFLAGS)
example_apps/% : example_apps/%.cpp $(HEADERS)
@mkdir -p bin/$(@D)
$(CPP) $(CPPFLAGS) -Iexample_apps/ $@.cpp -o bin/$@ $(LINKERFLAGS)
myapps/% : myapps/%.cpp $(HEADERS)
@mkdir -p bin/$(@D)
$(CPP) $(CPPFLAGS) -Imyapps/ $@.cpp -o bin/$@ $(LINKERFLAGS)
tests/%: src/tests/%.cpp $(HEADERS)
@mkdir -p bin/$(@D)
$(CPP) $(CPPFLAGS) src/$@.cpp -o bin/$@ $(LINKERFLAGS)
graphlab_als: example_apps/matrix_factorization/graphlab_gas/als_graphlab.cpp
$(CPP) $(CPPFLAGS) example_apps/matrix_factorization/graphlab_gas/als_graphlab.cpp -o bin/graphlab_als $(LINKERFLAGS)
cf:
cd toolkits/collaborative_filtering/; bash ./test_eigen.sh;
if [ $$? -ne 0 ]; then exit 1; fi
cd toolkits/collaborative_filtering/; make
cf_test:
cd toolkits/collaborative_filtering/; make test;
cfd:
cd toolkits/collaborative_filtering/; make -f Makefile.debug
parsers:
cd toolkits/parsers/; make
parsersd:
cd toolkits/parsers/; make -f Makefile.debug
ga:
cd toolkits/graph_analytics/; make
ta:
cd toolkits/text_analysis/; make
docs: */**
doxygen conf/doxygen/doxygen.config
######################Unicorn Specific (Do Not Change)###############
unicorn/% : unicorn/%.cpp $(HEADERS)
@mkdir -p bin/$(@D)
$(CPP) $(CPPFLAGS) -Iunicorn/ $@.cpp -o bin/$@ $(LINKERFLAGS)
#####################################################################
######################Unicorn Specific (Templates)################################################
swdebug: CPPFLAGS += -DSKETCH_SIZE=2000 -DK_HOPS=3 -DMEMORY -DPREGEN=10000 -DUSEWINDOW -DBASESKETCH -DDEBUG -g
swdebug: unicorn/main
sb: CPPFLAGS += -DSKETCH_SIZE=2000 -DK_HOPS=3 -DMEMORY -DPREGEN=10000 -g
sb: unicorn/main
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。