-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmlep-add.asd
29 lines (26 loc) · 1.08 KB
/
mlep-add.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(defpackage :mlep-add-asd
(:use :cl :asdf))
(defsystem :mlep-add
:name "mlep-add"
:version "0.0.1"
:maintainer "Frank Zalkow <[email protected]>"
:author "Frank Zalkow <[email protected]>"
:licence "The MIT License <http://opensource.org/licenses/MIT>"
:description
"Additional algorithms for cl-mlep that violate its non-dependency-claim."
:description
"Additional algorithms for cl-mlep that violate its non-dependency-claim."
:depends-on (:mlep :cffi :lla :num-utils)
:serial t
:pathname #P"src/additional/"
:components ((:file "package")
(:file "pca")))
; even though the CFFI manual states that you not have to use
; CFFI:*FOREIGN-LIBRARY-DIRECTORIES* I need it to contain the
; directory for my dynlibs
(defmethod perform :after ((op load-op) c)
(if (string-equal (slot-value c 'asdf::name) "cffi")
(let ((libsdir (intern "*FOREIGN-LIBRARY-DIRECTORIES*" :cffi))
(libpath #P"/usr/lib/"))
(pushnew libpath (symbol-value libsdir)))))