aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2021-03-01 19:29:41 -0800
committerJohn MacFarlane <[email protected]>2021-03-01 19:29:41 -0800
commitf6edde944e73ada7eb4965bd2ece381f3e2a47bc (patch)
treec82c99fe374892df1326b9c1b0a52f357731a908 /INSTALL.md
parent26c496d93647dd589af6c07c2273801ff7b49950 (diff)
Add lowmem flag.lowmem
This disables optimizations in select modules that cause problems compiling in lower memory environments. (LaTeX reader, LaTeX and Markdown writers) Performance is 10x slower for reading LaTeX, 20% slower for writing Markdown and LaTeX.
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md
index d23c349c1..80bf9f4da 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -296,8 +296,12 @@ You will need cabal version 2.0 or higher.
- `embed_data_files`: embed all data files into the binary (default no).
This is helpful if you want to create a relocatable binary.
- - `https`: enable support for downloading resources over https
- (using the `http-client` and `http-client-tls` libraries).
+ - `lowmem`: disable optimization on a few modules that take
+ a lot of memory to compile. Use this flag if compiling
+ pandoc fails with out of memory errors.
+
+ - `trypandoc`: build the `trypandoc` executable (a CGI web
+ app).
3. Build: