[GH-ISSUE #5214] [Other] setup.sh --update --build does not compile the engine (the engine step is skipped entirely) #3105

Open
opened 2026-11-07 14:38:06 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @sdroege on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5214

Area

[Other] (anything else, including setup and installation)

Desktop app, Terminal or source?

Source (START-HERE.bat, setup.sh or a build)

What happened

On a source checkout, ./setup.sh --update --build finished in about one second with Strata is updated (engine 0.1.55) and did not compile anything. The source tree was 0.1.56 and engine/BUILD.json still said 0.1.55. Deleting engine/BUILD.json first changes nothing.

--build alone is also not in the plain_start guard, so ./setup.sh --build starts the model instead of compiling.

Cause (static analysis). setup.py:7250 in update_install:

if not a.build:
    update_installed_engine(a.prebuilt)

With --build, neither the ready-made fetch nor build_engine_hip runs. The help text for --build says "compile the engine instead of using the ready-made one", so the combination should compile.

Smallest steps or command that reproduce it

  1. rm -f engine/BUILD.json
  2. ./setup.sh --update --build
  3. cat engine/BUILD.json or check the engine version: unchanged.

Expected: the engine is compiled from the current source.
Actual: no compile, and the line says "Strata is updated".

Proposed fix: route a.build to the compile path, or at minimum warn that --update --build does not compile and point at ./setup.sh --setup --build.

Reproduction status

Reproduced locally

Strata version

Strata 0.2.10 source, engine 0.1.55 at the time

Graphics card, memory and system

Radeon AI PRO R9700 32 GB, 121.5 GiB RAM, Fedora 44 (kernel 7.2.13-200.fc44.x86_64)

Originally created by @sdroege on GitHub (Nov 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5214 ### Area [Other] (anything else, including setup and installation) ### Desktop app, Terminal or source? Source (START-HERE.bat, setup.sh or a build) ### What happened On a source checkout, `./setup.sh --update --build` finished in about one second with `Strata is updated (engine 0.1.55)` and did not compile anything. The source tree was 0.1.56 and `engine/BUILD.json` still said 0.1.55. Deleting `engine/BUILD.json` first changes nothing. `--build` alone is also not in the `plain_start` guard, so `./setup.sh --build` starts the model instead of compiling. **Cause (static analysis).** `setup.py:7250` in `update_install`: ```python if not a.build: update_installed_engine(a.prebuilt) ``` With `--build`, neither the ready-made fetch nor `build_engine_hip` runs. The help text for `--build` says "compile the engine instead of using the ready-made one", so the combination should compile. ### Smallest steps or command that reproduce it 1. `rm -f engine/BUILD.json` 2. `./setup.sh --update --build` 3. `cat engine/BUILD.json` or check the engine version: unchanged. Expected: the engine is compiled from the current source. Actual: no compile, and the line says "Strata is updated". **Proposed fix:** route `a.build` to the compile path, or at minimum warn that `--update --build` does not compile and point at `./setup.sh --setup --build`. ### Reproduction status Reproduced locally ### Strata version Strata 0.2.10 source, engine 0.1.55 at the time ### Graphics card, memory and system Radeon AI PRO R9700 32 GB, 121.5 GiB RAM, Fedora 44 (kernel 7.2.13-200.fc44.x86_64)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3105
No description provided.