[PR #4645] [Other] setup --update: read the engine version from engine-sycl/BUILD.json on SYCL installs (#4544) #5129

Open
opened 2026-11-07 16:32:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4645
Author: @ctr-137
Created: 10/29/2026
Status: 🔄 Open

Base: main ← Head: setup-engine-version-sycl


📝 Commits (2)

  • 14f9391 [SYCL] preserve STRATA_* environment values of 0 in strata-sycl.sh (#4546)
  • f08ba0d [Other] setup --update: read engine version from engine-sycl/BUILD.json for SYCL installs (#4544)

📊 Changes

2 files changed (+9 additions, -3 deletions)

View changed files

📝 setup.py (+6 -1)
📝 sycl/serve/strata-sycl.sh (+3 -2)

📄 Description

Fixes #4544.

Problem

On an Intel (SYCL) install ./setup.sh --backend sycl --update ended with the false warning that the engine was NOT: it is still 0.1.12, because the config's exe is the sycl/serve/strata-sycl.sh launcher and engine_version() looked for BUILD.json next to that launcher (and in its bytes for engine=X.Y.Z), neither of which exist on the launcher.

Result

When the config's backend is sycl or the exe is the SYCL launcher, the version is read from engine-sycl/BUILD.json (via the existing engine_version() helper pointed at engine-sycl/strata), which setup_intel.py writes with the real built version. Non-SYCL installs are unchanged.

Validation

Environment: Git Bash on Windows; setup.py syntax only.

Passed:

  • py -m py_compile setup.py (syntax check)
  • git diff --check

Failed:

  • (none)

Not run:

  • full SYCL setup run, because this environment has no Intel SYCL build tree / Docker image.
  • engine version reporting on an actual SYCL install.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4645 **Author:** [@ctr-137](https://github.com/ctr-137) **Created:** 10/29/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `setup-engine-version-sycl` --- ### 📝 Commits (2) - [`14f9391`](https://github.com/Niko1221/Strata/commit/14f9391b781a2a29191638d4f24bda8833e3b86a) [SYCL] preserve STRATA_* environment values of 0 in strata-sycl.sh (#4546) - [`f08ba0d`](https://github.com/Niko1221/Strata/commit/f08ba0d1a13e05c8eba956af221a47f04f038dcb) [Other] setup --update: read engine version from engine-sycl/BUILD.json for SYCL installs (#4544) ### 📊 Changes **2 files changed** (+9 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `setup.py` (+6 -1) 📝 `sycl/serve/strata-sycl.sh` (+3 -2) </details> ### 📄 Description Fixes #4544. ## Problem On an Intel (SYCL) install `./setup.sh --backend sycl --update` ended with the false warning that `the engine was NOT: it is still 0.1.12`, because the config's `exe` is the `sycl/serve/strata-sycl.sh` launcher and `engine_version()` looked for `BUILD.json` next to that launcher (and in its bytes for `engine=X.Y.Z`), neither of which exist on the launcher. ## Result When the config's backend is `sycl` or the exe is the SYCL launcher, the version is read from `engine-sycl/BUILD.json` (via the existing `engine_version()` helper pointed at `engine-sycl/strata`), which `setup_intel.py` writes with the real built version. Non-SYCL installs are unchanged. ## Validation Environment: Git Bash on Windows; setup.py syntax only. Passed: - `py -m py_compile setup.py` (syntax check) - `git diff --check` Failed: - (none) Not run: - full SYCL setup run, because this environment has no Intel SYCL build tree / Docker image. - engine version reporting on an actual SYCL install. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#5129
No description provided.