Opened 3 years ago
Closed 3 years ago
#15633 closed enhancement (fixed)
llvm-13.0.0
Reported by: | Xi Ruoyao | Owned by: | pierre |
---|---|---|---|
Priority: | normal | Milestone: | 11.1 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
New major version.
Change History (9)
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 3 comment:2 by , 3 years ago
comment:3 by , 3 years ago
Replying to ken@…:
Docs fail to build with python-3.10:
ImportError: cannot import name 'Union' from 'types' (/usr/lib/python3.10/types.py) (on both of the two ninja targets)Probably related to https://bugs.python.org/issue44732 'Rename types.Union to types.UnionType'
The problem appears to be in Sphinx, might be because I last updated that in August (4.1.2) - latest is 4.2.0. Retrying.
follow-up: 6 comment:4 by , 3 years ago
I've built llvm-13.0.0 with docs and tests without problems. I've rebuilt the most recent version of sphinx for python 3.10, though.
comment:6 by , 3 years ago
Replying to pierre:
I've built llvm-13.0.0 with docs and tests without problems. I've rebuilt the most recent version of sphinx for python 3.10, though.
Yes, docs are fine with latest sphinx - I mostly only check for newer versions of non-BLFS packages which I regularly build when we are coming up to a release.
follow-up: 8 comment:7 by , 3 years ago
For me, mesa-21.2.4 fails:
FAILED: src/gallium/drivers/swr/libmesaswr.a.p/rasterizer_jitter_builder_mem.cpp.o [...] ../src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp:80:84: note: no known conversion for argument 2 from ‘std::vector<llvm::Value*, std::allocator<llvm::Value*> >’ to ‘const std::initializer_list<llvm::Value*>&’
comment:8 by , 3 years ago
Replying to ken@…:
For me, mesa-21.2.4 fails:
FAILED: src/gallium/drivers/swr/libmesaswr.a.p/rasterizer_jitter_builder_mem.cpp.o [...] ../src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp:80:84: note: no known conversion for argument 2 from ‘std::vector<llvm::Value*, std::allocator<llvm::Value*> >’ to ‘const std::initializer_list<llvm::Value*>&’
Fixed: I'd been specifying swr as one of the gallium drivers, if that is not specified it builds for me. I had thought that driver installed /usr/lib/dri/kms_swrast_dri.so (that was my impression from using 21.2.2 in qemu and noticing that driver was missing), but this completed build does include that driver - and I'm still none the wiser about what might use it.
comment:9 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commit 3e8c1264a074ca957d9cd2091824f9d5102ec1ae
Docs fail to build with python-3.10:
Probably related to https://bugs.python.org/issue44732 'Rename types.Union to types.UnionType'