forked from frovedis/frovedis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (42 loc) · 1.48 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
include ./Makefile.conf
include ./Makefile.in.${TARGET}
JOBS := $(shell /usr/bin/nproc --all)
all:
cd third_party; make all
cd src/frovedis/core; make -f Makefile.${TARGET} -j ${JOBS}
cd src/frovedis/matrix; make -f Makefile.${TARGET} -j ${JOBS}
cd src/frovedis/ml; make -f Makefile.${TARGET} -j ${JOBS}
cd src/frovedis/dataframe; make -f Makefile.${TARGET} -j ${JOBS}
ifeq (${BUILD_FOREIGN_IF},true)
cd src/foreign_if; make all
endif
ifeq (${BUILD_SAMPLES},true)
cd samples; make all
endif
install:
cd third_party; make install
cd src/frovedis/core; make -f Makefile.${TARGET} install
cd src/frovedis/matrix; make -f Makefile.${TARGET} install
cd src/frovedis/ml; make -f Makefile.${TARGET} install
cd src/frovedis/dataframe; make -f Makefile.${TARGET} install
cd doc/tutorial; make -f Makefile.${TARGET} install
cd doc/tutorial_python; make -f Makefile.${TARGET} install
cd doc/tutorial_spark; make -f Makefile.${TARGET} install
cd doc/manual; make install
ifeq (${BUILD_FOREIGN_IF},true)
cd src/foreign_if; make install
endif
cd samples; make install
install -d ${INSTALLPATH}/licenses
cp LICENSE ${INSTALLPATH}/licenses
clean:
cd third_party; make clean
cd src/frovedis/core; make -f Makefile.${TARGET} clean
cd src/frovedis/matrix; make -f Makefile.${TARGET} clean
cd src/frovedis/ml; make -f Makefile.${TARGET} clean
cd src/frovedis/dataframe; make -f Makefile.${TARGET} clean
ifeq (${BUILD_FOREIGN_IF},true)
cd src/foreign_if; make clean
endif
cd samples; make clean
${RM} *~