Skip to content

interkosmos/fortran-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fortran-git

A work-in-progress collection of Fortran 2008 ISO C binding interfaces to 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

About

Fortran 2008 interface bindings to libgit2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published