ASDF & modular smoke.
cxx.lisp
Sun Jan 10 11:16:40 CET 2010 Tobias Rautenkranz <tobias@rautenkranz.ch>
* ASDF & modular smoke.
--- old-benchmark/cxx.lisp 2014-10-30 07:06:44.000000000 +0100
+++ new-benchmark/cxx.lisp 2014-10-30 07:06:44.000000000 +0100
@@ -1,6 +1,13 @@
(in-package :cl-smoke.benchmark)
-(use-foreign-library libcl-smoke-benchmark)
+(define-foreign-library libcl-smoke-benchmark
+ (t (:default "libcl-smoke-benchmark")))
+
+(let ((*foreign-library-directories*
+ (cons (asdf:component-pathname (asdf:find-system :cl-smoke.benchmark))
+ *foreign-library-directories*)))
+ (use-foreign-library libcl-smoke-benchmark))
+
(defctype size-t :unsigned-int)
(declaim (inline cl-smoke-benchmark-byte-array-size))