From adabfa74ef4792f10e3cc9f8f7cef36aa56307b7 Mon Sep 17 00:00:00 2001 From: Carlos Une Date: Sat, 26 Jun 2021 02:12:48 -0300 Subject: install.sh, README.md: Update version number, single source file extension --- README.md | 6 +++--- install.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 69ae2ee..490d008 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ non-Fortran related package manager. __Note:__ On Linux and MacOS, you will need to enable executable permission before you can use the binary. -_e.g._ `$ chmod u+x fpm-v0.1.0-linux-x86_64` +_e.g._ `$ chmod u+x fpm-0.3.0-linux-x86_64` #### Conda @@ -105,8 +105,8 @@ To build manually using the single source distribution, run the following code ( ``` mkdir _tmp -curl -LJ https://github.com/fortran-lang/fpm/releases/download/v0.2.0/fpm-0.2.0.f90 > _tmp/fpm.f90 -gfortran -J _tmp _tmp/fpm.f90 -o _tmp/fpm +curl -LJ https://github.com/fortran-lang/fpm/releases/download/v0.3.0/fpm-0.3.0.F90 > _tmp/fpm.F90 +gfortran -J _tmp _tmp/fpm.F90 -o _tmp/fpm _tmp/fpm install --flag "-g -fbacktrace -O3" rm -r _tmp ``` diff --git a/install.sh b/install.sh index 6c51304..59a422a 100755 --- a/install.sh +++ b/install.sh @@ -42,7 +42,7 @@ done set -u # error on use of undefined variable -SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v0.2.0/fpm-0.2.0.f90" +SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v0.3.0/fpm-0.3.0.F90" BOOTSTRAP_DIR="build/bootstrap" if [ -z ${FC+x} ]; then FC="gfortran" @@ -62,9 +62,9 @@ else exit 1 fi -$FETCH $SOURCE_URL > $BOOTSTRAP_DIR/fpm.f90 +$FETCH $SOURCE_URL > $BOOTSTRAP_DIR/fpm.F90 -$FC $FFLAGS -J $BOOTSTRAP_DIR $BOOTSTRAP_DIR/fpm.f90 -o $BOOTSTRAP_DIR/fpm +$FC $FFLAGS -J $BOOTSTRAP_DIR $BOOTSTRAP_DIR/fpm.F90 -o $BOOTSTRAP_DIR/fpm $BOOTSTRAP_DIR/fpm install --compiler "$FC" --flag "$FFLAGS" --prefix "$PREFIX" rm -r $BOOTSTRAP_DIR -- cgit v1.2.3