|
From: Bjoern D. <bjo...@go...> - 2010-01-06 14:08:45
Attachments:
vg_builddir.diff
|
Hello, I'm trying to compile Valgrind in a separate build directory, so that all generated files etc. are placed outside the source dir. To achieve this, I had to make two adaptions to the build system: 1) default.supp file generation default.supp is generated by cat'ing several.supp files together. These reside in the source directory and the cat command needs to be adapted to read them from there. However, one of those files is created during the build process from glibc-2.X.supp.in and the generated .supp file does not reside inside the source directory, so prefixing everything with the $srcdir is not possible. I therefore split these files into two sets (already existing DEFAULT_SUPP and GENERATED_SUPP) and handle them separately in the Makefile. 2) VEX directories Building VEX requires some directories to be available in the build directory. Attached is my current patch, any comments are appreciated. Cheers, Bjoern |
|
From: Nicholas N. <n.n...@gm...> - 2010-01-21 02:25:57
|
On Thu, Jan 7, 2010 at 12:15 AM, Bjoern Doebel <bjo...@go...> wrote: > Hello, > > I'm trying to compile Valgrind in a separate build directory, so that > all generated files etc. are placed outside the source dir. https://bugs.kde.org/show_bug.cgi?id=155913 is the bug tracking this feature. Nick |
|
From: Ashley P. <as...@pi...> - 2010-01-21 15:48:25
|
On 21 Jan 2010, at 02:25, Nicholas Nethercote wrote: > On Thu, Jan 7, 2010 at 12:15 AM, Bjoern Doebel > <bjo...@go...> wrote: >> Hello, >> >> I'm trying to compile Valgrind in a separate build directory, so that >> all generated files etc. are placed outside the source dir. > > https://bugs.kde.org/show_bug.cgi?id=155913 is the bug tracking this feature. The patch attached to that bug should still work, most of the changes are to do with getting the test suite to work rather than actually building Valgrind itself. I need to update it and re-sumit it so let me know if you have any problems with it. Ashley, |