From e10a5af76582abff22adc43658c06914ddb3543f Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 12 Apr 2011 02:36:48 +0000 Subject: * lisp/core.lisp.in: Include SB-SPROF when profiling SBCL-based build. --- src/ChangeLog | 4 ++++ src/lisp/core.lisp.in | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'src') 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 + + * lisp/core.lisp.in: Include SB-SPROF when profiling SBCL-based build. + 2011-04-10 Gabriel Dos Reis * 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 -- cgit v1.2.3