Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build LLVM doxygen in HTML ? I tried but failed

I want to get a copy of the doxygen web-pages of llvm, so I can work with it without the internet. I did as follows:

$ cd LLVM_ROOT_DIR
$ mkdir out
$ cd out/
$ ../configure --enable-doxygen
$ make ENABLE_OPTIMIZED=1

But it only built llvm without documentation. I also tried

$ make BUILD_FOR_WEBSITE=1 ENABLE_OPTIMIZED=1

and

$ make ENABLE_OPTIMIZED=1 EXTRA_DIST=1

All of them did not work. How could I build the web pages ? Thanks a lot.

like image 267
wangbo15 Avatar asked Oct 28 '25 02:10

wangbo15


1 Answers

Using recent versions of LLVM, an in-source build is prohibited by configure. Luckily the documentation can be built using cmake.

$ mkdir out
$ cd out/
$ cmake -DLLVM_ENABLE_DOXYGEN=On ../
$ make doxygen-llvm

The process will take a while, but after it you should have the full documentation.

like image 153
samvv Avatar answered Nov 01 '25 11:11

samvv