Skip to content

Commit 4ca7510

Browse files
committed
Add command to download cpu_features submodule
1 parent 3226f92 commit 4ca7510

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/source/installation.rst

+13-8
Original file line numberDiff line numberDiff line change
@@ -56,44 +56,49 @@ The simplest way to compile this package is:
5656

5757
$ cd trimal
5858

59-
2. Create a custom makefile. The CMake build will autodetect the best CPU features available. They can be individually disabled:
59+
2. Run this to clone the `cpu_features` submodule:
60+
::
61+
62+
$ git submodule update --init
63+
64+
3. Create a custom makefile. The CMake build will autodetect the best CPU features available. They can be individually disabled:
6065

61-
2.1. Build with AVX2, SSE2 and NEON (and effectively use AVX2 on x86 and NEON in arm)
66+
3.1. Build with AVX2, SSE2 and NEON (and effectively use AVX2 on x86 and NEON in arm)
6267

6368
::
6469

6570
$ cmake .
6671

67-
2.2. Build with SSE2 only
72+
3.2. Build with SSE2 only
6873

6974
::
7075

7176
$ cmake . -DDISABLE_AVX2=1 -DDISABLE_NEON=1
7277

73-
2.3. Build with AVX2 only
78+
3.3. Build with AVX2 only
7479

7580
::
7681

7782
$ cmake . -DDISABLE_SSE2=1 -DDISABLE_NEON=1
7883

79-
2.4. Build with NEON only
84+
3.4. Build with NEON only
8085

8186
::
8287

8388
$ cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1
8489

85-
2.5. Build without SIMD
90+
3.5. Build without SIMD
8691

8792
::
8893

8994
$ cmake . -DDISABLE_SSE2=1 -DDISABLE_AVX2=1 -DDISABLE_NEON=1
9095

91-
3. Compile the package.
96+
4. Compile the package.
9297
::
9398

9499
$ make
95100

96-
4. Optionally, run trimAl/readAl with the examples into the 'dataset'
101+
5. Optionally, run trimAl/readAl with the examples into the 'dataset'
97102
directory to check the correct installation. It should return the original MSA.
98103
::
99104

0 commit comments

Comments
 (0)