Skip to content

Commit

Permalink
Document CORE_EXTENSIONS flag
Browse files Browse the repository at this point in the history
  • Loading branch information
szarnyasg committed Sep 5, 2024
1 parent ee3ca81 commit c4a10fb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/dev/building/build_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,24 @@ GEN=ninja make

> Bestpractice It is not advised to directly call CMake, as the Makefile sets certain variables that are crucial to properly building the package.
For testing, it can be useful to build DuckDB with statically linked core extensions. To do so, run:

```bash
CORE_EXTENSIONS='autocomplete;icu;parquet;json' GEN=ninja make
```

This option also accepts out-of-tree extensions:

```bash
CORE_EXTENSIONS='autocomplete;icu;parquet;json;delta' GEN=ninja make
```

For more details, see the [“Building Extensions” page]({% link docs/dev/building/building_extensions.md %}).

## Troubleshooting

### The Build Runs Out of Memory

Ninja parallelizes the build, which can cause out-of-memory issues on systems with limited resources. They also occur on Alpine Linux. In these cases, avoid using Ninja:

```bash
Expand Down

0 comments on commit c4a10fb

Please sign in to comment.