Commit graph

20 commits

Author SHA1 Message Date
Douglas Katzman e47ab64eb9 Cease using ASDF to build contribs
Our contrib build graph was already expressed in contrib/Makefile,
so ASDF wasn't doing anything to determine an execution schedule.
The new make-contrib.lisp script can parse '.asd' files more-or-less as-is,
removing ASDF from the critical path. With blocklist=sb-simd, this change
decreased the time in parallelized make-target-contrib to under 5 seconds
for me (down from >10) when run on as many cores as there are contrib dirs.
All defsystems are treated as if containing ":serial t", and there are
two invented keywords to bind/assign special variables around compilation.

We still install '.asd' files in $SBCL_HOME/contrib, and build uiop and asdf
so there should be no observable difference to users.
2022-09-30 11:54:53 -04:00
Douglas Katzman fbd46c52ea Run contrib tests with all other tests and not in make-target-contrib
Most build systems distinguish a failed build from a failed test run,
but make.sh has a hard time doing that because of the conflation of the two.

The whole regression suite should be run if you want to ensure a good build,
so that would be a good time to test contribs. Not only that, with ASDF
we obscured a ton of style-warnings, we lost sandboxing of input files,
the ability to use --evaluator-mode, automatic generation and cleanup of
scratch pathnames, and automatic sb-sprof profiling.

So convert contrib tests to use WITH-TEST except some that gave me trouble.
This makes the output a ton more readable, and makes bisection on seldom-used
configurations quicker, not to mention that SB-RT is very lame anyway.
And there is quite literally less code to maintain now. Go figure.
2022-09-01 21:17:47 -04:00
Stas Boukarev eeb3b1edc1 Disallow compiling contribs outside of make-target-contrib. 2020-05-09 03:09:45 +03:00
Jan Moringen 9faa604d25 contrib: Clean up and adapt contrib asd files for ASDF 3.3.0 2017-10-30 20:03:57 +01:00
Cyrus Harmon d6db469884 1.0.39.20: more asdf logical pathname cleanup
* use #p"..." for logical pathnames instead of 1) just "" or
   #.(logical-pathname "...")
2010-06-23 03:12:35 +00:00
Richard M Kreuter bf25f93615 1.0.22.19: Canonicalize whitespace in .asd files. 2008-11-24 15:56:11 +00:00
Christophe Rhodes 6ffb09605d 0.8.5.26:
Record filesystem information during the build in debug information
	relative to SYS, not to /home/kevin/sbcl or equivalent.
	... change to core code: tiny if ugly;
	... change to warm load: only to refer to files as lpns rather
		than physical namestrings;
	... change to vanilla-modules: tiny;
	... change to asdf modules: well, erm, less tiny.  I'm not pleased
		by the need to duplicate similar logic in every .asd, but
		I think it's a similar symptom to the duplication of the
		TEST-OP logic in many of them: the coupling between asdf
		and the rest of the system is slightly wrong.

	(At startup, SYS by default has translations that refer back to
	the build-time values; distributors may wish to alter this for
	their binaries, for instance by setting translations to
	distribution-known values when dumping any final image)
2003-11-08 15:04:45 +00:00
Christophe Rhodes 9f8b254664 0.8alpha.0.38:
Slight change to REQUIRE/PROVIDE protocol
	... as observed by Tony Martinez sbcl-devel 2003-05-13, REQUIRE
		takes a string designator, so allow this
	... update to latest ASDF, which changes the asdf hook slightly
		such that individual modules are required (ha!) to
		PROVIDE themselves; make it so.
2003-05-19 14:47:14 +00:00
Kevin Rosenberg 541c9393cf 0.8alpha.0.26:
* sb-contrib/sb-aclrepl.asd:
         - Remove work-around for optimization notes
     * sb-contrib/{toplevel,repl}.lisp:
         - Rework fresh-line handling to accomodate that *repl-read-fun* causes
        a newline of which the output-stream is unaware.
2003-05-12 18:12:35 +00:00
Kevin Rosenberg c486d57a17 0.8alpha.0.24:
* sb-aclrepl/sb-aclrepl.asd:
        - Work around 'eql method specialization optimization notes
   * sb-aclrepl:repl.lisp:
        - Refactor read-cmd into small functions
        - Add relative history numbers, eg, `:-2'
        - Add history pattern match search, eg, `::foo'
        - Add optional redo query to history command, eg, `:24 ?'
2003-05-12 04:40:30 +00:00
Kevin Rosenberg d36b416ae1 0.pre8.112:
- src/code/toplevel.lisp: Remove changes to REPL and rename
        REPL to REPL-FUN and add hook.
      - sb-aclrepl/tests.lisp: Add display tests.
      - sb-aclrepl/toplevel.lisp: New file. Toplevel REPL with support
        for catching signals
      - sb-aclrepl/README: state that sb-aclrepl must be loaded in
        ~/.sbclrc.
2003-04-27 17:00:24 +00:00
Kevin Rosenberg f06a378c74 0.pre8.104:
* src/code/toplevel.lisp: Add special variables to convert SB-IMPL::REPL
      into a recursively invokable funcion
    * src/code/debug.lisp: Add hook for SB-DEBUG::DEBUG-LOOP
    * contrib/sb-aclrepl/tests.lisp: add tests for bignum inspection
    * contrib/sb-aclrepl/repl.lisp: convert to use new SB-IMPL::REPL function,
      add some debugger commands
    * contrib/sb-aclrepl/debug.lisp: use SB-DEBUG::*DEBUG-LOOP-FUN* hook.
      however, hook is not yet enabled by default  while debugger function
      continues development.
2003-04-25 16:31:17 +00:00
Kevin Rosenberg 3e991f3ecd 0.pre8.100:
* sb-aclrepl changes
       - Update README with examples and contact information
       - Strip out break-stack concept from repl.lisp
       - Fix bug in trimming *history* when *max-history* is reached
       - Add display of single-float, double-float, bignum hexidecimal contents
       - Fix reporting of object addresses (mask lowtag bits)
       - Add ":i slot <id>" command
       - Some non-active experimental code is in toplevel.lisp and debug.lisp,
         but this is #+ignore'd while in development.
2003-04-25 02:54:06 +00:00
Kevin Rosenberg 399b44c202 0.pre8.97:
* contrib/sb-rt/Makefile: fixed to install sb-rt as an ASDF system
      * contrib/sb-rt/rt.lisp: renamed from sb-rt.lisp
      * contrib/sb-aclrepl/sb-aclrepl.asd: Reworked to create a separate
        sb-aclrepl-tests ASDF system
2003-04-23 16:36:21 +00:00
Kevin Rosenberg 9cd907d485 0.pre8.95:
- Rework sb-aclrepl.asd file to for sb-rt package
       - Rename aclrepl-tests.lisp to tests.lisp
2003-04-23 03:26:50 +00:00
Christophe Rhodes 65a01dae3d 0.pre8.92:
Add SB-RT (a regression tester framework) as a contrib
	... not with a great fanfare, though, as philosophically it's for
		contrib use, not general public use;
	... make sb-aclrepl and sb-bsd-sockets use sb-rt, not their own
		local copies of rt.
2003-04-22 15:23:09 +00:00
Kevin Rosenberg 01af9d7ee5 0.pre8.77
- More refactoring in inspect.lisp
     - Add ":reset" command for repl
     - Add large regression test for aclrepl, primarily for the inspector
2003-04-20 00:07:50 +00:00
Kevin Rosenberg 7ee29f16f6 fix Makefile, improve test-op 2003-04-05 23:15:12 +00:00
Kevin Rosenberg 817c3cebd6 add basic test-op 2003-04-05 22:10:03 +00:00
Kevin Rosenberg 83c1b8bca8 Add inspector 2003-04-05 20:51:43 +00:00