Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 0.952 kB

Heroku buildpack: FORTRAN-77

This is a Heroku buildpack for FORTRAN-77 apps. Apps need to be compiled using the included f2c FORTRAN to C tranlator. It uses Make.

Usage

Example usage:

$ ls
Makefile myapp.f

$ heroku create --stack cedar --buildpack http://github.com/martinrehfeld/heroku-buildpack-f77.git

$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> f77 app detected
-----> Fetching f2c binaries
-----> Setting up build environment
-----> Compiling with Make
       f2c myapp.f
       gcc -o myapp myapp.c -lf2c

The buildpack will detect your app as FORTRAN-77 if it has the file Makefile in the root. It will then run make to compile the app (see examples/Makefile for a template).

Jump to Line
Something went wrong with that request. Please try again.