diff options
author | dos-reis <gdr@axiomatics.org> | 2011-04-12 02:36:48 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-04-12 02:36:48 +0000 |
commit | e10a5af76582abff22adc43658c06914ddb3543f (patch) | |
tree | c6196bec905cd12d0729a8a07c2b0cfeff660aec | |
parent | e663f5f211469940ee2403f7cb18b29e3ab597bb (diff) | |
download | open-axiom-e10a5af76582abff22adc43658c06914ddb3543f.tar.gz |
* lisp/core.lisp.in: Include SB-SPROF when profiling SBCL-based build.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/lisp/core.lisp.in | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1f3b28ef..c59290c8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-04-11 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * lisp/core.lisp.in: Include SB-SPROF when profiling SBCL-based build. + 2011-04-10 Gabriel Dos Reis <gdr@cs.tamu.edu> * lisp/core.lisp.in (compileLispFile): Tell ECL that the linker is diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in index f746c4c1..0493d884 100644 --- a/src/lisp/core.lisp.in +++ b/src/lisp/core.lisp.in @@ -151,6 +151,10 @@ ;; Enablig profiling of generated Lisp codes. (defconstant |$EnableLispProfiling| @oa_enable_profiling@) +(eval-when (:compile-toplevel :load-toplevel :execute) + (when |$EnableLispProfiling| + (progn #+sbcl (require :sb-sprof)))) + ;; Return true if the full OpenAxiom algebra system is completed ;; built. (defun |%algebraSystemIsComplete| nil |