From e6da741a3b1e42d0c3f4f60277f3568ec4a0bb7f Mon Sep 17 00:00:00 2001 From: Avril Date: Mon, 30 Nov 2020 13:11:51 +0000 Subject: [PATCH] update readme --- Makefile | 2 ++ README.md | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index dd44e21..f34dc36 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,8 @@ OBJ_C = $(addprefix obj/c/,$(SRC_C:.c=.o)) OBJ_CXX = $(addprefix obj/cxx/,$(SRC_CXX:.cpp=.o)) OBJ = $(OBJ_C) $(OBJ_CXX) +# PGO stuff + PGO_OBJ_C = $(addprefix obj/pgo/c/,$(SRC_C:.c=.o)) PGO_OBJ_CXX = $(addprefix obj/pgo/cxx/,$(SRC_CXX:.cpp=.o)) PGO_OBJ = $(PGO_OBJ_C) $(PGO_OBJ_CXX) diff --git a/README.md b/README.md index e58a97f..93779e1 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,9 @@ To build with debug information, run `make debug`. Extra debug flags can be prov The build and unstripped binary will be `shuffle3-debug`. +## PGO target +To build with Profile Guided Optimisation run `make pgo`, the stripped and optimised binary will be output to `shuffle3-pgo`. + ## Notes Before switching between `release` and `debug` targets, remember to run `make clean`. To disable stripping of release build binaries, run with `make STRIP=: release`