enable profiling in dev build

This commit is contained in:
Joey Hess 2020-10-13 15:36:01 -04:00
parent d41795c8ff
commit c703c6f295
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -42,12 +42,14 @@ tmp/configure-stamp: Build/TestConfig.hs Build/Configure.hs
mkdir -p tmp mkdir -p tmp
touch tmp/configure-stamp touch tmp/configure-stamp
# Non-optimised build for development. # Non-optimised build for development, with profiling enabled (for memory
# profiling).
# #
# This leaves cabal.project.local configured for a dev build, # This leaves cabal.project.local configured for a dev build,
# so just running make will continue to do dev builds. # so just running make will continue to do dev builds.
dev: dev:
$(BUILDER) configure -f"-Production" -O0 --enable-executable-dynamic $(BUILDER) configure -f"-Production" -O0 \
--enable-executable-dynamic --enable-profiling
mkdir -p tmp mkdir -p tmp
touch tmp/configure-stamp touch tmp/configure-stamp
$(MAKE) git-annex $(MAKE) git-annex