Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/interkosmos/fortran-git
Fortran 2008 interface bindings to libgit2
https://github.com/interkosmos/fortran-git
fortran fortran-package-manager fpm git libgit2
Last synced: about 19 hours ago
JSON representation
Fortran 2008 interface bindings to libgit2
- Host: GitHub
- URL: https://github.com/interkosmos/fortran-git
- Owner: interkosmos
- License: mit
- Created: 2021-09-20T14:35:56.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-27T15:20:56.000Z (over 1 year ago)
- Last Synced: 2024-01-29T14:28:23.017Z (9 months ago)
- Topics: fortran, fortran-package-manager, fpm, git, libgit2
- Language: Fortran
- Homepage:
- Size: 13.7 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fortran-git
A work-in-progress collection of Fortran 2008 ISO C binding interfaces to
[libgit2](https://github.com/libgit2/libgit2).## Build Instructions
Install *libgit2* either as a package or build the library from source with
CMake:```
$ git clone --depth 1 https://github.com/libgit2/libgit2
$ cd libgit2/
$ mkdir build && cd build/
$ cmake ..
$ cmake --build .
```This step creates the shared library `libgit2.so.*` in directory `./build/`.
Link against the library and the header files in `./include/` (if not installed
globally).Clone the *fortran-git* repository and build the static library
`libfortran-git.a` (containing the Fortran interface bindings), either with
*fpm* or GNU/BSD make:```
$ git clone --depth 1 https://github.com/interkosmos/fortran-git
$ cd fortran-git/
$ fpm build
```With make instead:
```
$ make FC=ifort
```The default compiler is set to `gfortran`.
## Licence
MIT