Skip to content

Commit 9ffe886

Browse files
docs(compat.sycl-runtime): the entry is frozen, the behaviour is not (#357)
The 2026.09.07 commit said 2026.09.06 "installs the farm it always did". That is false and the sandbox verification showed it: there is one `install()` in this file and it never reads `pkginfo.version()`, so a version key selects the anchor URL and nothing else. A store holding both versions shows the same `libcuda.so.1` under each. The behaviour is intended -- the content is generated rather than downloaded -- but "kept and frozen" reads as a promise about what an old pin installs, and it is not one. Co-authored-by: speak-agent <x.d2learn.org@gmail.com>
1 parent e68c9d8 commit 9ffe886

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

pkgs/c/compat.sycl-runtime.lua

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,22 @@ package = {
7777
-- compat.cuda-runtime links, under the same soname, so a program
7878
-- that has both farms on its path loads it once.
7979
deps = { "xim:dpcpp@7.1.0", "xim:zlib", "xim:libcuda-host-link" },
80-
-- 2026.09.06 is kept and frozen: a consumer already pinning it
81-
-- keeps resolving, and it installs the farm it always did. It is
82-
-- missing `libcuda.so.1`, which on a machine whose dpcpp payload
83-
-- predates the search-path repair is invisible, because the
84-
-- adapter then inherits the artifact's path instead.
80+
-- 2026.09.06 is kept so a consumer already pinning it keeps
81+
-- resolving.
82+
--
83+
-- WHAT IS FROZEN IS THE ENTRY, NOT THE BEHAVIOUR, and an earlier
84+
-- version of this comment got that wrong. There is ONE `install()`
85+
-- in this file and it never reads `pkginfo.version()`, so a
86+
-- version key selects the anchor URL and nothing else: installing
87+
-- 2026.09.06 today builds exactly the farm 2026.09.07 builds,
88+
-- driver included. Measured -- a store holding both showed the
89+
-- same `libcuda.so.1` under each.
90+
--
91+
-- That is the intended behaviour for an adapter whose content is
92+
-- generated rather than downloaded, and it is worth stating
93+
-- because "kept and frozen" reads as a promise about what an old
94+
-- pin installs. It is not one. A version here is a coordinate a
95+
-- consumer can name, not a snapshot of this recipe.
8596
["2026.09.07"] = {
8697
url = "https://raw.githubusercontent.com/intel/llvm/v7.1.0/sycl/LICENSE.TXT",
8798
sha256 = "410f3a23b4bbacbd246310d8c014a20af18cfc8c0d740ddf0f673ea20894da9c",

0 commit comments

Comments
 (0)