| 17 May 2025 |
hexa | llvm> [100%] Running all regression tests
llvm> /nix/store/0l02qfg2zpr3ikcmr0jc2hzb80hy3bz8-python3-3.13.3-env/bin/python3.13 /build/llvm-src-14.0.6/llvm/build/./bin/llvm-lit --verbose -j40 --param polly_site_config=/build/llvm-src-14.0.6/llvm/build/tools/polly/test/lit.site.cfg --param polly_unit_site_config=/build/llvm-src-14.0.6/llvm/build/tools/polly/test/Unit/lit.site.cfg --param polly_site_config=/build/llvm-src-14.0.6/llvm/build/tools/polly/test/Unit/lit.site.cfg --param polly_site_config=/build/llvm-src-14.0.6/llvm/build/tools/polly/test/UnitIsl/lit.site.cfg /build/llvm-src-14.0.6/llvm/build/tools/polly/test /build/llvm-src-14.0.6/llvm/build/tools/polly/test/Unit /build/llvm-src-14.0.6/llvm/build/tools/polly/test/UnitIsl /build/llvm-src-14.0.6/llvm/build/utils/lit /build/llvm-src-14.0.6/llvm/build/test
llvm> /build/llvm-src-14.0.6/llvm/utils/lit/lit/formats/googletest.py:57: SyntaxWarning: invalid escape sequence '\('
llvm> upstream_prefix = re.compile('Running main\(\) from .*gtest_main\.cc')
llvm> /build/llvm-src-14.0.6/llvm/utils/lit/lit/TestRunner.py:199: SyntaxWarning: invalid escape sequence '\c'
llvm> (e.g. "a\b\\c\\\\d" becomes "a\b\c\\d" where it should stay as it was,
llvm> llvm-lit: /build/llvm-src-14.0.6/llvm/utils/lit/lit/TestingConfig.py:103: fatal: unable to parse config file '/build/llvm-src-14.0.6/llvm/test/Bindings/Go/lit.local.cfg', traceback: Traceback (most recent call last):
llvm> File "/build/llvm-src-14.0.6/llvm/utils/lit/lit/TestingConfig.py", line 92, in load_from_path
llvm> exec(compile(data, path, 'exec'), cfg_globals, None)
llvm> ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
llvm> File "/build/llvm-src-14.0.6/llvm/test/Bindings/Go/lit.local.cfg", line 2, in <module>
llvm> import pipes
llvm> ModuleNotFoundError: No module named 'pipes'
llvm>
llvm> make[3]: *** [CMakeFiles/check-all.dir/build.make:71: CMakeFiles/check-all] Error 2
llvm> make[3]: Leaving directory '/build/llvm-src-14.0.6/llvm/build'
llvm> make[2]: *** [CMakeFiles/Makefile2:11239: CMakeFiles/check-all.dir/all] Error 2
llvm> make[2]: Leaving directory '/build/llvm-src-14.0.6/llvm/build'
llvm> make[1]: *** [CMakeFiles/Makefile2:11246: CMakeFiles/check-all.dir/rule] Error 2
llvm> make[1]: Leaving directory '/build/llvm-src-14.0.6/llvm/build'
llvm> make: *** [Makefile:228: check-all] Error 2
| 20:21:25 |
hexa | The pipes module was removed in 3.13 https://docs.python.org/3/library/pipes.html | 20:21:53 |
hexa | so we need to conditionally point it to python312 for earlier versions | 20:22:29 |
Alyssa Ross | Maybe we could drop some LLVMs… | 20:23:36 |
hexa | LLVM15 is still required for llvmlite/numba | 20:30:01 |
Tristan Ross | Ideally I'd like to only have previous stable, current stable, and git | 20:34:02 |
Tristan Ross | In reply to @hexa:lossy.network LLVM15 is still required for llvmlite/numba GHC is another one I believe | 20:38:30 |
Tristan Ross | We can pretty much drop LLVM 12 now. I have a PR which moves things off LLVM 12 to a newer version for GHC. | 20:42:55 |
Randy Eckenrode | Hopefully the forked version of LLVM needed for Swift 5.10 is okay with Python 3.13. | 21:19:25 |
Tristan Ross | https://discourse.nixos.org/t/nixpkgs-ghc-deprecation-policy-user-feedback-necessary/64153 hopefully this means we can work towards minimizing LLVM's versions | 21:28:30 |
| 18 May 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://github.com/NixOS/nixpkgs/pull/403201
https://github.com/NixOS/nixpkgs/pull/403549
https://github.com/NixOS/nixpkgs/pull/403960
Anyone wants to take the chance to merge these three PRs | 16:14:03 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | We have been running on these three PRs for quite a long time | 16:14:39 |
Tristan Ross | In reply to @aleksana:mozilla.org We have been running on these three PRs for quite a long time Ping me in like 8 hours and I'll look at it lol | 16:22:40 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Redacted or Malformed Event | 16:32:47 |
Tristan Ross | Oh nice | 16:33:30 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Oh wrong thread | 16:34:36 |
Tristan Ross | Lol | 16:35:14 |
| 19 May 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @rosscomputerguy:matrix.org Ping me in like 8 hours and I'll look at it lol 😼 | 02:50:11 |
Tristan Ross | In reply to @aleksana:mozilla.org 😼 Good timing lol, I just got out of the shower and am going to be on my desktop here soon | 02:51:04 |
hexa | I tried the following patch, but it was insufficient
diff --git a/pkgs/development/compilers/llvm/default.nix b/pkgs/development/compilers/llvm/default.nix
index 8800a6408c01..7ad373016b78 100644
--- a/pkgs/development/compilers/llvm/default.nix
+++ b/pkgs/development/compilers/llvm/default.nix
@@ -85,6 +85,12 @@ let
gcc12Stdenv
else
stdenv; # does not build with gcc13
+ python3 =
+ if (lib.versionOlder release_version "16") then
+ # https://docs.python.org/3/library/pipes.html
+ pkgs.python312
+ else
+ pkgs.python3;
}
)
)
| 13:25:09 |
hexa | llvm> Running phase: checkPhase
llvm> check flags: -j40 check-all
llvm> [1/2] Preparing lit tests
llvm> [1/2] Running all regression tests
llvm> /build/llvm-src-15.0.7/llvm/utils/lit/lit/TestRunner.py:211: SyntaxWarning: invalid escape sequence '\c'
llvm> (e.g. "a\b\\c\\\\d" becomes "a\b\c\\d" where it should stay as it was,
llvm> /build/llvm-src-15.0.7/llvm/utils/lit/lit/TestRunner.py:1272: SyntaxWarning: invalid escape sequence '\s'
llvm> match = _caching_re_compile('^\s*%else\s*(%{)?').search(ln)
llvm> /build/llvm-src-15.0.7/llvm/test/lit.cfg.py:221: SyntaxWarning: invalid escape sequence '\d'
llvm> match = re.search('release (\d+)\.(\d+)', ptxas_out)
llvm> llvm-lit: /build/llvm-src-15.0.7/llvm/utils/lit/lit/TestingConfig.py:136: fatal: unable to parse config file '/build/llvm-src-15.0.7/llvm/test/Bindings/Go/lit.local.cfg', traceback: Traceback (most recent call last):
llvm> File "/build/llvm-src-15.0.7/llvm/utils/lit/lit/TestingConfig.py", line 125, in load_from_path
llvm> exec(compile(data, path, 'exec'), cfg_globals, None)
llvm> ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
llvm> File "/build/llvm-src-15.0.7/llvm/test/Bindings/Go/lit.local.cfg", line 2, in <module>
llvm> import pipes
llvm> ModuleNotFoundError: No module named 'pipes'
llvm>
llvm> FAILED: CMakeFiles/check-all /build/llvm-src-15.0.7/llvm/build/CMakeFiles/check-all
llvm> cd /build/llvm-src-15.0.7/llvm/build && /nix/store/f1x7fb6jwm9phhcrldsc6xj5wmazvhvs-python3-3.13.3-env/bin/python3.13 /build/llvm-src-15.0.7/llvm/build/./bin/llvm-lit --verbose -j40 --param polly_site_config=/build/llvm-src-15.0.7/llvm/build/tools/polly/test/lit.site.cfg --param polly_unit_site_config=/build/llvm-src-15.0.7/llvm/build/tools/polly/test/Unit/lit.site.cfg /build/llvm-src-15.0.7/llvm/build/tools/polly/test /build/llvm-src-15.0.7/llvm/build/utils/lit /build/llvm-src-15.0.7/llvm/build/test
llvm> ninja: build stopped: subcommand failed.
| 13:25:29 |
hexa | possibly because ninja uses its own python | 13:25:41 |
emily | tempted to say let 'em break | 13:27:01 |
emily | failing that, the easiest thing is probably just to find whatever commit dropped the use and backport it | 13:27:14 |
emily | we backport half of new LLVMs to old ones anyway… | 13:27:20 |
hexa | fair | 13:27:39 |
| 20 May 2025 |
hexa | https://github.com/llvm/llvm-project/commit/a48f018bb7d8fadc67c08e71409c31713daa0071#diff-1ea3be0bb9b548162196ebb34bbae2fc2bf7bff6f3385113f184e8a998f4a78a | 01:31:30 |
hexa | removed here in 16.0.0-rc1 | 01:31:43 |
emily | "Now that all jobs have moved over to the new style of Lit configuration, we can remove all traces of the legacy testing configuration system." is not promising for backportability | 01:37:05 |
emily | maybe patching the shebang on lit will help? | 01:37:35 |