[PATCH] D34197: Added Dockerfiles to build clang from sources.

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 08:47:15 PDT 2017


mehdi_amini added inline comments.


================
Comment at: docs/Docker.rst:109
+(``llvm/utils/build_clang_image.sh``) that handles that. It has less parameters
+and be used like that:
+
----------------
ilya-biryukov wrote:
> mehdi_amini wrote:
> > It is very confusing why we need three scripts. I especially don't understand the introduction of the build_clang_image.sh script here.
> > Can we just get rid of this third script that (after looking at the code) is a thing wrapper and just give the example invocation of the build_docker_image.sh that does that?
> It is indeed just a thin wrapper with a sole purpose of including a proper "recipe" to do a 2-stage clang build.
> Is there any harm in including it? It's a very small and simple script. Do you find it confusing to have it beside the main script to build docker images?
> 
Adding 90 lines of script for something that is 3 lines of documentation that the user should copy/paste? Doesn't justify itself to me.




https://reviews.llvm.org/D34197





More information about the llvm-commits mailing list