[PATCH] build: fix out-of-tree builds
Jani Nikula
jani at nikula.org
Thu Mar 7 22:26:33 PST 2013
On Fri, 08 Mar 2013, David Bremner <david at tethera.net> wrote:
> Jani Nikula <jani at nikula.org> writes:
>> ---
>>
>> David, does the perf test still work for you with these changes?
>
> make perf-test OPTIONS=--medium
>
> runs the time tests, but then fails with
>
> ./performance-test/notmuch-memory-test --medium
> make[1]: ./performance-test/notmuch-memory-test: Command not found
> make[1]: *** [memory-test] Error 127
> make[1]: Leaving directory `/home/bremner/software/upstream/notmuch'
> make: *** [perf-test] Error 2
>
> To be honest, the line
>
> TIME_TEST_SCRIPT :=$ $(srcdir)/$(dir)/notmuch-time-test
>
> looks pretty strange to me, but that seems to be the one that is working
Oof, to be honest, that was a typo. The minimal change required to
*build* is:
-include $(dir)/version.sh
+include $(srcdir)/$(dir)/version.sh
and the rest was just a poor attempt at making perf test work too. I'll
look into it.
Jani.
More information about the notmuch
mailing list