-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
23 lines (20 loc) · 930 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: thirdparty clean
CURRENT_DIR=$(shell pwd)
thirdparty:
git submodule update --init --recursive
cd thirdparty/watchpoint-lib && make install PREFIX=$(CURRENT_DIR)/build/thirdparty
cd thirdparty/xed && ./mfile.py --debug --shared --prefix=$(CURRENT_DIR)/build/thirdparty install
cd thirdparty/libpfm-4.10.1 && make PREFIX=$(CURRENT_DIR)/build/thirdparty install
cd thirdparty/boost && sh ./bootstrap.sh --prefix=$(CURRENT_DIR)/build/thirdparty --with-libraries="filesystem" cxxflags="-std=c++11" && ./b2 -j 4 && ./b2 filesystem install
cd thirdparty/allocation-instrumenter && mvn package -DskipTests
mkdir $(CURRENT_DIR)/build/preload
cd preload && make
cd src && make
clean:
make -C src clean
make -C preload clean
make -C thirdparty/libpfm-4.10.1 clean
cd thirdparty/xed && ./mfile.py clean
make -C thirdparty/watchpoint-lib clean
rm -rf build
mvn -f thirdparty/allocation-instrumenter/pom.xml clean