[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Blas egg - support for atlas
From: |
Stu Glaser |
Subject: |
[Chicken-users] Blas egg - support for atlas |
Date: |
Wed, 15 Nov 2006 22:37:14 -0600 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061113) |
Hi all,
The blas egg only had support for gsl. I have changed it so that it
works for atlas also. I don't know where to send the new version, so
I've placed it at the bottom of this email.
-Stu
==================================================================
;;;; blas.setup
(define ld-options
(cond ((test-compile
"#include <gsl/gsl_cblas.h>\nint main() { cblas_ddot(0, 0, 0, 0, 0);
return 0; }\n"
ldflags: "-lgsl -lgslcblas -lm")
"-lgsl -lgslcblas -lm")
((test-compile
"#include <atlas/cblas.h>\nint main() { cblas_ddot(0, 0, 0,
0, 0); return 0; }\n"
ldflags: "-lcblas -lm")
"-lcblas -lm")
(else (error "unable to figure out BLAS library")) ) )
(compile -s -O2 -d0 blas.scm -emit-exports blas.exports -L "\""
,ld-options "\"" -X easyffi)
(install-extension
'blas
"blas.so"
'((version 1.3)
(documentation "blas.html")
(exports "blas.exports") ) )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] Blas egg - support for atlas,
Stu Glaser <=