Commit 6bf0f27d authored by Boxiang Sun's avatar Boxiang Sun

Add f2c compiler to slapsos

f2c is a compiler which compile Fortran code to C code
parent 52a3e4af
[buildout]
parts =
f2c
[libf2c]
recipe = slapos.recipe.cmmi
url = http://www.netlib.org/f2c/libf2c.zip
configure-command = cp makefile.u Makefile
make-binary =
make-targets = make && export LIBDIR=${:location} && make install
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[f2c]
recipe = slapos.recipe.cmmi
url = http://www.netlib.org/f2c/src.tgz
configure-command = cp makefile.u Makefile
make-binary =
make-targets = make && cp f2c ${:location}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
environment =
CPPFLAGS=-I${libf2c:location}/include
LDFLAGS=-L${libf2c:location}/lib
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment