Files
sbcl/sbclrc.sample
Togan Muftuoglu eabb808ab9 Accepting request 144825 from home:toganm:branches:devel:languages:misc
- Update to 1.1.2 version
  * Enhancements:
    + frlocks have been added to SB-CONCURRENCY contrib
      module.
    + New feature sb-dynamic-core allows the runtime to
      be rebuilt or relocated without requiring changes to the core
      file on all linkage table platforms. Required on Windows.
      (Thanks to Anton Kovalenko.)
    + Console I/O streams use UCS-2. (Thanks to Anton Kovalenko.)
    + Support for the experimental safepoint-based stop-the-world
       protocol on the PowerPC platform.
  * Windows related bug fixes:
- Use sbcl in buildrequires instead of clisp since the package is
  now available in Factory as well
  * Added sbclrc.sample and README.openSUSE which explains the usage
    of the sample init file usage with sbcl 
  * Patched install.sh to install the above
    (sbcl-1.1.2-install.patch)
  * use the customize-target-features.lisp to enable/disable
    features
  * disable test-frfrlock sb-concurrency by allowing it to fail on
    linux see https://bugs.launchpad.net/sbcl/+bug/1087955
   (sbcl-disable-frlock-test.patch)

OBS-URL: https://build.opensuse.org/request/show/144825
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/sbcl?expand=0&rev=20
2012-12-09 12:37:46 +00:00

36 lines
1.3 KiB
Plaintext

;;; sample sbclrc
(ignore-errors (require 'sb-aclrepl))
(when (find-package 'sb-aclrepl)
(push :aclrepl cl:*features*))
#+aclrepl
(progn
(setq sb-aclrepl:*max-history* 100)
(setf (sb-aclrepl:alias "asdc")
#'(lambda (sys) (asdf:operate 'asdf:compile-op sys)))
(sb-aclrepl:alias "l" (sys) (asdf:operate 'asdf:load-op sys))
(sb-aclrepl:alias "t" (sys) (asdf:operate 'asdf:test-op sys))
;; The 1 below means that two characaters ("up") are required
(sb-aclrepl:alias ("up" 1 "Use package") (package) (use-package package))
;; The 0 below means only the first letter ("r") is required,
;; such as ":r base64"
(sb-aclrepl:alias ("require" 0 "Require module") (sys) (require sys))
(setq cl:*features* (delete :aclrepl cl:*features*)))
;;
;;
;; The following snippet handles fasl recompilation automatically for
;; ASDF-based systems (for more details see the sbcl info 2.3.2 FASL
(require :asdf)
;;; If a fasl was stale, try to recompile and load (once).
(defmethod asdf:perform :around ((o asdf:load-op)
(c asdf:cl-source-file))
(handler-case (call-next-method o c)
;; If a fasl was stale, try to recompile and load (once).
(sb-ext:invalid-fasl ()
(asdf:perform (make-instance 'asdf:compile-op) c)
(call-next-method))))