Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.76 KB

README.md

File metadata and controls

71 lines (48 loc) · 1.76 KB

BusTub Logo


linux windows codecov

BusTub is a disk-oriented relational database management system built at Carnegie Mellon University for the Introduction to Database Systems (15-445/645) course.

Gradescope

As for November 30, 2021.

  • Buffer Pool Manager
  • Hash Index
  • Query Execution
  • Concurrency Control (No LeaderBoard)

Build

Linux

To ensure that you have the proper packages on your machine, run the following script to automatically install them.

Note: This script will install gtest using vcpkg.

$ sudo build_support/packages.sh

Then run the following commands to build the system:

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug -GNinja ..
$ ninja

Windows

$ .\build_support\packages.bat

Use visual studio to open the folder, then you're done.

Note: The version of visual studio I am using is Visual Studio Community 2022 preview

Format

$ cd build
$ ninja format

Static Analysis

$ cd build
$ ninja check-lint
$ ninja check-clang-tidy

Testing

$ cd build
$ ninja check-tests