Skip to content

Commit a825d4e

Browse files
Document config options (PR #420)
Resolve Issue #320
1 parent 0d2b875 commit a825d4e

File tree

2 files changed

+55
-2
lines changed

2 files changed

+55
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,27 @@ If you installed GAP on several architectures, then you must execute the
8585
configure/make step for each of the architectures. You can either do this
8686
immediately after configuring and compiling GAP itself on this architecture, or
8787
alternatively set the environment variable `CONFIGNAME` to the name of the
88-
configuration you used when compiling GAPbefore running `./configure`. Note
88+
configuration you used when compiling GAP before running `./configure`. Note
8989
however that your compiler choice and flags (environment variables `CC` and
9090
`CFLAGS`) need to be chosen to match the setup of the original GAP compilation.
9191
For example, you have to specify 32-bit or 64-bit mode correctly!
9292

93-
Digraphs vendors `bliss` and `planarity` libraries in the `extern` directory.
93+
### Configuration options
94+
95+
In addition to the usual autoconf generated configuration flags, the following
96+
flags are provided.
97+
98+
Option | Meaning
99+
----------------------------- | ------------------------------------------------
100+
--enable-code-coverage | enable code coverage support
101+
--enable-compile-warnings | enable compiler warnings
102+
--enable-debug | enable debug mode
103+
--with-external-bliss | use external `bliss`
104+
--with-external-planarity | use external `planarity`
105+
--with-gaproot | specify root of GAP installation
106+
--without-intrinsics | do not use compiler intrinsics even if available
107+
108+
Digraphs vendors the `bliss` and `planarity` libraries in the `extern` directory.
94109
If you wish to use your system copy of `bliss` or `planarity`, please use the
95110
configure options `--with-external-bliss` or `--with-external-planarity`, as
96111
appropriate.

doc/z-chap1.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,44 @@ make]]></Listing>
9494
If you want to check that the package is working correctly, you
9595
should run some of the tests described in Section
9696
<Ref Sect="Testing your installation"/>.
97+
<Subsection Label="Configuration options">
98+
<Heading>Configuration options</Heading>
99+
100+
In addition to the usual autoconf generated configuration flags, the following
101+
flags are provided.
102+
103+
<Table Align="|l|l|">
104+
<Caption>Configuration flags</Caption>
105+
<HorLine/>
106+
<Row>
107+
<Item>Option</Item><Item>Meaning</Item>
108+
</Row>
109+
<HorLine/>
110+
<HorLine/>
111+
<Row>
112+
<Item><C>--enable-code-coverage</C></Item><Item> enable code coverage support</Item>
113+
</Row>
114+
<Row>
115+
<Item><C>--enable-compile-warnings</C></Item><Item> enable compiler warnings</Item>
116+
</Row>
117+
<Row>
118+
<Item><C>--enable-debug</C></Item><Item> enable debug mode</Item>
119+
</Row>
120+
<Row>
121+
<Item><C>--with-external-bliss</C></Item><Item> use external &bliss;</Item>
122+
</Row>
123+
<Row>
124+
<Item><C>--with-external-planarity</C></Item><Item> use external &edge-addition-planarity-suite;</Item>
125+
</Row>
126+
<Row>
127+
<Item><C>--with-gaproot</C></Item><Item> specify root of GAP installation</Item>
128+
</Row>
129+
<Row>
130+
<Item><C>--without-intrinsics</C></Item><Item> do not use compiler intrinsics even if available</Item>
131+
</Row>
132+
<HorLine/>
133+
</Table>
134+
</Subsection>
97135
</Section>
98136

99137
<!--**********************************************************************-->

0 commit comments

Comments
 (0)