Changeset 30973 in project


Ignore:
Timestamp:
06/06/14 13:29:38 (6 years ago)
Author:
Ivan Raikov
Message:

flsim: removing installation of library files/ platform-specific preludes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/flsim/trunk/flsim.setup

    r30915 r30973  
    44  (make-pathname #f fn ##sys#load-dynamic-extension))   
    55
    6 (define version 3.3)
     6(define version 4.0)
    77
    88(use make)
     
    3232    ))
    3333
    34 
    35 (make (
    36        ((dynld-name "runge-kutta") ("runge-kutta.scm" )
    37         (compile -O2 -S -s runge-kutta.scm -j runge-kutta))
    38 
    39        ((dynld-name "runge-kutta.import") ("runge-kutta.import.scm")
    40         (compile -O2 -S -s runge-kutta.import.scm))
    41        )
    42 
    43   (list (dynld-name "runge-kutta")
    44         (dynld-name "runge-kutta.import"))
    45   )
    46 
    47 (install-extension
    48 
    49   ; Name of your extension:
    50   'runge-kutta
    51 
    52   ; Files to install for your extension:
    53   `(,(dynld-name "runge-kutta") ,(dynld-name "runge-kutta.import") )
    54 
    55   ; Assoc list with properties for your extension:
    56   `((version ,version)
    57     ))
    58 
    59 
    60 ;; From setup-header.scm by Kon Lovett
    61 
    62 (define (installation-chicken-home)
    63   (if (not (installation-prefix)) (chicken-home)
    64     (make-pathname `(,(installation-prefix) "share") "chicken") ) )
    65 
    66 ;;; Constants & Procedures
    67 
    68 (define SHARED-DIR (installation-chicken-home))
    69 (define FLSIM-DIR (make-pathname SHARED-DIR "flsim"))
    70 
    71 ;; File Copy Operations
    72 
    73 (define (copy-file-to-flsim-dir fn)
    74   (let ([fn (->string fn)])
    75     (copy-file fn (make-pathname FLSIM-DIR fn)) ) )
    76 
    77 (copy-file-to-flsim-dir "sml-lib/rk/rk.sml")
    78 (copy-file-to-flsim-dir "sml-lib/rk/rk.mlb")
    79 
    80 (copy-file-to-flsim-dir "sml-lib/randmtzig/randmtziglib.c")
    81 (copy-file-to-flsim-dir "sml-lib/randmtzig/randmtzig.sml")
    82 (copy-file-to-flsim-dir "sml-lib/randmtzig/randmtzig.mlb")
    83 
    84 (copy-file-to-flsim-dir "sml-lib/tensor/DynArray.sml")
    85 (copy-file-to-flsim-dir "sml-lib/tensor/tensor.sml")
    86 (copy-file-to-flsim-dir "sml-lib/tensor/sparse.sml")
    87 (copy-file-to-flsim-dir "sml-lib/tensor/tensor.mlb")
    88 (copy-file-to-flsim-dir "sml-lib/tensor/sparse.mlb")
    89 
    90 
    91 (copy-file-to-flsim-dir "octave-lib/ode15s.m")
Note: See TracChangeset for help on using the changeset viewer.