source: project/release/4/mathh/trunk/mathh.setup @ 35160

Last change on this file since 35160 was 35160, checked in by kon, 13 months ago

windows math.h has log2, log1p, erf, erfc, scalbn so remove statics

File size: 1.2 KB
Line 
1;;;; "mathh.setup  -*- Hen -*-
2
3(use setup-helper-mod)
4
5(verify-extension-name "mathh")
6
7(define mathh-compile-options `(
8  -local -no-procedure-checks
9  ,@(cond-expand
10      (linux    '(-C -D_ISOC99_SOURCE) ) ;_GNU_SOURCE instead?
11      (else     '() ) ) ) )
12
13;* (The compiler option '-inline-global' causes problems; so no -O3+.)
14(setup-shared+static-extension-module (extension-name) (extension-version "3.3.3")
15  ;cannot be inline #1340
16  ;#:inline? #t
17  #:types? #t
18  #:compile-options mathh-compile-options
19  #:files '("mathh-constants.scm"))
20
21(setup-shared+static-extension-module 'mathh-consts (extension-version "3.3.3")
22  #:inline? #t
23  #:types? #t
24  #:compile-options `(
25    -scrutinize
26    -optimize-level 3 -debug-level 1
27    -no-bound-checks -no-argc-checks -no-procedure-checks))
28
29(setup-shared+static-extension-module 'fp-utils (extension-version "3.3.3")
30  #:inline? #t
31  #:types? #t
32  #:compile-options `(
33    -scrutinize
34    -optimize-level 3 -debug-level 1
35    -no-procedure-checks))
36
37(setup-shared+static-extension-module 'fx-utils (extension-version "3.3.3")
38  #:inline? #t
39  #:types? #t
40  #:compile-options `(
41    -scrutinize
42    -optimize-level 3 -debug-level 1
43    -no-procedure-checks))
Note: See TracBrowser for help on using the repository browser.