Skip to content

Instantly share code, notes, and snippets.

@mhagger
Created October 5, 2015 15:35
Show Gist options
  • Save mhagger/b321e423481b3de405d2 to your computer and use it in GitHub Desktop.
Save mhagger/b321e423481b3de405d2 to your computer and use it in GitHub Desktop.
O = 2
CFLAGS = -g -O$(O) -Wall -Wdeclaration-after-statement -Wno-format-zero-length -Wno-format-security -Werror -Wold-style-definition -Wold-style-declaration -Wno-pointer-to-int-cast -Wpointer-arith -Woverflow -Wunused -Wstrict-prototypes -Wformat-security -Wvla $(EXTRA_CFLAGS) $(LOCAL_CFLAGS)
NO_SVN_TESTS = 1
COMPUTE_HEADER_DEPENDENCIES = yes
# /var/tmp is a ramdisk on my computer:
TMP := /var/tmp
ROOT := $(TMP)/git-tests-$(shell git rev-parse --show-toplevel | sha1sum | head -c10)
GIT_TEST_OPTS = -q --root=$(ROOT) --tee
GIT_PROVE_OPTS = --timer --jobs 16 --state=fresh,hot,slow,save
DEFAULT_TEST_TARGET = prove
GIT_PERF_REPEAT_COUNT = 8
GIT_PERF_MAKE_OPTS = -j6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment