Build and publish the Desktop Preview beside the Server Preview
Every image lane now builds two variants from the same packages: Server
(NextBSD-server, as before) and Desktop (NextBSD-desktop: the server plus
GNUstep and the desktop). The build, rpi5, img-test and iso-test jobs gain
a variant matrix dimension; build.sh names its files after the variant
(NextBSD-<Server|Desktop>-<arch>-<stamp>.*, NextBSD-<variant>-rpi5-<stamp>
.img.zip) and checks that a Desktop image enables WindowServer and
loginwindow at boot. The release job publishes continuous-server as before
and continuous-desktop ("Desktop Preview (continuous)"), each with its
ISOs, its Pi image and its own SHA256SUMS; the build fails if an ISO or
the Pi image would exceed GitHub's 2 GiB per-asset limit.
The Desktop boot tests still reach the serial login prompt, then
tests/desktop-check.exp.inc checks that launchd loaded both jobs and
started the WindowServer, and reports whether it found a display.
Part of nextbsd/nextbsd#678 (E47, nextbsd/nextbsd#671).
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
pf(4) should also use PR_LIMITFAIL flag when allocating `kentry`
Using PR_LIMITFAIL flag allows call to pool_get(9) to fail
when pool limit is reached.
issue noticed and patch kindly submitted by
tom (_dot_) smyth (-at-) wirelessconnect (_dot_) eu
OK dlg@
[runtimes] Make runtimes-test-depends depend on flang (#241544)
This patch adds runtimes-test-depends to add_flang_mod_deps so that
"ninja test-depends" in a fresh build directory waits for bin/flang
before building flang-rt-mod via fakeflang.
Note that #203481 and #235643 already added the same dependency for
check-flang-rt, check-openmp, and check-offload.
Assisted-by: Antigravity
[mlir][VectorToSCF] Clamp the create_mask bound in the scalable transposed write (#243714)
`ScalableTransposeTransferWriteConversion` lowers a masked write of a
transposed `vector<[N]xMxty>` to a loop over the scalable dim, and used
the first `vector.create_mask` operand as the loop bound. `create_mask`
clamps its operands to the vector size, so `vector.create_mask %c100,
%c4 : vector<[4]x4xi1>` is all-true, but the loop wrote 100 rows instead
of `4 * vscale`.
The loop bound is now `min(mask size, N * vscale)`.
Tested by `@scalable_transpose_store_dynamic_mask`. Also run on SVE
hardware (Graviton3, vscale = 2) with `create_mask %c100, %c4` into a
16-row memref: main writes 100 rows, this patch writes 8.
Part of #227821.
Assisted-by: Claude
Images install NextBSD-server, the meta-package that replaces NextBSD-everything (#683)
* Images install NextBSD-server, the meta-package that replaces NextBSD-everything [skip ci]
build.sh installs $NB_META (NextBSD-server by default, NextBSD-desktop for
the Desktop images later) and falls back to NextBSD-everything when the
NextBSD repo was published before nextbsd-pkg made NextBSD-server. The
version still comes from the installed SystemVersion.plist, which
NextBSD-server now owns. The workflow, pkglist.txt and the README name
NextBSD-server.
nextbsd/nextbsd#680 (E47, #671).
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
* Run the PR checks (the previous commit skipped CI)
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
[2 lines not shown]
authpf(8) must also match routing domain when selecting states to kill
issue kindly reported and patch submitted by
Avinash Duduskar <avinash.duduskar (_at_) gmail (_dot_) com>
OK sashan@
[mlir][SPIR-V] Add SPIRVToLLVM conversion for CompositeConstruct (#244369)
Lower structs and arrays to llvm.insertvalue chains and vectors to
llvm.insertelement chains, splitting vector constituents into elements
[mlir][SPIR-V] Fix deserializer crash on spec composite constituents (#244375)
Accept nested OpSpecConstantComposite constituents and diagnose the ones
that have no symbol to reference
Server Preview: publish the ISOs as plain .iso; keep the Pi image zipped (#682)
* Release description and README: builds are started by hand, not on every push
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
* Server Preview: publish the ISOs as plain .iso; keep the Pi image zipped
The live ISO's root is already compressed, so zipping saved ~13% (arm64:
233 MB raw, 203 MB zipped) and made users unzip before booting or
writing it. The release step unzips the ISOs; the build, its artifacts
and the boot tests are unchanged. The Raspberry Pi image stays .img.zip:
raw it's 2.4 GB of mostly empty filesystem, over GitHub's 2 GB per-file
limit, against ~190 MB zipped, and the usual Pi writers take .img.zip
directly. The README's quick start loses its unzip step.
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
Server Preview: publish the ISOs as plain .iso; keep the Pi image zipped
The live ISO's root is already compressed, so zipping saved ~13% (arm64:
233 MB raw, 203 MB zipped) and made users unzip before booting or
writing it. The release step unzips the ISOs; the build, its artifacts
and the boot tests are unchanged. The Raspberry Pi image stays .img.zip:
raw it's 2.4 GB of mostly empty filesystem, over GitHub's 2 GB per-file
limit, against ~190 MB zipped, and the usual Pi writers take .img.zip
directly. The README's quick start loses its unzip step.
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
Publish the Server Preview to continuous-server: ISOs, the Pi image, SHA256SUMS (#679)
The rolling release becomes continuous-server and holds only what people
install: the amd64 and arm64 live ISOs and the Raspberry Pi 5 image,
named NextBSD-Server-<arch|rpi5>-<version>, with one SHA256SUMS. The
amd64/arm64 .img stay workflow artifacts for the boot test; a tests-only
run boots the last successful build's artifact instead of a release
asset. The README's quick start boots the live ISO in QEMU.
The old continuous release is left in place; it's deleted once
continuous-server has published.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
make poll() timeout configurable, and key repeat times depend on it
for now the key repeat timers simply could event loop cycles, which can vary,
especially on slower hardware. Will need something better here.
[SelectionDAG] Use the compare operand's boolean contents when inverting a SETCC (#244992)
When LegalizeDAG expands a SETCC by inverting its condition code, it
wraps the new SETCC in getLogicalNOT() using the result type. That
picks the true value from the integer boolean contents, but the SETCC
result follows the boolean contents of the compared operand type.
On MIPS R6 FP compares produce 0/-1 while integer booleans are 0/1.
Since #173541 SETUNE, SETONE, SETO and SETNE are expanded this way, so
the inverted mask was XORed with 1, giving 1/-2 instead of -1/0, and
later combines produced wrong values.
Build the NOT with getBoolConstant() using the operand type, as the
SELECT_CC fallback below already does. Also let extractBooleanFlip()
recognize such a NOT of a SETCC, so select (not setcc) keeps folding
to a select with swapped operands.
MIPS R6 is the only target where the integer and FP boolean contents
differ, so other targets are not affected.
[3 lines not shown]
[ubsan] Initialize flags before installing deadly signal handlers (#244984)
When `SANITIZER_CAN_USE_PREINIT_ARRAY` is 0 or UBSan is linked as a
shared library, a `.preinit_array` function or DSO constructor calling
`sigaction()` can run `InitializeDeadlySignals()` before flags are
parsed, permanently skipping signal handlers requested via options.
Assisted-by: Gemini
[GVN] Merge metadata from values to load
A select from load con contain different metadata premise. Such
metadata might be incompatible and therefore be poisoned. Merge the
metadata and propogate to the previous load to eliminate this.
Asissted-by: Cluade # Test