22
33## Installing with conda
44
5- This installation method assumes that you have anaconda or miniconda
6- installed. See the [ getting started] ( http://bit.ly/33B0Vfs ) and
7- [ miniconda download page] ( https://conda.io/miniconda.html ) on the
8- [ conda] ( https://conda.io/ ) website.
5+ This installation method assumes that you have a working version of ` conda ` .
6+ See the [ getting started] ( https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html )
7+ on the [ conda] ( https://conda.io/ ) website.
98
10- Activate the [ conda-forge] ( https://conda-forge.github.io / ) package
9+ Activate the [ conda-forge] ( https://conda-forge.org / ) package
1110repository:
1211
1312 conda config --add channels conda-forge
@@ -19,9 +18,9 @@ Install `libsemigroups`:
1918## From the sources
2019
2120Building ` libsemigroups ` from the source files requires a C++ compiler
22- supporting the C++14 standard, ` autoconf ` , and ` automake ` . Building the
21+ supporting the C++17 standard, ` autoconf ` , and ` automake ` . Building the
2322documentation from source has some additional requirements that are
24- detailed [ here ] ( Building%20the%20documentation%20from%20source ) .
23+ detailed in the section [ Building the documentation ] ( index.md#building-the-documentation ) .
2524
2625### From the github repo
2726
@@ -35,51 +34,43 @@ To build `libsemigroups` from the github repository:
3534
3635To build ` libsemigroups ` from a release archive:
3736
38- ::: parsed-literal
39- curl -L -O
40- < https://github.com/libsemigroups/libsemigroups/releases/latest/download/libsemigroups-%7Clibsemigroups-version > libsemigroups-versionlibsemigroups-versionlibsemigroups-version \|
41- ./configure && make -j8 && sudo make install
42- :::
37+ curl -L -O https://github.com/libsemigroups/libsemigroups/releases/latest/download/libsemigroups-3.0.0.tar.gz
38+ tar -xf libsemigroups-3.0.0.tar.gz
39+ rm -f libsemigroups-3.0.0.tar.gz
40+ cd libsemigroups-3.0.0
41+ ./configure && make -j8 && sudo make install
4342
4443### Docker
4544
46- If you have [ Docker] ( https://www.docker.com ) installed, you can download
47- an [ x86 docker
48- image] ( https://hub.docker.com/repository/docker/libsemigroups/libsemigroups-docker )
45+ If you have [ Docker] ( https://www.docker.com ) installed, you can download an
46+ [ x86 docker image] ( https://hub.docker.com/repository/docker/libsemigroups/libsemigroups-docker )
4947for ` libsemigroups ` as follows:
5048
51- ::: parsed-literal
52- docker pull libsemigroups/libsemigroups-docker
53- :::
49+ docker pull libsemigroups/libsemigroups-docker
5450
55- or an [ arm docker
56- image] ( https://hub.docker.com/repository/docker/libsemigroups/libsemigroups-docker-arm )
51+ or an [ arm docker image] ( https://hub.docker.com/repository/docker/libsemigroups/libsemigroups-docker-arm )
5752as follows
5853
59- ::: parsed-literal
60- docker pull libsemigroups/libsemigroups-docker-arm
61- :::
54+ docker pull libsemigroups/libsemigroups-docker-arm
6255
6356and run it by doing
6457
65- ::: parsed-literal
66- docker run \- -rm -it libsemigroups/libsemigroups-docker docker run \- -rm
67- -it libsemigroups/libsemigroups-docker-arm
68- :::
58+ docker run --rm -it libsemigroups/libsemigroups-docker
6959
70- If you want to use a specific version of ` libsemigroups ` , then use:
60+ or
7161
72- ::: parsed-literal
73- docker pull libsemigroups/libsemigroups-docker: version-1 .0.9 docker run
74- \- -rm -it libsemigroups/libsemigroups-docker: version-1 .0.9
75- :::
62+ docker run --rm -it libsemigroups/libsemigroups-docker-arm
63+
64+ If you want to use a specific version of ` libsemigroups ` , such as 1.0.9, then
65+ use:
66+
67+ docker pull libsemigroups/libsemigroups-docker:version-1.0.9
68+ docker run --rm -it libsemigroups/libsemigroups-docker:version-1.0.9
7669
7770or, for the latest version, use:
7871
79- ::: parsed-literal
80- docker pull libsemigroups/libsemigroups-docker: latest docker run \- -rm
81- -it libsemigroups/libsemigroups-docker: latest
82- :::
72+ docker pull libsemigroups/libsemigroups-docker:latest
73+ docker run --rm -it libsemigroups/libsemigroups-docker:latest
8374
8475## Configuration options
8576
@@ -96,13 +87,12 @@ configuration options are available for `libsemigroups`:
9687| \- -with-external-fmt | do not use the included copy of fmt (default=no) |
9788| \- -with-external-eigen | do not use the included copy of eigen (default=no) |
9889| \- -disable-popcnt | do not use \_\_ builtin_popcountl (default=yes) |
99- | \- -disable-clzll | do not use \_\_ builtin_ctzll (default=yes) |
90+ | \- -disable-clzll | do not use \_\_ builtin_clzll (default=yes) |
10091
101- Debug mode and verbose mode significantly degrade the performance of
102- ` libsemigroups ` . Compiling with ` fmt ` enabled increases build times
103- significantly. Note that the flags ` --enable-fmt ` and
104- ` --with-external-fmt ` are independent of each other, and so both flags
105- should be included to enable ` fmt ` and use an external ` fmt ` .
92+ Debug mode significantly degrades the performance of ` libsemigroups ` . Note that
93+ the flags ` --enable-eigen ` and ` --with-external-eigen ` are independent of each
94+ other, and so both flags should be included to enable ` eigen ` and use an
95+ external ` eigen ` .
10696
10797## Make install
10898
@@ -128,28 +118,19 @@ above then
128118 PKG_CONFIG_PATH=/foo/bar/lib/pkgconfig pkg-config --modversion libsemigroups
129119
130120will print the version of the installed ` libsemigroups ` . (As usual,
131- ` PKG_CONFIG_PATH ` may be exported, added to shell configuration, etc.)
121+ ` PKG_CONFIG_PATH ` may be exported, added to shell configuration, etc.).
132122
133123## Building the documentation
134124
135- The following are required to be able to build the documentation:
136-
137- 1 . ` python3 `
138- 2 . ` doxygen `
139- 3 . the python packages:
140- ` sphinx bs4 lxml breathe pyyaml sphinx_rtd_theme sphinx_copybutton sphinxcontrib-bibtex `
141-
142- Assuming you already have ` python3 ` install, on Mac OSX you can install
143- all of the above by doing:
144-
145- brew install doxygen sphinx
146- pip3 install -r docs/requirements.txt
125+ To build the documentation, a version of ` doxygen ` is required. Instructions on
126+ how to do this can be found on Doxygen's
127+ [ Installation page] ( https://www.doxygen.nl/manual/install.html ) .
147128
148- Then it ought to be possible to just run ` make doc ` in the
149- ` libsemigroups ` directory.
129+ Then, it ought to be possible to just run ` make doc ` in the
130+ ` libsemigroups ` directory, and the documentation will be generated .
150131
151132## Issues
152133
153134If you find any problems with ` libsemigroups ` , or have any suggestions
154- for features that you'd like to see, please use the [ issue
155- tracker] ( https://github.com/libsemigroups/libsemigroups/issues ) .
135+ for features that you'd like to see, please use the
136+ [ issue tracker] ( https://github.com/libsemigroups/libsemigroups/issues ) .
0 commit comments