<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>buildgas is for the 4.0 branch of vlc-android<br></div>
<div><br></div>
<div><br></div>
<div>On Wed, Oct 31, 2018, at 10:23, Geoffrey Métais wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>This breaks build on Linux:<br></div>
<div><br></div>
<div><span class="font" style="font-family:monospace">make: *** No rule to make target '.buildgas'. Stop. <br>buildsystem tools: make failed</span></div>
</div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">Le mer. 31 oct. 2018 à 03:02, Zhao Zhili <<a href="mailto:quinkblack@foxmail.com">quinkblack@foxmail.com</a>> a écrit :<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div>Please review.<br></div>
<div> <br></div>
<div> Don't pollute the PATH env is safe as it already made some troubles such as<br></div>
<div> <br></div>
<div> # The make.exe and awk.exe from the toolchain don't work in msys<br></div>
<div> <br></div>
<div> However, some parts require the cross build toolchains in the PATH, <br></div>
<div> e.g., vpx<br></div>
<div> <br></div>
<div> VPX_CONF += --sdk-path=$(shell dirname $(shell which $(HOST)-clang))<br></div>
<div> <br></div>
<div> <br></div>
<div> On 2018年10月29日 16:45, Zhao wrote:<br></div>
<div> > From: Zhao Zhili <<a href="mailto:quinkblack@foxmail.com">quinkblack@foxmail.com</a>><br></div>
<div> ><br></div>
<div> > Build extras/tools/protobuf failed as it tried to pick up clang under<br></div>
<div> > NDK_TOOLCHAIN_PATH.<br></div>
<div> > ---<br></div>
<div> > compile-libvlc.sh | 52 +++++++++++++++++++++++------------------------<br></div>
<div> > 1 file changed, 26 insertions(+), 26 deletions(-)<br></div>
<div> ><br></div>
<div> > diff --git a/compile-libvlc.sh b/compile-libvlc.sh<br></div>
<div> > index 85d4794a7..ec257616b 100755<br></div>
<div> > --- a/compile-libvlc.sh<br></div>
<div> > +++ b/compile-libvlc.sh<br></div>
<div> > @@ -62,6 +62,32 @@ if [ -z "$ANDROID_ABI" ]; then<br></div>
<div> > exit 1<br></div>
<div> > fi<br></div>
<div> > <br></div>
<div> > +# Make in //<br></div>
<div> > +if [ -z "$MAKEFLAGS" ]; then<br></div>
<div> > + UNAMES=$(uname -s)<br></div>
<div> > + MAKEFLAGS=<br></div>
<div> > + if which nproc >/dev/null; then<br></div>
<div> > + MAKEFLAGS=-j`nproc`<br></div>
<div> > + elif [ "$UNAMES" == "Darwin" ] && which sysctl >/dev/null; then<br></div>
<div> > + MAKEFLAGS=-j`sysctl -n machdep.cpu.thread_count`<br></div>
<div> > + fi<br></div>
<div> > +fi<br></div>
<div> > +<br></div>
<div> > +###########################<br></div>
<div> > +# Build buildsystem tools #<br></div>
<div> > +###########################<br></div>
<div> > +<br></div>
<div> > +export PATH="`pwd`/vlc/extras/tools/build/bin:$PATH"<br></div>
<div> > +echo "Building tools"<br></div>
<div> > +cd vlc/extras/tools<br></div>
<div> > +./bootstrap<br></div>
<div> > +checkfail "buildsystem tools: bootstrap failed"<br></div>
<div> > +make $MAKEFLAGS<br></div>
<div> > +checkfail "buildsystem tools: make failed"<br></div>
<div> > +make $MAKEFLAGS .buildgas<br></div>
<div> > +checkfail "buildsystem tools: make failed"<br></div>
<div> > +cd ../../..<br></div>
<div> > +<br></div>
<div> > ###########################<br></div>
<div> > # VLC BOOTSTRAP ARGUMENTS #<br></div>
<div> > ###########################<br></div>
<div> > @@ -339,17 +365,6 @@ echo "ABI: $ANDROID_ABI"<br></div>
<div> > echo "API: $ANDROID_API"<br></div>
<div> > echo "PATH: $PATH"<br></div>
<div> > <br></div>
<div> > -# Make in //<br></div>
<div> > -if [ -z "$MAKEFLAGS" ]; then<br></div>
<div> > - UNAMES=$(uname -s)<br></div>
<div> > - MAKEFLAGS=<br></div>
<div> > - if which nproc >/dev/null; then<br></div>
<div> > - MAKEFLAGS=-j`nproc`<br></div>
<div> > - elif [ "$UNAMES" == "Darwin" ] && which sysctl >/dev/null; then<br></div>
<div> > - MAKEFLAGS=-j`sysctl -n machdep.cpu.thread_count`<br></div>
<div> > - fi<br></div>
<div> > -fi<br></div>
<div> > -<br></div>
<div> > ##########<br></div>
<div> > # CFLAGS #<br></div>
<div> > ##########<br></div>
<div> > @@ -423,21 +438,6 @@ echo "VLC_CXXFLAGS: ${VLC_CXXFLAGS}"<br></div>
<div> > <br></div>
<div> > cd vlc<br></div>
<div> > <br></div>
<div> > -###########################<br></div>
<div> > -# Build buildsystem tools #<br></div>
<div> > -###########################<br></div>
<div> > -<br></div>
<div> > -export PATH="`pwd`/extras/tools/build/bin:$PATH"<br></div>
<div> > -echo "Building tools"<br></div>
<div> > -cd extras/tools<br></div>
<div> > -./bootstrap<br></div>
<div> > -checkfail "buildsystem tools: bootstrap failed"<br></div>
<div> > -make $MAKEFLAGS<br></div>
<div> > -checkfail "buildsystem tools: make failed"<br></div>
<div> > -make $MAKEFLAGS .gas<br></div>
<div> > -checkfail "buildsystem tools: make failed"<br></div>
<div> > -cd ../..<br></div>
<div> > -<br></div>
<div> > #############<br></div>
<div> > # BOOTSTRAP #<br></div>
<div> > #############<br></div>
<div> <br></div>
<div> _______________________________________________<br></div>
<div> Android mailing list<br></div>
<div> <a href="mailto:Android@videolan.org">Android@videolan.org</a><br></div>
<div> <a href="https://mailman.videolan.org/listinfo/android">https://mailman.videolan.org/listinfo/android</a><br></div>
</blockquote></div>
<div><u>_______________________________________________</u><br></div>
<div>Android mailing list<br></div>
<div><a href="mailto:Android@videolan.org">Android@videolan.org</a><br></div>
<div><a href="https://mailman.videolan.org/listinfo/android">https://mailman.videolan.org/listinfo/android</a><br></div>
</blockquote><div><br></div>
</body>
</html>