diff --git a/.gitignore b/.gitignore index d4df56e..415771f 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/Makefile b/Makefile index 7f23910..3c1ac37 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/README.md b/README.md index ee6f32b..390c691 100644 --- a/README.md +++ b/README.md @@ -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: