Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
28f24fa8
by Raymond Toy at 2024-12-16T16:11:03+00:00
-
adac84ea
by Raymond Toy at 2024-12-16T16:11:07+00:00
4 changed files:
- bin/make-main-dist.sh
- bin/run-unit-tests.sh
- src/code/generic-site.lisp → src/code/default-site-init.lisp
- src/code/save.lisp
Changes:
... | ... | @@ -148,7 +148,7 @@ install ${GROUP} ${OWNER} -m 0755 src/tools/load-foreign.csh src/tools/config \ |
148 | 148 | $DESTDIR/lib/cmucl/lib/
|
149 | 149 | install ${GROUP} ${OWNER} -m 0644 src/tools/config.lisp \
|
150 | 150 | $DESTDIR/lib/cmucl/lib/
|
151 | -install ${GROUP} ${OWNER} -m 0644 src/code/generic-site.lisp \
|
|
151 | +install ${GROUP} ${OWNER} -m 0644 src/code/default-site-init.lisp \
|
|
152 | 152 | $DESTDIR/lib/cmucl/lib/
|
153 | 153 | install ${GROUP} ${OWNER} -m 0644 $TARGET/lisp/lisp.nm $TARGET/lisp/lisp.map \
|
154 | 154 | $TARGET/lisp/internals.h $TARGET/lisp/internals.inc $DESTDIR/lib/cmucl/
|
... | ... | @@ -54,7 +54,7 @@ trap cleanup EXIT |
54 | 54 | |
55 | 55 | if [ $# -eq 0 ]; then
|
56 | 56 | # No args so run all the tests
|
57 | - $LISP -noinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)'
|
|
57 | + $LISP -nositeinit -noinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)'
|
|
58 | 58 | else
|
59 | 59 | # Run selected files. Convert each file name to uppercase and append "-TESTS"
|
60 | 60 | result=""
|
... | ... | @@ -63,6 +63,6 @@ else |
63 | 63 | new=`echo $f | tr '[a-z]' '[A-Z]'`
|
64 | 64 | result="$result "\"$new-TESTS\"
|
65 | 65 | done
|
66 | - $LISP -noinit -load tests/run-tests.lisp -eval "(progn (cmucl-test-runner:load-test-files) (cmucl-test-runner:run-test $result))"
|
|
66 | + $LISP -nositeinit -noinit -load tests/run-tests.lisp -eval "(progn (cmucl-test-runner:load-test-files) (cmucl-test-runner:run-test $result))"
|
|
67 | 67 | fi
|
68 | 68 |
... | ... | @@ -5,28 +5,20 @@ |
5 | 5 | ;;; Carnegie Mellon University, and has been placed in the public domain.
|
6 | 6 | ;;;
|
7 | 7 | (ext:file-comment
|
8 | - "$Header: src/code/generic-site.lisp $")
|
|
8 | + "$Header: src/code/default-site-init.lisp $")
|
|
9 | 9 | ;;;
|
10 | 10 | ;;; **********************************************************************
|
11 | 11 | ;;;
|
12 | -;;; This file is installed as "library:site-init" in binary
|
|
13 | -;;; distributions of CMUCL.
|
|
12 | +;;; This is the default site init file and should be installed as
|
|
13 | +;;; "library:default-site-init". This file is used only if
|
|
14 | +;;; "library:site-init" does not exist.
|
|
15 | + |
|
14 | 16 | ;;;
|
15 | 17 | (in-package "SYSTEM")
|
16 | 18 | |
17 | 19 | ;;; Put your site name here...
|
18 | -(setq *short-site-name* "Unknown")
|
|
19 | -(setq *long-site-name* "Site name not initialized")
|
|
20 | - |
|
21 | -;;; We would appreciate it if each site establishes a local maintainer who can
|
|
22 | -;;; filter bug reports from novice users to make sure that they really have
|
|
23 | -;;; found a bug. Fill in the maintainer's address here..
|
|
24 | -(when *herald-items*
|
|
25 | - (rplaca
|
|
26 | - (cdr (member :bugs *herald-items*))
|
|
27 | - '("Send questions and bug reports to your local CMUCL maintainer, " terpri
|
|
28 | - "or see <http://www.cmucl.org/support.html>." terpri
|
|
29 | - "Loaded subsystems:" terpri)))
|
|
20 | +;; (setq *short-site-name* "Unknown")
|
|
21 | +;; (setq *long-site-name* "Site name not initialized")
|
|
30 | 22 | |
31 | 23 | ;;; If you have sources installed on your system, un-comment the following form
|
32 | 24 | ;;; and change it to point to the source location. This will allow the Hemlock
|
... | ... | @@ -47,14 +39,6 @@ |
47 | 39 | ;;;
|
48 | 40 | ;;; If your sources are located somewhere else, change this
|
49 | 41 | ;;; accordingly.
|
50 | -#|
|
|
51 | 42 | (setf (search-list "target:")
|
52 | - (list
|
|
53 | - (namestring
|
|
54 | - (make-pathname
|
|
55 | - :directory (pathname-directory
|
|
56 | - (merge-pathnames (make-pathname
|
|
57 | - :directory '(:relative :up :up
|
|
58 | - :up "src"))
|
|
59 | - (pathname lisp::*cmucl-core-path*)))))))
|
|
60 | -|# |
|
43 | + '("library:../src/"))
|
|
44 | + |
... | ... | @@ -348,7 +348,8 @@ |
348 | 348 | (when (and site-init
|
349 | 349 | (not (and process-command-line
|
350 | 350 | (find-switch "nositeinit"))))
|
351 | - (load site-init :if-does-not-exist nil :verbose nil))
|
|
351 | + (or (load site-init :if-does-not-exist nil :verbose nil)
|
|
352 | + (load "library:default-site-init" :if-does-not-exist nil :verbose nil)))
|
|
352 | 353 | (when (and process-command-line (find-switch "edit"))
|
353 | 354 | (setf *editor-lisp-p* t))
|
354 | 355 | (when (and load-init-file
|