From fba27c8e73358f20ad8fb10014d527bd3bf8e7f8 Mon Sep 17 00:00:00 2001 From: gareth-nx <82561769+gareth-nx@users.noreply.github.com> Date: Sun, 12 Dec 2021 20:46:45 +1100 Subject: [PATCH 1/3] Minor update to makefile installation instructions 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](https://github.com/fortran-lang/stdlib/issues/592#issuecomment-991863294). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 837aff087..733a23a27 100644 --- a/README.md +++ b/README.md @@ -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) From 45daa8e06cd12f1c1cf7a0ca6191aafff5fa5f4f Mon Sep 17 00:00:00 2001 From: gareth-nx <82561769+gareth-nx@users.noreply.github.com> Date: Sun, 12 Dec 2021 20:59:51 +1100 Subject: [PATCH 2/3] Update README.md provoke tests to run again. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 733a23a27..cf9dccffb 100644 --- a/README.md +++ b/README.md @@ -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" +make -f Makefile.manual ADD_FYPPFLAGS=-DMAXRANK=4 FC=gfortran FFLAGS="-O3 " ``` ### Build with [fortran-lang/fpm](https://github.com/fortran-lang/fpm) From 0548ae158ffa1a50fdb524aaf0c9d1204c10ff2d Mon Sep 17 00:00:00 2001 From: gareth-nx <82561769+gareth-nx@users.noreply.github.com> Date: Sun, 12 Dec 2021 21:01:31 +1100 Subject: [PATCH 3/3] Roll back update to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cf9dccffb..733a23a27 100644 --- a/README.md +++ b/README.md @@ -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 " +make -f Makefile.manual ADD_FYPPFLAGS=-DMAXRANK=4 FC=gfortran FFLAGS="-O3" ``` ### Build with [fortran-lang/fpm](https://github.com/fortran-lang/fpm)