bolt/bootstrap/cxx
2024-01-21 01:51:25 +01:00
..
.vscode Make VSCode launch test sandbox Bolt code by default 2024-01-21 01:11:29 +01:00
deps Update link to Zen project 2024-01-20 20:09:14 +01:00
include/bolt Dont let Diagnostic inherit from std::runtime_error 2024-01-21 01:12:02 +01:00
src Dont let Diagnostic inherit from std::runtime_error 2024-01-21 01:12:02 +01:00
test Add 'bootstrap/cxx/' from commit '7c1a929e9a3d3abb1e2113f531588e059ad5be8c' 2024-01-15 14:04:51 +01:00
.gitignore git: Add compile_command.json to .gitignore and update comment 2024-01-21 01:51:25 +01:00
CMakeLists.txt Add 'bootstrap/cxx/' from commit '7c1a929e9a3d3abb1e2113f531588e059ad5be8c' 2024-01-15 14:04:51 +01:00
README.md Add sample CMake invocation to README.md 2024-01-21 00:20:04 +01:00

LLVM-based Bolt Compiler

This directory contains a partial implementation of the Bolt programming language using C++ and LLVM. It currently is one of the main contenders of becoming the offical Bolt compiler.

Developing

You need a recent version of the Zen libries to be able to compile. If youu still get build errors, the Zen libraries might be out of date. Do not hesitate to file an issue!

This is how a potential invocation to CMake could look like:

cmake \
    -DCMAKE_CXX_COMPILER=clang++ \
    -DCMAKE_BUILD_TYPE=Debug \
    -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
    -G Ninja \
    -B build \
    -DBOLT_ENABLE_TESTS=1 \
    -DZEN_ENABLE_TESTS=0 \
    -DLLVM_TARGETS_TO_BUILD=host \
    -DLLVM_OPTIMIZED_TABLEGEN=ON