mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
test_setup_stale_stamp: the ARM64 engine build is without MMQ too (f-spark-nommq)
f-spark-nommq made setup.py's build_engine pass -DSTRATA_MMQ=OFF on ARM64 (DGX Spark) as on x86, but this py-tools test still expected -DSTRATA_MMQ=ON there and failed on the merged branch (l620 tools/check py-tools, 1 failed of 1652). It now expects OFF on both, still exactly one -DSTRATA_MMQ= on the line.
This commit is contained in:
1 parent
f46cb8aa0a
commit
f6de3a6c64
1 file changed
+2
-2
@@ -106,8 +106,8 @@ class BuildEngineStamp(unittest.TestCase):
|
||||
|
||||
def test_the_build_without_mmq_is_named_on_the_configure_line(self):
|
||||
"""STRATA_MMQ's default became OFF; a build/ folder configured before keeps ON in CMakeCache.txt, so the line names it.
|
||||
ARM64 (DGX Spark) keeps the build with MMQ (not measured without it)."""
|
||||
for arm, want in ((False, "-DSTRATA_MMQ=OFF"), (True, "-DSTRATA_MMQ=ON")):
|
||||
ARM64 (DGX Spark) builds without MMQ too since 0.2.15 (spark/build_engine.sh)."""
|
||||
for arm, want in ((False, "-DSTRATA_MMQ=OFF"), (True, "-DSTRATA_MMQ=OFF")):
|
||||
with mock.patch.object(setup, "is_arm64", lambda arm=arm: arm):
|
||||
(self.eng / "BUILD.json").write_text(json.dumps(self.old_stamp))
|
||||
setup.build_engine(GPU, "none", True, Path("llama"), toolkit=13)
|
||||
|
||||
Reference in new issue
Block a user