<div dir="ltr"><div dir="ltr">On Tue, Jul 21, 2020 at 7:14 PM Rémi Denis-Courmont <<a href="mailto:remi@remlab.net">remi@remlab.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le tiistaina 21. heinäkuuta 2020, 12.34.05 EEST rustyc a écrit :<br>
> From: rustyc <<a href="mailto:kartikohri13@gmail.com" target="_blank">kartikohri13@gmail.com</a>><br>
> <br>
> ---<br>
>  extras/tools/SHA512SUMS   |  1 +<br>
>  extras/tools/bootstrap    |  1 +<br>
>  extras/tools/packages.mak |  3 +++<br>
>  extras/tools/tools.mak    | 24 ++++++++++++++++++++++++<br>
>  4 files changed, 29 insertions(+)<br>
> <br>
> diff --git a/extras/tools/SHA512SUMS b/extras/tools/SHA512SUMS<br>
> index f41238c45e..67c102d9e8 100644<br>
> --- a/extras/tools/SHA512SUMS<br>
> +++ b/extras/tools/SHA512SUMS<br>
> @@ -20,3 +20,4 @@<br>
> d24849b93de58b20f518c071687e7bfa653a96600382f36c4cf7fc1047656458f75f093b911<br>
> b786b<br>
> 8d23dde18525dccaa648ca01df40151e7f00cec4846bd611c8970dbcfc1fb57a453facfe4d4<br>
> 1462e7c3c8bb548d44b961a04e4fc3073ab6b65063e53f42bf6fd  nasm-2.14.tar.gz<br>
> e3c97ffd9409a543e45c8be7b12d4e8437de8dbd0cd236fbe092952d7d0833728d46ff6b679<br>
> c8a73dae4c4016fdf38b43b56f3959a95968a29db109ebfe254e7  meson-0.54.0.tar.gz<br>
> 1650bf9e3eddeb0b0fbb415c2b8e0a7c094421e991fa8139fd77fae0f6ee7ee980b7cf5e98d<br>
> 883c3a884f99abcb06fa26e3980af3a3a5bb6dd655124755782c2  ninja-1.8.2.tar.gz<br>
> +14a978a3cf699956722d8443070b9f8a043f1252cc1a7ed300b14637a0e6d654f34088d440<br>
> 3790c676500cbab327e30fdb7f81be0b9bde29e552143f26912ac7  rustup-1.22.1.tar.gz<br>
> \ No newline at end of file<br>
> diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap<br>
> index a22ddb1b4e..f47758a434 100755<br>
> --- a/extras/tools/bootstrap<br>
> +++ b/extras/tools/bootstrap<br>
> @@ -148,6 +148,7 @@ check gettext<br>
>  check help2man<br>
>  check meson 0.54.0<br>
>  check ninja<br>
> +check rustup<br>
> <br>
>  DEPS_ONLY="help2man"<br>
> <br>
> diff --git a/extras/tools/packages.mak b/extras/tools/packages.mak<br>
> index b151f7846f..e4ea1341a7 100644<br>
> --- a/extras/tools/packages.mak<br>
> +++ b/extras/tools/packages.mak<br>
> @@ -65,3 +65,6 @@<br>
> MESON_URL=<a href="https://github.com/mesonbuild/meson/releases/download/$(MESON_VER" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/releases/download/$(MESON_VER</a><br>
> SION)<br>
> <br>
>  NINJA_VERSION=1.8.2<br>
>  NINJA_URL=<a href="https://github.com/ninja-build/ninja/archive/v$(NINJA_VERSION).ta" rel="noreferrer" target="_blank">https://github.com/ninja-build/ninja/archive/v$(NINJA_VERSION).ta</a><br>
> r.gz +<br>
> +RUSTUP_VERSION=1.22.1<br>
> +RUSTUP_URL=<a href="https://github.com/rust-lang/rustup/archive/$(RUSTUP_VERSION).ta" rel="noreferrer" target="_blank">https://github.com/rust-lang/rustup/archive/$(RUSTUP_VERSION).ta</a><br>
> r.gz \ No newline at end of file<br>
> diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak<br>
> index db3a79c688..2191f70394 100644<br>
> --- a/extras/tools/tools.mak<br>
> +++ b/extras/tools/tools.mak<br>
> @@ -439,6 +439,30 @@ CLEAN_PKG += ninja<br>
>  DISTCLEAN_PKG += ninja-$(NINJA_VERSION).tar.gz<br>
>  CLEAN_FILE += .buildninja<br>
> <br>
> +#<br>
> +# rustup installation<br>
> +#<br>
> +<br>
> +rustup-$(RUSTUP_VERSION).tar.gz:<br>
> +     $(call download_pkg,$(RUSTUP_URL),rustup)<br>
> +<br>
> +rustup: rustup-$(RUSTUP_VERSION).tar.gz<br>
> +     $(UNPACK)<br>
> +     $(MOVE)<br>
> +<br>
> +.buildrustup: rustup<br>
> +     cd $< && RUSTUP_HOME=$(PREFIX) CARGO_HOME=$(PREFIX) ./rustup-<br>
init.sh<br>
> --no-modify-path -y + rustup default stable<br>
> +     rustup target add x86_64-pc-windows-gnu i686-pc-windows-gnu<br>
> aarch64-linux-android\ +              arm-linux-androideabi i686-linux-<br>
android<br>
> x86_64-linux-android aarch64-apple-ios\ +             x86_64-<br>
apple-ios<br>
> x86_64-unknown-linux-gnu i686-unknown-linux-gnu +     cargo install cargo-c<br>
<br>
First, that looks like a rather arbitrary set of  targets.</blockquote><div>I added the targets by looking at all the major systems supported by VLC. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> I think that <br>
contribs is better armed to deal with cross-compilers if only because it knows <br>
what the target is. LuaC is already  there.<br>
<br>
But in any case, the general opinion here seems to be that "real" compilers <br>
don't belong in the VLC build system at all. Hence the fact that C/C++ cross-<br>
compilers are not there.<br></blockquote><div>I understand. The case here is that rustup installs both the compiler toolchain and the cargo, the build tool which is used to build rust code. That's why I put it here.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" rel="noreferrer" target="_blank">http://www.remlab.net/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div></div>