BinaryBuilder.jl icon indicating copy to clipboard operation
BinaryBuilder.jl copied to clipboard

Hints for waf?

Open bramtayl opened this issue 4 years ago • 3 comments

I'm trying to compile TDB and it seems like TDB uses waf to compile, and waf can't cross compile, but requires an external emulator (qemu?) and...to be honest I get lost about there. Maybe there could be hints for the waf system? They document cross compilation here https://wiki.samba.org/index.php/Waf#cross-compiling

bramtayl avatar Aug 17 '20 19:08 bramtayl

Well, we'd need first support for emulators, see #10

giordano avatar Aug 17 '20 22:08 giordano

I'd done a waf build some time ago. Seemed to work .. (eventually) . You have to set the TARGET as an environment variable for it to cross compile.

https://github.com/JuliaPackaging/Yggdrasil/blob/5a60d85753ba42375ae10c454f0651c81284cc7b/M/mpv/build_tarballs.jl

aviks avatar Sep 21 '20 17:09 aviks

Seems like what would be needed is cross-answers files: https://wiki.samba.org/index.php/Waf#Using_--cross-answers

bramtayl avatar Feb 21 '21 16:02 bramtayl