File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,25 @@ Alternatively, you can build using provided Makefiles:
6666make -f Makefile.manual
6767```
6868
69+ ## Limiting the maximum rank of generated procedures
70+
71+ Stdlib's preprocessor (fypp) by default generates specific procedures for arrays of all ranks, up to rank 15.
72+ This can result in long compilation times and, on some computers, exceeding available memory.
73+ If you know that you won't need all 15 ranks, you can specify the maximum rank for which the specific procedures will be generated.
74+ For example, with CMake:
75+
76+ ``` sh
77+ cmake -B build -DCMAKE_MAXIMUM_RANK=4
78+ cmake --build build
79+ cmake --build build --target test
80+ ```
81+ or as follows with ` make ` :
82+
83+ ``` sh
84+ make -f Makefile.manual FYPPFLAGS=-DMAXRANK=4
85+ ```
86+ Note that currently the minimum value for maximum rank is 4.
87+
6988## Documentation
7089
7190Documentation is a work in progress (see issue #4 ) but is currently available at https://stdlib.fortran-lang.org .
You can’t perform that action at this time.
0 commit comments