sb-manual: don't use version controlled symlinks
Some checks are pending
CL-host / ecl (push) Waiting to run
CL-host / clisp (push) Waiting to run
CL-host / ccl (push) Waiting to run
CL-host / cmucl (push) Waiting to run
CL-host / sbcl (push) Waiting to run
CL-host / compare-xc-host-fasls (ccl, false) (push) Blocked by required conditions
CL-host / compare-xc-host-fasls (clisp, false) (push) Blocked by required conditions
CL-host / compare-xc-host-fasls (cmucl, false) (push) Blocked by required conditions
CL-host / compare-xc-host-fasls (self, false) (push) Blocked by required conditions
Linux arm / build (push) Waiting to run
Linux arm64 / build () (push) Waiting to run
Linux qemu / build (ppc64le) (push) Waiting to run
Linux qemu / build (riscv64) (push) Waiting to run
Linux / build (x86, --with-sb-thread, ) (push) Waiting to run
Linux / build (x86, --without-sb-thread, ) (push) Waiting to run
Linux / build (x86, --without-sb-unicode, ) (push) Waiting to run
Linux / build (x86-64, --with-mark-region-gc --with-nonstop-foreign-call) (push) Waiting to run
Linux / build (x86-64, --with-sb-fasteval --without-sb-eval --with-nonstop-foreign-call, fasteval) (push) Waiting to run
Linux / build (x86-64, --with-sb-thread --with-nonstop-foreign-call --with-tls-based-mv-return, sse4) (push) Waiting to run
Mac / build (x86-64, --with-mark-region-gc --with-nonstop-foreign-call) (push) Waiting to run
Mac / build (x86-64, --with-sb-thread --with-nonstop-foreign-call) (push) Waiting to run
Windows arm64 / build (arm64, clang-aarch64, clangarm64) (push) Waiting to run
Windows / build (x86-64, ucrt-x86_64, ucrt64) (push) Waiting to run
Linux / build (x86-64, --with-sb-thread, ) (push) Waiting to run
Linux / build (x86-64, --without-sb-thread, ) (push) Waiting to run
Linux / build (x86-64, --without-sb-unicode, ) (push) Waiting to run
Mac / build (arm64, --with-mark-region-gc --with-nonstop-foreign-call) (push) Waiting to run
Mac / build (arm64, --with-sb-thread --with-nonstop-foreign-call) (push) Waiting to run

They are a hassle on Windows.
This commit is contained in:
Gabor Melis 2026-08-31 08:21:52 +02:00
parent ce95b400c9
commit 9c2cbbd7d1
17 changed files with 28 additions and 33 deletions

View file

@ -74,10 +74,7 @@ good place to test that they still exist, etc.
Each package should provide documentation in SB-MANUAL format. For the
documentation to be included in the SBCL manual, you must
- symlink contrib/sb-manual/doc/<some-contrib>/manual.lisp to
contrib/<some-contrib>/manual.lisp,
- add the symlink to contrib/sb-manual/sb-manual.asd,
- add the relevant file to contrib/sb-manual/sb-manual.asd,
- modify SB-MANUAL::*PAGES*.

View file

@ -46,6 +46,15 @@
(unless (= result 0) (error "C execution failed")))))))
(defparameter +genfile+ "generated-constants")
(defun resolve-up-directory-components (pathname-directory)
(let ((result ()))
(dolist (c pathname-directory)
(if (eq c :up)
(pop result)
(push c result)))
(nreverse result)))
(defun logicalize (path generated)
(make-pathname :host "SYS"
:directory
@ -53,8 +62,9 @@
(if generated
(list "OBJ" "FROM-SELF" "CONTRIB" *system*)
(list* "CONTRIB"
(append (last (pathname-directory *default-pathname-defaults*))
(cdr (pathname-directory path))))))
(resolve-up-directory-components
(append (last (pathname-directory *default-pathname-defaults*))
(cdr (pathname-directory path)))))))
:name (pathname-name path)
:type (pathname-type path)))

View file

@ -2,8 +2,7 @@
Currently, `sb-manual` loads *all* contribs to be able to query
the definition docstrings. Each contrib directory has a
`manual.lisp` file, which is part of the `sb-manual` contrib (the
files are symlinked).
`manual.lisp` file, which is part of the `sb-manual` contrib.
On the positive side, this does not load extra stuff until the
user `require`s `sb-manual`. However, then it loads all contribs.

View file

@ -16,5 +16,5 @@
(@sb-posix section)
(@sb-queue section)
(@sb-rotate-byte section)
#+(or :x86-64 :arm64)
(@sb-simd section))

View file

@ -1 +0,0 @@
../../sb-bsd-sockets/manual.lisp

View file

@ -1 +0,0 @@
../../sb-aclrepl/manual.lisp

View file

@ -1 +0,0 @@
../../sb-concurrency/manual.lisp

View file

@ -1 +0,0 @@
../../sb-cover/manual.lisp

View file

@ -1 +0,0 @@
../../sb-grovel/manual.lisp

View file

@ -1 +0,0 @@
../../sb-introspect/manual.lisp

View file

@ -1 +0,0 @@
../../sb-md5/manual.lisp

View file

@ -1 +0,0 @@
../../sb-posix/manual.lisp

View file

@ -1 +0,0 @@
../../sb-queue/manual.lisp

View file

@ -1 +0,0 @@
../../sb-rotate-byte/manual.lisp

View file

@ -1 +0,0 @@
../../sb-simd/manual.lisp

View file

@ -1 +0,0 @@
../../sb-simple-streams/manual.lisp

View file

@ -26,19 +26,20 @@
(:file "package-locks")
(:file "threading")
(:file "timers")
(:file "networking")
(:file "../../sb-bsd-sockets/manual")
(:file "profiling")
(:file "contrib-modules")
(:file "sb-aclrepl")
(:file "sb-concurrency")
(:file "sb-cover")
(:file "sb-grovel")
(:file "sb-introspect")
(:file "sb-md5")
(:file "sb-posix")
(:file "sb-queue")
(:file "sb-rotate-byte")
(:file "sb-simd")
(:file "sb-simple-streams")
(:file "../../sb-aclrepl/manual")
(:file "../../sb-concurrency/manual")
(:file "../../sb-cover/manual")
(:file "../../sb-grovel/manual")
(:file "../../sb-introspect/manual")
(:file "../../sb-md5/manual")
(:file "../../sb-posix/manual")
(:file "../../sb-queue/manual")
(:file "../../sb-rotate-byte/manual")
(:file "../../sb-simd/manual"
:if-feature (:or :x86-64 :arm64))
(:file "../../sb-simple-streams/manual")
(:file "deprecation")))
(:file "late")))