I'm currently working through a build of svn-20190420, trying to
make sure that almost everything which uses a compiler will use my
CFLAGS and CXXFLAGS (first part of my experiments in tuning, I've
reworked how I supply CFLAGS and CXXFLAGS, now confirming that they
get picked up by everything I expect to use them).  The build got as
far as llvm, built and installed that, and then failed in the docs
(I have Sphinx, for the rare occasions when I find time to make the
kernel docs).  The error was:

  Extension error:
Could not import recommonmark.parser (needed for source parser) (exception: No 
module named 'recommo
nmark')

Note that I've been using python3 for Sphinx-1.8.4 and Python3 since
February without this problem, o it seems to me that llvm-8.0.0 has
added this as a requirement.

https://pypi.org/project/recommonmark/#files (currently 0.5.0).
That pulls in a load of other python modules, and with it installed
I managed to build the llvm-8.0.0 clang-html llvm-html
documentation as well as the manual pages.

So, unless anyone objects I intend to change the llvm page to add an
external link, and change

 If you have installed Sphinx and wish to ...
to
 If you have installed Sphinx and recommonmark, and wish to ...

Objections ?

As to the "tuning", setup.py has a funny idea of 'verbose', it tells
you nothing about how it is building things.  If it's all scripts,
no worry, but I suspect some of the modules do compilation.  Maybe
nearer the end (probably about the eighth or tenth pass, this is the
first and only half built) I'll try adding --enable-optimizations to
python3 when I rebuild it after adding more dependencies early in
BLFS : I had thought I only use it in building, but maybe Sphinx
(llvm docs, kernel docs) will show if that is worthwhile.  Looks as
if this won't be finished for months! ;-)

ĸen
-- 
Before the universe began, there was a sound. It went: "One, two, ONE,
two, three, four" [...] The cataclysmic power chord that followed was
the creation of time and space and matter and it does Not Fade Away.
 - wiki.lspace.org/mediawiki/Music_With_Rocks_In


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to