Message ID | 20180503100326.32797-1-raj.khem@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | mesa: Define PYTHON2 | expand |
Do you know what scripts those are? It would be good to get them to have a python2 hashbang upstream, I've a sideline in quietly migrating upstreams to python3 so this is an important first step. Ross On 3 May 2018 at 11:03, Khem Raj <raj.khem@gmail.com> wrote: > Ensure that python2 is not assumed to be python which can > point to python3 in some cases, when building gallium-llvm > there are scripts which are requiring python2 and wont work > with python3 > > Signed-off-by: Khem Raj <raj.khem@gmail.com> > --- > meta/recipes-graphics/mesa/mesa.inc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-graphics/mesa/mesa.inc > b/meta/recipes-graphics/mesa/mesa.inc > index 0a4cfc25a5..9bddb7acef 100644 > --- a/meta/recipes-graphics/mesa/mesa.inc > +++ b/meta/recipes-graphics/mesa/mesa.inc > @@ -35,6 +35,7 @@ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/ > llvm-config${MESA_LLVM_RELEASE}" > export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_ > LLVM_RELEASE}/llvm-config" > EXTRA_OECONF = "--enable-shared-glapi \ > --disable-opencl \ > + PYTHON2=python2 \ > --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} > \ > --with-platforms='${PLATFORMS}'" > > -- > 2.17.0 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > <div dir="ltr">Do you know what scripts those are? It would be good to get them to have a python2 hashbang upstream, I've a sideline in quietly migrating upstreams to python3 so this is an important first step.<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 May 2018 at 11:03, Khem Raj <span dir="ltr"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ensure that python2 is not assumed to be python which can<br> point to python3 in some cases, when building gallium-llvm<br> there are scripts which are requiring python2 and wont work<br> with python3<br> <br> Signed-off-by: Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>><br> ---<br> meta/recipes-graphics/mesa/<wbr>mesa.inc | 1 +<br> 1 file changed, 1 insertion(+)<br> <br> diff --git a/meta/recipes-graphics/mesa/<wbr>mesa.inc b/meta/recipes-graphics/mesa/<wbr>mesa.inc<br> index 0a4cfc25a5..9bddb7acef 100644<br> --- a/meta/recipes-graphics/mesa/<wbr>mesa.inc<br> +++ b/meta/recipes-graphics/mesa/<wbr>mesa.inc<br> @@ -35,6 +35,7 @@ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/<wbr>llvm-config${MESA_LLVM_<wbr>RELEASE}"<br> export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_<wbr>LLVM_RELEASE}/llvm-config"<br> EXTRA_OECONF = "--enable-shared-glapi \<br> --disable-opencl \<br> + PYTHON2=python2 \<br> --with-llvm-prefix=${STAGING_<wbr>LIBDIR}/llvm${MESA_LLVM_<wbr>RELEASE} \<br> --with-platforms='${PLATFORMS}<wbr>'"<br> <span class="HOEnZb"><font color="#888888"> <br> -- <br> 2.17.0<br> <br> -- <br> ______________________________<wbr>_________________<br> Openembedded-core mailing list<br> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br> <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br> </font></span></blockquote></div><br></div> -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 0a4cfc25a5..9bddb7acef 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -35,6 +35,7 @@ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}" export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" EXTRA_OECONF = "--enable-shared-glapi \ --disable-opencl \ + PYTHON2=python2 \ --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \ --with-platforms='${PLATFORMS}'"
Ensure that python2 is not assumed to be python which can point to python3 in some cases, when building gallium-llvm there are scripts which are requiring python2 and wont work with python3 Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/recipes-graphics/mesa/mesa.inc | 1 + 1 file changed, 1 insertion(+) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core