Skip to content
Snippets Groups Projects
Commit 36432b9b authored by Liam M. Healy's avatar Liam M. Healy
Browse files

Library path for Darwin + CCL per Yuan MEI

parent 7abb34b2
No related branches found
No related tags found
No related merge requests found
;; Load GSL ;; Load GSL
;; Liam Healy Sat Mar 4 2006 - 18:53 ;; Liam Healy Sat Mar 4 2006 - 18:53
;; Time-stamp: <2011-08-19 23:29:56EDT init.lisp> ;; Time-stamp: <2011-10-17 23:09:40EDT init.lisp>
;; ;;
;; Copyright 2006, 2007, 2008, 2009, 2010, 2011 Liam M. Healy ;; Copyright 2006, 2007, 2008, 2009, 2010, 2011 Liam M. Healy
;; Distributed under the terms of the GNU General Public License ;; Distributed under the terms of the GNU General Public License
...@@ -66,7 +66,9 @@ ...@@ -66,7 +66,9 @@
(merge-pathnames pn (pathname (format nil "~a/" (gsl-config "--prefix")))))) (merge-pathnames pn (pathname (format nil "~a/" (gsl-config "--prefix"))))))
(cffi:define-foreign-library libgslcblas (cffi:define-foreign-library libgslcblas
(:darwin #.(gsl-config-pathname "lib/libgslcblas.dylib")) (:darwin #+ccl #.(ccl:native-translated-namestring
(gsl-config-pathname "lib/libgslcblas.dylib"))
#-ccl #.(gsl-config-pathname "lib/libgslcblas.dylib"))
(:cygwin "cyggslcblas-0.dll") (:cygwin "cyggslcblas-0.dll")
(:unix (:or "libgslcblas.so.0" "libgslcblas.so")) (:unix (:or "libgslcblas.so.0" "libgslcblas.so"))
(t (:default "libgslcblas"))) (t (:default "libgslcblas")))
...@@ -80,7 +82,9 @@ ...@@ -80,7 +82,9 @@
(cffi:load-foreign-library "/lib/lapack/cygblas.dll") (cffi:load-foreign-library "/lib/lapack/cygblas.dll")
(cffi:define-foreign-library libgsl (cffi:define-foreign-library libgsl
(:darwin #. (gsl-config-pathname "lib/libgsl.dylib")) (:darwin #+ccl #.(ccl:native-translated-namestring
(gsl-config-pathname "lib/libgsl.dylib"))
#-ccl #.(gsl-config-pathname "lib/libgsl.dylib"))
(:cygwin "cyggsl-0.dll") (:cygwin "cyggsl-0.dll")
(:unix (:or "libgsl.so.0" "libgsl.so")) (:unix (:or "libgsl.so.0" "libgsl.so"))
(t (:default "libgsl"))) (t (:default "libgsl")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment