Skip to content

Commit

Permalink
Minor update to makefile installation instructions
Browse files Browse the repository at this point in the history
This removes the use of the option `-flto` in the instructions to compile with a Makefile.

The reason for doing that is that currently, `-flto` can cause some tests to break - see [discussion here](#592 (comment)).
  • Loading branch information
gareth-nx authored Dec 12, 2021
1 parent d58f77d commit fba27c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ make -f Makefile.manual ADD_FYPPFLAGS=-DMAXRANK=4

You can also specify the compiler and compiler-flags by setting the ``FC`` and ``FFLAGS`` environmental variables. Among other things, this facilitates use of compiler optimizations that are not specified in the Makefile.manual defaults.
```sh
make -f Makefile.manual ADD_FYPPFLAGS=-DMAXRANK=4 FC=gfortran FFLAGS="-O3 -flto"
make -f Makefile.manual ADD_FYPPFLAGS=-DMAXRANK=4 FC=gfortran FFLAGS="-O3"
```

### Build with [fortran-lang/fpm](https://github.com/fortran-lang/fpm)
Expand Down

0 comments on commit fba27c8

Please sign in to comment.