make test: engine_test is built into build-frontend/bin; README: offline clone, dirty submodule after configure, fresh-clone timings on the A6000 VM
A fresh clone on the VM (2026-10-19) built in 20.6 min with the README's commands as written, but `make test` failed with 'build-frontend/engine_test: No such file or directory': the frontend target sets CMAKE_RUNTIME_OUTPUT_DIRECTORY to build-frontend/bin and the test target looked one level up. It passed on the Mac only because a stale build-frontend/ there still had the old binary at the root. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
c43e893456
commit
e34073e170
3 files changed
+8
-2
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ __pycache__/
|
||||
*.occ1
|
||||
td.log
|
||||
|
||||
# created by setup.py on the user's machine
|
||||
# build directories and a virtualenv, if one is made for tools/
|
||||
/.venv/
|
||||
/build/
|
||||
/models/
|
||||
|
||||
@@ -75,7 +75,7 @@ frontend:
|
||||
# and curl; no GPU and no model. Runs in the CUDA-free build directory, so it works on the build box and on a laptop.
|
||||
test: frontend
|
||||
cmake --build $(BUILD_DIR)-frontend -j $(JOBS) --target engine_test
|
||||
$(BUILD_DIR)-frontend/engine_test frontend/tests/fake-engine.py
|
||||
$(BUILD_DIR)-frontend/bin/engine_test frontend/tests/fake-engine.py
|
||||
frontend/tests/e2e.sh $(BUILD_DIR)-frontend/bin/unbiased-strata
|
||||
|
||||
clean:
|
||||
|
||||
@@ -37,6 +37,12 @@ make build # build/bin/{strata,strata-poly,libstrata_k
|
||||
make test # the front end against a fake engine; no GPU, no model
|
||||
```
|
||||
|
||||
The two `git` lines are the only ones that reach the network. For a box without one, run them on a machine that has
|
||||
it and copy the tree over (`rsync -a UnbiasedStrata/ box:UnbiasedStrata/`; about 700 MB with `.git`), then `make build`
|
||||
there; that is how the A6000 VM below was done (2026-10-19, fresh clone: 5 s clone, 27 s submodule, 20.6 min `make build`
|
||||
at the default four archs on 12 cores and CUDA 12.4, 9 s `make test`). Configuring applies `patches/` to the submodule
|
||||
in place, so `git status` shows `third_party/llama.cpp` modified from then on; that is expected.
|
||||
|
||||
`make build` configures once and builds only the four targets above, not upstream's `all`. Options, as `make`
|
||||
variables:
|
||||
|
||||
|
||||
Reference in new issue
Block a user