aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-03Merge branch 'compiler' of https://github.com/urbanjost/fpm into compilerinit current directory[i]
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_compiler.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update fpm/src/fpm_command_line.f90urbanjost
Co-authored-by: Laurence Kedward <laurence.kedward@bristol.ac.uk>
2020-12-03Update example package for indirect module useLKedward
Update hello_complex_2 example package to add a non-library module that is indirectly used by an app in the same directory.
2020-12-03Update: dependency tests for updated resolve_target_linkingLKedward
Add checks on the link object lists built for archives and executables in 'resolve_target_linking'
2020-12-03Fix: enumeration of executable link objectsLKedward
Adds missing recursive discovery of non-library dependency objects for executable link object lists
2020-12-02erratainit current directory[i]
2020-12-02Merge pull request #248 from LKedward/incremental2Laurence Kedward
Refactor backend for incremental rebuilds
2020-12-01Merge pull request #262 from everythingfunctional/add_flag_to_default_setBrad Richardson
Add -fcoarray=single to default gfortran flags
2020-12-01Merge pull request #260 from LKedward/fix-release-testingLaurence Kedward
Fix CI to test release build
2020-12-01Separate CI job steps for debug and release buildsLKedward
2020-11-30feat: add -fcoarray=single to default gfortran flagsBrad Richardson
2020-11-30Merge pull request #259 from awvwgk/readmeMilan Curcic
Reorder README to focus on the Fortran fpm version
2020-11-30Simplify bootstrapping instructionsSebastian Ehlert
2020-11-30Add --static flag back to binary releasesLKedward
2020-11-30Bump patch number for new releaseLKedward
2020-11-30Fixes: for Windows release build using mingw-w64-gcc 8.1.0 LKedward
Workaround for compiler bug when building Windows release. Update M_CLI2 revision to include same fix.
2020-11-30Update CI.ymlLaurence Kedward
2020-11-30Update: CI to also test release versionLKedward
2020-11-29new M_CLI2init current directory[i]
2020-11-29suggested changesinit current directory[i]
2020-11-29Rewrite README to focus on the Fortran fpm versionSebastian Ehlert
- describe complete bootstapping process in collapsed details section
2020-11-28Changes for reviewLKedward
Lowercase openmp pragmas
2020-11-27Merge pull request #1 from LKedward/compiler-cleanupurbanjost
Remove white-space changes from compiler branch for PR
2020-11-27Remove white-space changes from compiler branch for PRLKedward
2020-11-27The `run`, `test`, and `build` Fortran fpm(1) command has a new switchinit current directory[i]
added called *--fc* that sets the Fortran compiler name. + The default compiler name to use is taken from the value of the environment variable FPM_FC. + If not set, the environment variable FC is used. + If it is not set the name _gfortran_ is used. + The value specified on the command line overrides any default. FC is apparently a commonly used environment variable for the compiler, is short, and allows for specifying compilers for other languages like C (ie. `-cc gcc`) That is part of the reasons to use `--fc` instead of `--compiler`. Since there is a chance the currently set value of FC may be used by other applications being used, and to allow for a temporary change of the default the fpm-specific variable FPM_FC is supported in addition to FC and has higher precedence. However, since the Haskell version has a similar switch called **--compiler** that name is an alias for **-fc**. A skeleton was started for standard debug and release builds that allows for compilers other than **gfortran**. I now have access to **ifort** and **nvfortran** and it works with at least simple cases for those compilers. Looking for someone with access to other compilers to help flesh that out. The list of executables to run with the `run` and `test` subcommands can now be prefixed with **--target**, as with the Haskell version of ffpm(1). So default usage is unchanged from the previous version. By simply setting FC or FPM_FC you can use it like the previous version with other compilers for default debug and release builds. How does that sound? wget http://www.urbanjost.altervista.org/REMOVE/ffpm.f90 gfortran ffpm.f90 -o $HOME/.local/bin/ffpm ``` # get a test package or use your own if [ ! -d M_CLI2 ] then git clone https://github.com/urbanjost/M_CLI2 fi cd M_CLI2 # default build using ifort ffpm build --fc ifort export FPM_FC=ifort ffpm run ffpm test
2020-11-25Merge pull request #246 from LKedward/release_buildsLaurence Kedward
CI: upload binaries when a release is published
2020-11-25Merge pull request #239 from urbanjost/runnerLaurence Kedward
Add --runner option to Fortran fpm to match Haskell fpm
2020-11-25Merge branch 'master' into incremental2Laurence Kedward
2020-11-25Add: testsuite for backend build scheduling routinesLKedward
2020-11-25Merge pull request #247 from awvwgk/manifestLaurence Kedward
Refactoring of manifest types
2020-11-23Minor fix: for link flag concatenationLKedward
2020-11-23Cleanup and refactor for PRLKedward
Move enumeration of link target object dependencies out of backend and into fpm_targets module. Add string_cat function for concatenating arrays of string_t. Add comments and procedure descriptions.
2020-11-22Minor fix: explicitly specify .exe suffix in windows.Laurence Kedward
2020-11-21better examples for --runner and errata per @awvwgkinit current directory[i]
2020-11-21Refactor: backend build schedulingLKedward
Separate build targets into schedule regions for parallel builds.
2020-11-21correct non-standard logical formatinit current directory[i]
2020-11-21Update: run command for incremental rebuildsLKedward
2020-11-21Refactor: backend for incremental rebuildingLKedward
2020-11-21Update: source processing with file hashesLKedward
2020-11-21Add: simple string hashing functionsLKedward
2020-11-21Refactoring of manifest typesSebastian Ehlert
- move defaults from fpm to fpm_manifest - rename all manifest types from *_t to *_config_t - instance names correspond to table names in manifest