Download and Installation
Run the installation script.
1 2 3 | sh gcc-12.3.1-2025.12-aarch64-linux/bin/install_ai4c.sh export PATH=/path/to/gcc-12.3.1-2025.12-aarch64-linux/bin/:$PATH export LD_LIBRARY_PATH=/path/to/gcc-12.3.1-2025.12-aarch64-linux/lib64/:$LD_LIBRARY_PATH |
Due to potential conflicts with Python package dependencies in the current user environment:
Solution:
In Python 3.3 or later, you can create a virtual environment:
# Create a Python virtual environment named <myenv> in the current directory (the name is customizable). python -m venv <myenv> # Activate the Python virtual environment. source <myenv>/bin/activate # Deactivate the environment after use. deactivate
After the virtual environment is used, Python packages will be installed in the /path/to/your/myenv/lib directory.
Parent topic: AI for Compiler