Installing the Autotuner
The Autotuner has been included in the release package of the BiSheng compiler. If you have installed the BiSheng compiler, you only need to configure the environment variable of the BiSheng compiler. Otherwise, install the BiSheng compiler first.
- Run the following command to configure the environment variable of the BiSheng compiler:
export PATH=/opt/compiler/BiShengCompiler-4.1.0-aarch64-linux/bin:$PATH
The /opt/compiler directory is used as an example. The actual installation directory prevails.
- Verify the installation.
If the help information is displayed, the installation is successful.
If an error occurs during the running, ensure that your system meets the requirements described in Environment Requirements.
For example:
bad magic number in 'autotuner': b'U\r\r\n'
Ensure that your Python 3 version is 3.11.0 or later and the installation path specified by PATH exists. Run the python3 -V command to check the Python 3 version.
No module named '_sqlite3'
Ensure that SQLite 3.0 has been installed.