!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

226 Members
75 Servers

Load older messages


SenderMessageTime
19 May 2025
@emilazy:matrix.orgemilyfailing that, the easiest thing is probably just to find whatever commit dropped the use and backport it13:27:14
@emilazy:matrix.orgemilywe backport half of new LLVMs to old ones anyway…13:27:20
@hexa:lossy.networkhexafair13:27:39
20 May 2025
@hexa:lossy.networkhexahttps://github.com/llvm/llvm-project/commit/a48f018bb7d8fadc67c08e71409c31713daa0071#diff-1ea3be0bb9b548162196ebb34bbae2fc2bf7bff6f3385113f184e8a998f4a78a01:31:30
@hexa:lossy.networkhexaremoved here in 16.0.0-rc101:31:43
@emilazy:matrix.orgemily"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 backportability01:37:05
@emilazy:matrix.orgemily maybe patching the shebang on lit will help? 01:37:35
@emilazy:matrix.orgemilyor could just disable tests for those old versions. or let them break and see how much people really care about old LLVMs.01:37:49
@hexa:lossy.networkhexathe first estimate is ~115 packages in the python scope per platform01:41:03
@emilazy:matrix.orgemily it looks like it's only for libcxx and libunwind 01:40:43
@hexa:lossy.networkhexa
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index eb55c03a7687..9266c53be750 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -9,7 +9,6 @@
 import copy
 import os
 import pkgutil
-import pipes
 import platform
 import re
 import shlex
@@ -434,7 +433,7 @@ class Configuration(object):
     def quote(self, s):
         if platform.system() == 'Windows':
             return lit.TestRunner.quote_windows_command([s])
-        return pipes.quote(s)
+        return shlex.quote(s)
 
     def configure_substitutions(self):
         sub = self.config.substitutions
01:42:45
@emilazy:matrix.orgemily * it looks like it's only for libcxx and libunwind? 01:40:43
@hexa:lossy.networkhexa *
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index eb55c03a7687..9266c53be750 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -9,7 +9,6 @@
 import copy
 import os
 import pkgutil
-import pipes
 import platform
 import re
 import shlex
@@ -434,7 +433,7 @@ class Configuration(object):
     def quote(self, s):
         if platform.system() == 'Windows':
             return lit.TestRunner.quote_windows_command([s])
-        return pipes.quote(s)
+        return shlex.quote(s)
 
     def configure_substitutions(self):
         sub = self.config.substitutions
01:42:48
@emilazy:matrix.orgemilyI think we can disable tests on old versions of those.01:40:43
@hexa:lossy.networkhexathis could be all that's needed01:42:57
@hexa:lossy.networkhexado I start contributing to llvm now? 😫01:43:36
@hexa:lossy.networkhexaalso tblgen iirc, but i'd have to check01:44:14
@emilazy:matrix.orgemilythey don't maintain the old versions at all01:43:49
@hexa:lossy.networkhexahm no01:45:31
@emilazy:matrix.orgemilyeverything but 20 is technically EOL01:43:57
@hexa:lossy.networkhexaah, great01:47:13
@emilazy:matrix.orgemilywhich is also why as many of them as possible should go away in 25.1101:44:12
@emilazy:matrix.orgemilyso some of those Python packages may be casualties anyway01:44:22
@hexa:lossy.networkhexahttps://github.com/numba/llvmlite01:48:09
@hexa:lossy.networkhexaI'm frankly not sure why they lag behind that much01:48:24
@emilazy:matrix.orgemilyLLVM does a fair amount of breaking changes I think.01:50:39
@emilazy:matrix.orgemilyyou're meant to upstream things01:51:13
@emilazy:matrix.orgemilyfwiw they apparently have experimental LLVM 16 support01:52:53
@emilazy:matrix.orgemily

from the Fedora package:

# For 0.44.0, LLVM 15 is the default. LLVM 16 support is “experimental;” we can
# try it if we need to.
01:53:00
@hexa:lossy.networkhexaok, neat01:54:33

Show newer messages


Back to Room ListRoom Version: 9