Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: update build instructions #48

Merged
merged 1 commit into from
Dec 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/development/building-kuzu.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_position: 1

** Note: This documentation is intended for developers who want to build Kùzu from source code. If you are a user who wants to use Kùzu, please refer to the [installation section](../installation.md) for downloading pre-built binaries for your platform. **

To build from source code, Kùzu requires Cmake(>=3.11), Python(>=3.7), and a compiler that supports C++20. Note that the header files of Python 3 are also required. The minimum supported version of C++ compilers is GCC 10, Clang 11, and MSVC 19.20. The preferred compiler on Linux is GCC; on macOS, Apple Clang; and on Windows, MSVC. On Linux, Clang is also tested. Other compilers which support C++20 may also work, but they are not tested.
To build from source code, Kùzu requires CMake(>=3.15), Python(>=3.9), and a compiler that supports C++20. The minimum supported version of C++ compilers is GCC 10, Clang 11, and MSVC 19.20. The preferred compiler on Linux is GCC; on macOS, Apple Clang; and on Windows, MSVC. On Linux, Clang is also tested. Other compilers which support C++20 may also work, but are not tested.

Below are the instructions for building Kùzu on Ubuntu 22.04 LTS, AlmaLinux 9.2, Arch Linux, macOS 12, and Windows 10. These instructions should also work for other similar platforms:

Expand All @@ -25,7 +25,7 @@ Below are the instructions for building Kùzu on Ubuntu 22.04 LTS, AlmaLinux 9.2

```bash
apt update
apt install -y build-essential cmake gcc g++ python3 python3-dev
apt install -y build-essential cmake gcc g++ python3
```

#### Build Kùzu
Expand All @@ -40,7 +40,7 @@ make release NUM_THREADS=$(nproc)

```bash
dnf update
dnf install -y cmake gcc gcc-c++ python3 python3-devel
dnf install -y cmake gcc gcc-c++ python3
```

#### Build Kùzu
Expand Down Expand Up @@ -146,6 +146,8 @@ To install the dependencies, please run the following command.
pip3 install -r tools/python_api/requirements_dev.txt
```

In addition, the python development headers are required. For example, on Ubuntu, the `python3-dev` package should be installed.

#### Build Python bindings

```bash
Expand Down