From 6cee762bdb7592fa4ee453327a7969b833940583 Mon Sep 17 00:00:00 2001 From: jalvesz Date: Fri, 5 Jan 2024 20:12:28 +0100 Subject: [PATCH 1/3] Add CLI option for building with fpm --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6aa3f902c..3764507e5 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,13 @@ git checkout stdlib-fpm fpm build --profile release ``` +Or alternatively: +```sh +source ./ci/fpm-deployment.sh +cd stdlib-fpm/ +fpm build --profile release +``` + You can run the examples with `fpm` as: ```sh From 10c757e5401de0d1c377705e28a3b468744bf6d5 Mon Sep 17 00:00:00 2001 From: jalvesz Date: Sat, 6 Jan 2024 16:32:18 +0100 Subject: [PATCH 2/3] add note to the alternative fpm build instructions --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3764507e5..acb7c16e9 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,8 @@ git checkout stdlib-fpm fpm build --profile release ``` -Or alternatively: +**Alternative**: as fpm does not currently support fypp natively, building stdlib is done in two steps (a) launch the preprocessor through the fpm-deployment.sh script, which creates a subfolder `stdlib-fpm` (b) build the project using the processed files within the latter subfolder. Which can be done with the following commands: + ```sh source ./ci/fpm-deployment.sh cd stdlib-fpm/ From 5bccf62f7fb8ed6e266cd96d7df7bac8fbcde0b0 Mon Sep 17 00:00:00 2001 From: jalvesz <102541118+jalvesz@users.noreply.github.com> Date: Sun, 7 Jan 2024 15:52:16 +0100 Subject: [PATCH 3/3] Update README.md Co-authored-by: Jeremie Vandenplas --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index acb7c16e9..671fd288a 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ git checkout stdlib-fpm fpm build --profile release ``` -**Alternative**: as fpm does not currently support fypp natively, building stdlib is done in two steps (a) launch the preprocessor through the fpm-deployment.sh script, which creates a subfolder `stdlib-fpm` (b) build the project using the processed files within the latter subfolder. Which can be done with the following commands: +**Alternative**: as `fpm` does not currently support `fypp` natively, building `stdlib` with `fpm` can be done in two steps: a) launch the preprocessor through the `fpm-deployment.sh` script, which creates a subfolder `stdlib-fpm` and b) build the project using the processed files within the latter subfolder. This process can be done with the following commands: ```sh source ./ci/fpm-deployment.sh