Skip to content

Commit

Permalink
Merge pull request #3538 from szarnyasg/CORE_EXTENSIONS-option
Browse files Browse the repository at this point in the history
Document CORE_EXTENSIONS flag
  • Loading branch information
szarnyasg committed Sep 5, 2024
2 parents ee3ca81 + c4a10fb commit de32424
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 de32424

Please sign in to comment.