Out of tree builds with waf?

Joel Sherrill joel at rtems.org
Thu Nov 5 16:09:41 UTC 2020


On Thu, Nov 5, 2020 at 10:04 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Hello,
>
> I tried to do an out of tree build with waf:
>
> ~/src/rtems/waf configure --rtems-config $PWD/config.ini --out
> $PWD/build --top $HOME/src/rtems
>
> This seems to work, however, I get a message like this (CWD /home ...):
>
> ~/src/rtems/waf --out $PWD/build --top $HOME/src/rtems
> Waf: Entering directory
> `/home/EB/sebastian_h/src/rtems-source-builder/tmp/build'
> Waf: Leaving directory
> `/home/EB/sebastian_h/src/rtems-source-builder/tmp/build'
> 'build' finished successfully (0.332s)
> Waf: Entering directory
> `/home/EB/sebastian_h/src/rtems-source-builder/tmp/build/sparc/erc32'
> CWD /home/EB/sebastian_h/src/rtems-source-builder/tmp is not under
> /home/EB/sebastian_h/src/rtems, forcing --targets=* (run distclean?)
> Waf: Leaving directory
> `/home/EB/sebastian_h/src/rtems-source-builder/tmp/build/sparc/erc32'
> 'build_sparc/erc32' finished successfully (0.438s)
>
> I this something to worry about? Are out of tree builds supported by waf?
>

I hope they can be. Or at least the build directory name changed based
on user input.

For automated testing, I have been building multiple BSPs in parallel
completely independently. I don't know a way to do this with waf.

--joel

>
> --
> embedded brains GmbH
> Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> Phone: +49-89-18 94 741 - 16
> Fax:   +49-89-18 94 741 - 08
> PGP: Public key available on request.
>
> embedded brains GmbH
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201105/435a2d43/attachment.html>


More information about the devel mailing list