diff --git a/tools/hyperloom/custom/README.md b/tools/hyperloom/custom/README.md index df383a805..b16ef4397 100644 --- a/tools/hyperloom/custom/README.md +++ b/tools/hyperloom/custom/README.md @@ -48,7 +48,14 @@ plus `hl_cli_login.py` and a `launch.sh` wrapper) is gone: upstream now knows th cmake -B ~/wt/hl-engine-build -G Ninja -S ~/wt/hl-engine -DCMAKE_BUILD_TYPE=Release \ -DONEBIT_HRX=ON -DONEBIT_HRX_TOOLCHAIN=/opt/rocm-therock \ -DONEBIT_HRX_LIBHSA=/opt/rocm-therock/lib/python3.14/site-packages/_rocm_sdk_core/lib/libhsa-runtime64.so.1 - cmake --build ~/wt/hl-engine-build -j 4 --target 1bit llama-bench llama-perplexity llama-server + cmake --build ~/wt/hl-engine-build -j 4 --target onebit llama-bench llama-perplexity llama-server + + # `--target onebit`, not `--target 1bit`: `1bit` is the output FILE name + # (set_target_properties(onebit PROPERTIES OUTPUT_NAME 1bit)), not a target. The two + # generators fail differently and both are bad -- Ninja rejects the whole command line + # ("unknown target '1bit'"), so nothing is built at all, while the Makefile generator + # finds a file called `1bit` in the build dir and treats it as an up-to-date file target, + # so the command exits 0 having built nothing and a stale binary looks fresh (engine#1993). ``` The build root is `HL_BUILD` (default `~/wt/hl-engine-build`): `1bit` sits at its top, and the