Ask Your Question
2

build sage without documentation

asked 11 years ago

Michele gravatar image

updated 11 years ago

tmonteil gravatar image

I see that sometimes when building sage with the commands

git pull
make

the majority of time is employed in building the documentation. Actually I'm not interested in building the documentation on my machine (I usually have an internet connection and I usually browse the documentation online).

Is it possible to ignore the documentation when building sage? How can I do that?

Preview: (hide)

Comments

How long does it take to build the documentation? If you have several cores, you should be building in parallel: do `export MAKE="make -j8"` followed by `make` (or in very recent versions, just `make -j8`) to build Sage with 8 parallel processes.

John Palmieri gravatar imageJohn Palmieri ( 11 years ago )
1

`make -j8` doesn't work for the documentation, since the documentation doesn't actually use `make`. `MAKE="make -j8" make` does work in all cases (because we can read the environment variable `MAKE` from Python).

Jeroen Demeyer gravatar imageJeroen Demeyer ( 11 years ago )

1 Answer

Sort by » oldest newest most voted
4

answered 11 years ago

tmonteil gravatar image

updated 11 years ago

The default make target runs both build and doc targets. If you do not want the documentation to be built, you can try:

make build
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 11 years ago

Seen: 744 times

Last updated: Feb 05 '14