duckdb / duckdb/extension-template

Docker image to build/test extensions?

Open
#100 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
290
Forks
116
PR merge metrics
No merged PRs in 30d

Description

I noticed that this template checks out a copy of the duckdb source as a submodule, builds it along with the extension to execute tests etc. While there may be legit reasons because of which things are set up this way, I'm curious to see if anyone has a docker image with a pre-built duckdb that allows me to mount my extension as a volume to build and test.

Benefits:

* Hopefully faster build times. Even with ninja/ccache, I was running into OOMs and long build times on a 8C/16T laptop with 8GB
* Unexplained recompilation - repeating `make` after a successful build should do nothing. But I found it rebuild a small number of things for reasons that are not clear. Culprits: jemalloc, relinking a few things.
* Faster edit/compile/debug flows for extension developers

The closest thing I could find is this [community docker](https://github.com/getkoala/libduckdb-docker). It can build a ruby extension, but not a C++ extension.

Not a bug. But more of a feature request or a discussion topic.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.