GPUVerify's LLVM IR to Boogie translator.
-
Build LLVM and Clang, as usual (see http://clang.llvm.org/get_started.html).
-
Run CMake from a build directory:
$ mkdir /path/to/bugle-build $ cd /path/to/bugle-build $ cmake -DCMAKE_PREFIX_PATH=/path/to/llvm-build -DCMAKE_BUILD_TYPE=Release /path/to/bugle
Be sure to select the same build type (CMAKE_BUILD_TYPE) used when compiling LLVM.
-
Run 'make' from the build directory.
-
Build LLVM and Clang, as usual (see http://clang.llvm.org/get_started.html).
-
Run CMake from a build directory:
$ mkdir C:\path\to\bugle-build $ cd C:\path\to\bugle-build $ cmake -G "Visual Studio 14.0" -DLLVM_SRC=C:\path\to\llvm-source -DLLVM_BUILD=C:\path\to\llvm-build -DLLVM_BUILD_TYPE=Release C:\path\to\bugle
Be sure to select the same build type (LLVM_BUILD_TYPE) used when compiling LLVM.
-
Open the Visual Studio project 'Bugle.sln'. When building, use the build type you used for LLVM.
Bugle is best run as part of GPUVerify.