-
Notifications
You must be signed in to change notification settings - Fork 416
Open
Description
@banach-space I followed the instructions in the README and proceeded with the operation.
First,wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" sudo apt-get update sudo apt-get install -y llvm-16 llvm-16-dev llvm-16-tools clang-16Second,
cd /root/llvm-tutor/build/ cmake -DLT_LLVM_INSTALL_DIR=/usr/lib/llvm-16 /root/llvm-tutor make
Third
root@LAPTOP-OJLO0M82:~/llvm-tutor/build# ls CMakeCache.txt CMakeFiles Makefile cmake_install.cmake input_for_hello.ll root@LAPTOP-OJLO0M82:~/llvm-tutor/build# lit --version lit 16.0.6 root@LAPTOP-OJLO0M82:~/llvm-tutor/build# lit ../test lit: /usr/local/lib/python3.10/dist-packages/lit/TestingConfig.py:140: fatal: unable to parse config file '/root/llvm-tutor/test/lit.cfg.py', traceback: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/lit/TestingConfig.py", line 129, in load_from_path exec(compile(data, path, 'exec'), cfg_globals, None) File "/root/llvm-tutor/test/lit.cfg.py", line 22, in <module> config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell) AttributeError: 'NoneType' object has no attribute 'use_lit_shell'
Metadata
Metadata
Assignees
Labels
No labels