Commit graph

8 commits

Author SHA1 Message Date
Douglas Katzman d8befc4545 Add a build test for #+(and arm64 relocatable-static-space) 2024-03-04 15:11:33 -05:00
Christophe Rhodes 1dc158e972 Make there be a sparc target
For the benefit of github CI, which defines a sparc crossbuild.

Additionally, make build-all-cores.sh exit with the exit code of the
underlying make job, if it gets that far.
2024-02-10 18:30:27 +00:00
Douglas Katzman 1cdb582cca Add a crossbuild test config for #-sb-unicode
which happens to be #+win32 and exposed a bug that a no-longer-needed allowance
for warnings caused it to exit with success despite a missing BASE-CHAR-P, and
also that there was also a pre-existing warning in stream.lisp if #-sb-unicode.
2024-02-09 17:07:10 -05:00
Douglas Katzman 2b335ca5e4 Avoid rewriting Makefile if unchanged
And fix missing 'git add' from rev 85619d59ae
2024-02-05 08:03:06 -05:00
Douglas Katzman ff13bbf506 Accept -jN arg to build-all-cores
and don't redirect *stdout* and *stderr* if -j1.

You can specify more than one target, and they will follow one another
with no chance of overlap since it's sequential. This should give more-or-less
the same behavior as the deleted crossbuild-runner/build-all.sh script.

We can add a few more indicators of where each build starts,
but this is probably adequate for now.
2024-02-05 03:55:25 -05:00
Douglas Katzman 85619d59ae Correct the features of arm64-darwin xbuild test
I'm starting to think that make-host-2 might need to suppress the MEMBER
transform if a constant list has a NIL, because the address of NIL is
sensitive to static-space-start, necessitating xperfecthash entries
for each choice. Nonetheles, gathering an exhaustive list of known good
configurations to test isn't in itself an unreasonable thing.
2024-02-05 01:43:49 -05:00
Douglas Katzman 78a0ff78f9 Improve build-all-cores.sh
* Merge xperfecthash file diffs back into the main file
* Rather than hardwiring the choice of OS in pass-1.lisp, put the choice
  in the configuration params. Unfortunately stuff-groveled-from-headers
  may need to exist in different incarnations due to package issues.
2024-02-05 00:51:41 -05:00
Douglas Katzman 57a8929253 Delete 2 scripts and add a better one- build-all-cores.sh
Neither make-all-targets.sh nor crossbuild-runner/build-all.sh could
do everything deisired. build-all.sh could incorporate changes to xperfecthash
and xfloat-math into the revison-controlled files, but could not use >1 host
CPU (via "make -j") whereas in contrast, make-all-targets could utilize >1 CPU
but could not merge diffs into xperfecthash or or xfloat-math.

This new script can, in theory (i.e. not yet), merge target-specific journal
updates into the git-controlled files, while also using N CPUs.
It also corrects the defect of pass-2.lisp that it never wrote .core artifacts,
causing Make to re-run when it need not. Additionally, since Makefile is now
autogenerated we can insert approximate dependencies - in so far as it would
select the same subset of build-order.lisp-expr as would an ordinary build.

Also we gain the ability to specify more than one set of *FEATURES* to be
built for a given architecture. It simply needs a distinct "config name".
2024-02-04 21:56:11 -05:00