Closed as not planned
Closed as not planned
Description
Testing fails in RHEL 8:
stderr:
Traceback (most recent call last):
File "/opt/llvm-build/llvm-18.x/libcxx/test/libcxx/module_std.gen.py", line 24, in <module>
from libcxx.test.modules import module_test_generator
File "/opt/llvm-build/llvm-18.x/rc2/llvm-project/libcxx/utils/libcxx/test/modules.py", line 11, in <module>
from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'
This is because the default python in RHEL 8 is 3.6, and this test uses the new modules in python 3.7.
The easiest fix is to upgrade the python version requirement to 3.7 or higher and modify the page Getting Started with the LLVM System.