Recently Written · git

cores

Save your custom core file after re-installing SBCL. Load libraries compiled into the core. Works but very rough around the edges.

git clone https://github.com/equwal/cores

Log | Files | Refs


config.lisp (1124 bytes)

1 (in-package :cl-user)
2 
3 (defvar *local-packages*
4   ;; Use lowercase strings in the packages here! For example:
5   '("utils" "quickwrap")
6   "Load into the core from local ASDF directories.")
7 
8 ;;; USE UPPERCASE STRINGS TO KEEP NAMESPACE CLEAN.
9 (defvar *quicklisp-packages*
10   '(;;; For sly
11     "SB-BSD-SOCKETS" "SB-POSIX" "SB-INTROSPECT" "SB-CLTL2"
12     "ASDF"
13     "SLYNK"
14     ;;; Personal choices
15     ;; Utilities
16     "ALEXANDRIA"    ;For lots of great utilities, very stable.
17     "UIOP"          ;Required by almost everyone.
18     "CL-PPCRE"      ;Regular expressions.
19     "QUICKPROJECT"  ;Generate new projects
20     "SWANK"
21     ;; Testing
22     "FIVEAM"        ;A great way to do testing with reader macros.
23     ;; Threading
24     "BORDEAUX-THREADS"    ;Portable threading.
25     )
26   "Load into core from quicklisp.")
27 
28 ;; Can only do this stuff once you've saved your own core
29 (sb-ext:set-sbcl-source-location (merge-pathnames #p"src/repos/sf/sbcl/sbcl"
30                                                   (user-homedir-pathname)))
31 
32 (pushnew  (merge-pathnames #p"common-lisp/" (user-homedir-pathname))
33           asdf:*central-registry*)