Before installing the LLVM-based Deep Learning Optimizer, ensure that you have the following prerequisites installed on your system:
- LLVM (version 10.0 or higher)
- For macOS with Apple Silicon,
brew install llvm
- CMake (version 3.10 or higher)
- C++ compiler with C++17 support (e.g., GCC, Clang, Apple Clang)
Follow these steps to install the optimizer:
-
Clone the repository:
-
Change to the project directory:
cd VersaOptimizer
-
Create a build directory and navigate to it:
mkdir build cd build
-
Configure the project using CMake:
cmake ..
-
Build the project:
make