]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Rename perf/perf.py to misc/performance
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 22 Apr 2019 14:16:01 +0000 (16:16 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 22 Apr 2019 14:16:01 +0000 (16:16 +0200)
No need for it to occupy a directory of its own.

Makefile.in
misc/performance [moved from perf/perf.py with 99% similarity]

index 47906055c21dfaf7931fca8bc007f95e63665b7b..fba5e10e5dfcc4de8815d496194d573f23de07f3 100644 (file)
@@ -136,9 +136,9 @@ src/zlib/libz.a: $(zlib_objs)
        $(if $(quiet),@echo "  RANLIB   $@")
        $(Q)$(RANLIB) $@
 
-.PHONY: perf
-perf: ccache$(EXEEXT)
-       $(srcdir)/perf/perf.py --ccache ccache$(EXEEXT) $(CC) $(all_cppflags) $(all_cflags) $(srcdir)/src/ccache.c
+.PHONY: performance
+performance: ccache$(EXEEXT)
+       $(srcdir)/misc/performance --ccache ccache$(EXEEXT) $(CC) $(all_cppflags) $(all_cflags) $(srcdir)/src/ccache.c
 
 .PHONY: test
 test: ccache$(EXEEXT) unittest/run$(EXEEXT)
similarity index 99%
rename from perf/perf.py
rename to misc/performance
index 954a7558a66ca9e161ae9ae066082d28e739f540..0886b7ccb78e1f4c9867bd77f2a84a774e173bd5 100755 (executable)
@@ -41,7 +41,7 @@ some idea of ccache speedup and overhead in the preprocessor and direct modes.
 The arguments to the program should be the compiler, optionally followed by
 compiler options, and finally the source file to compile. The compiler options
 must not contain -c or -o as these options will be added later. Example:
-./perf.py gcc -g -O2 -Idir file.c
+misc/performance gcc -g -O2 -Idir file.c
 """
 
 DEFAULT_CCACHE = "./ccache"