On 16/12/2018 18:57, Pierre Labastie via blfs-dev wrote: > On 16/12/2018 18:05, Bruce Dubbs via blfs-dev wrote: >> On 12/16/2018 10:33 AM, Pierre Labastie via blfs-dev wrote: >>> On 16/12/2018 16:52, Pierre Labastie via blfs-dev wrote: >>>> On 13/12/2018 23:05, Bruce Dubbs via blfs-dev wrote: >>>>> >>>>> >>>>> I just updated to mesa-18.3.1 earlier today. A couple of things I found >>>>> after >>>>> reading this thread: >>>>> >>>>> 1. Package libtizcore was not found. We don't have this mentioned and I >>>>> don't know what it does. I did find >>>>> https://github.com/tizonia/tizonia-openmax-il/tree/master/libtizcore but >>>>> there >>>>> is no documentation. >>>>> >>>>> There is only one file in src/. It is a 1900 line .c file. A comment: >>>>> >>>>> * This library implements the base OpenMAX IL Core infrastructure, as >>>>> * specified in the standard. >>>>> >>>>> But I don't know what that means. Google points to >>>>> https://www.khronos.org/openmaxil but a very fast scan indicates to me >>>>> that we >>>>> don't need it. >>>>> >>>>> 2. Using PYTHON=python3 in the configure works. If P2 is not present, >>>>> then >>>>> I suspect that it would pick it up automatically, but I've not tried. >>>>> >>>>> 2a. The make log only references python3 once. >>>>> >>>>> 3. It does look for mako. >>>>> >>>>> 4. We could switch to meson. >>>>> >>>> >>>> A couple of remarks about mesa+P3: >>>> >>>> - I think I will not be able to test building mesa with only P3 available. >>>> The >>>> reason is that I need llvmpipe, and that LLVM seems to require P2 (although >>>> some work seems to have been done in order to support P3 (see e.g. [1] and >>>> [2]) for some time now. >>> >>> Update: according to the documentation [1], Python seems to be only required >>> for tests. As anybody tested that Python is not needed if the tests are not >>> run (and/or built, that is P2 could be needed as soon as -DLLVM_BUILD_TESTS >>> is >>> ON)? If this is the case, we could make P2 optional for llvm, remove the >>> "-DLLVM_BUILD_TESTS=ON" flag, and expand the test section to mention this >>> flag. >>> >>>> >>>> - [...] >>> >>> Pierre >>> >>> [1] https://llvm.org/docs/GettingStarted.html#software >>> >> >> >> I am getting ready to do a new build on my laptop. Normally I don't need >> llvm >> for mesa on that system, but I can do the build and test without P2. >> >> I plan to start later today or tomorrow. >> > > Thanks, > > Actually, I am just starting an LLVM build right now in a VM; without Python2 > installed (only Python3 from LFS). Cmake found python3 and seems OK with that. > Will let you know if it completes. I've removed the -DLLVM_BUILD_TESTS=ON > switch >
It completed, and actually, also building mesa, and X. The full "X Window System environment" has been built without Python2 on the machine. And it started with "startx" as usual. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
