Changeset 25375 in project


Ignore:
Timestamp:
10/18/11 20:57:05 (9 years ago)
Author:
Ivan Raikov
Message:

bvsp-spline: use fortran flags supplied via environment variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/bvsp-spline/trunk/bvsp-spline.setup

    r25173 r25375  
    44  (make-pathname #f fn ##sys#load-dynamic-extension))   
    55
     6(define fortran-compiler (or (get-environment-variable "FORTRAN_COMPILER") "gfortran"))
     7(define fortran-flags (or (get-environment-variable "FORTRAN_FLAGS") "-fno-automatic"))
    68
    7 (run (gfortran  -fno-automatic -c bvspis/Src/Dp/src.f -o dbvspis.o))
    8 (compile -O3 -d0 -S -s bvsp-spline.scm dbvspis.o -j bvsp-spline -lgfortran)
     9(define fortran-libs (or (get-environment-variable "FORTRAN_LIBS") "-lgfortran"))
     10
     11(run (,fortran-compiler  ,fortran-flags -c bvspis/Src/Dp/src.f -o dbvspis.o))
     12(compile -O3 -d0 -S -s bvsp-spline.scm dbvspis.o -j bvsp-spline ,fortran-libs)
    913(compile -O3 -d0 -s bvsp-spline.import.scm)
    1014
Note: See TracChangeset for help on using the changeset viewer.