Results of 1 - 10 of about 14 for cmake (0.001 sec.)
- Linux 11920
- Prerequisites On Linux, install the required packages with the package manager of your distribution. Ubuntu and Debian CLI Client On Ubuntu and Debian (and also MX Linux, Linux Mint, etc.), the requirements for building the DuckDB CLI clien
...t are the following: sudo apt-get update sudo apt-get install -y git g++ cmake ninja-build libssl-dev libcurl4-openssl-dev git clone https://github.com/duckdb/duckdb cd duckdb GEN=ninja make Fedora, Ce...DuckDB CLI client on Fedora, CentOS, Red Hat, AlmaLinux, Rocky Linux, etc. are the following: sudo yum install -y git g++ cmake ninja-build openssl-devel git clone https://github.com/duckdb/duckdb cd duckdb GEN=ninja make Note that on older Red Hat-b...ckage name for g++ to gcc-c++ , skip Ninja and manually configure the number of Make jobs: sudo yum install -y git gcc-c++ cmake openssl-devel git clone https://github.com/duckdb/duckdb cd duckdb mkdir build cd build cmake .. make -j`nproc` Arch Linux... - https://man.mtool.work/duckdb/2.0/dev/building/linux.html
- Windows 11518
- On Windows, DuckDB requires the Microsoft Visual C++ Redistributable package both as a build-time and runtime dependency. Note that unlike the build process on UNIX-like systems, the Windows builds directly call CMake. Clang-cl To build Duc
...with the “Desktop development with C++” workload and the “C++ Clang Compiler for Windows” component. You also need Python, CMake, Ninja and a Bash shell with GNU Make (e.g., Git Bash with make installed). Open a shell where the Visual Studio environme...CC=clang-cl export CXX=clang-cl python scripts/windows_ci.py make windows_release The make windows_release target invokes CMake with the bundled extensions configuration ( .github/config/bundled_extensions.cmake ) and builds DuckDB in Release mode. M...(default=all) , select the default option by pressing Enter . pacman -Syu git mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja git clone https://github.com/duckdb/duckdb cd duckdb cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -D... - https://man.mtool.work/duckdb/2.0/dev/building/windows.html
- Android 11448
- DuckDB has experimental support for Android. Please use the latest main branch of DuckDB instead of the stable versions. Building the DuckDB Library Using the Android NDK We provide build instructions for setups using macOS and Android Stud
...follows: bash PLATFORM_NAME="android_${ANDROID_ABI}" BUILDDIR=./build/${PLATFORM_NAME} mkdir -p ${BUILDDIR} cd ${BUILDDIR} cmake \ -G "Ninja" \ -DEXTENSION_STATIC_BUILD=1 \ -DDUCKDB_EXTRA_LINK_FLAGS="-llog" \ -DBUILD_EXTENSIONS=${DUCKDB_EXTENSIONS} \...-DENABLE_EXTENSION_AUTOLOADING=1 \ -DENABLE_EXTENSION_AUTOINSTALL=1 \ -DCMAKE_VERBOSE_MAKEFILE=on \ -DANDROID_PLATFORM=${ANDROID_PLATFORM} \ -DLOCAL_EXTENSION_REPO="" \ -DOVERRIDE_GIT_DESCRIBE="" \ -D...DUCKDB_EXPLICIT_PLATFORM=${PLATFORM_NAME} \ -DBUILD_UNITTESTS=0 \ -DBUILD_SHELL=1 \ -DANDROID_ABI=${ANDROID_ABI} \ -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \ -DCMAKE_BUILD_TYPE=Release ../.. cmake \ --build . \ -... - https://man.mtool.work/duckdb/2.0/dev/building/android.html
- Python 10257
- The DuckDB Python package has its own repository at duckdb/duckdb-python and uses nanobind 3 to create Python bindings with DuckDB. Prerequisites This guide assumes: You have a full clone of the DuckDB Python package source, including its g
...-Specific Setup All Platforms Python 3.11 or later; free-threaded builds of CPython are not supported uv >= 0.8.0 required CMake, Ninja, nanobind and the NumPy headers (installed via UV) C++ compiler toolchain Linux On Ubuntu, install the following pa...efault with scikit-build-core using a persistent build-dir * The build happens in an isolated, ephemeral environment where cmake's paths point to non-existing directories * Installing dependencies first, then building without isolation ensures proper....venv uv.lock IDE Setup (CLion) For CLion users, the project can be configured for C++ debugging of the Python extension: CMake Profile Configuration In Settings → Build, Execution, Deployment → CMake , create a Debug profile: Name: Debug Build type:... - https://man.mtool.work/duckdb/2.0/dev/building/python.html
- Building Extensions 9085
- Extensions can be built from source and installed from the resulting local binary. Building Extensions To build using extension flags, set the BUILD_EXTENSIONS flag to the list of extensions that you want to be built. For example: BUILD_EXT
...est, print a stack trace. This is useful when debugging a crash that is hard to pinpoint with a debugger attached. Using a CMake Configuration File To build using a CMake configuration file, create an extension configuration file named extension_confi...g.cmake with e.g., the following content: duckdb_extension_load(autocomplete) duckdb_extension_load(tpch) duckdb_extension_load(tp...extension_load(json) duckdb_extension_load(parquet) Build DuckDB as follows: GEN=ninja EXTENSION_CONFIGS="extension_config.cmake" make Then, to install the extensions in one go, run: # for release builds cd build/release/extension/ # for debug builds... - https://man.mtool.work/duckdb/2.0/dev/building/building_extensions.html
- Raspberry Pi 8524
- DuckDB is not officially distributed for the Raspberry Pi OS (previously called Raspbian). You can build it following the instructions on this page. Raspberry Pi (64-bit) First, install the required build packages: sudo apt-get update sudo
...apt-get install -y git g++ cmake ninja-build Then, clone and build it as follows: git clone https://github.com/duckdb/duckdb cd duckdb GEN=ninja BUILD_EXTE...e not distributed for this platform, it's recommended to also include them in the build. For example: mkdir build cd build cmake .. \ -DBUILD_EXTENSIONS="httpfs;json;parquet" \ -DDUCKDB_EXTRA_LINK_FLAGS="-latomic" make -j4... - https://man.mtool.work/duckdb/2.0/dev/building/raspberry_pi.html
- Building Configuration 8122
- Build Types DuckDB can be built in many different settings, most of these correspond directly to CMake but not all of them. release This build has been stripped of all the assertions and debug symbols and code, optimized for performance. de
...a build, but uses the following format checkers to check for style issues: clang-format to fix format issues in the code. cmake-format to fix format issues in the CMakeLists.txt files. The CI will also run this check, causing it to fail if this check...ot set and Git is not available, DuckDB falls back to a placeholder version and commit hash, and logs a message during the CMake configuration step. The build still succeeds.... - https://man.mtool.work/duckdb/2.0/dev/building/build_configuration.html
- ODBC 101: A Duck Themed Guide to ODBC 8122
- What is ODBC? ODBC which stands for Open Database Connectivity, is a standard that allows different programs to talk to different databases including, of course, DuckDB. This makes it easier to build programs that work with many different d
...in your CFLAGS . For MAKEFILE : CFLAGS=-I/usr/local/include # or CFLAGS=-I/opt/homebrew/Cellar/unixodbc/2.3.11/include For CMAKE : include_directories(/usr/local/include) # or include_directories(/opt/homebrew/Cellar/unixodbc/2.3.11/include) You also...have to link the library in your CMAKE or MAKEFILE . For CMAKE : target_link_libraries(ODBC_application /path/to/duckdb_odbc/libduckdb_odbc.dylib) For MAKEFILE :...he database and frees the handles, and includes a function to check the return value of ODBC functions. It also includes a CMakeLists.txt file that can be used to build the application. Sample .cpp File #include <iostream> #include <sql.h> #include <s... - https://man.mtool.work/duckdb/2.0/guides/odbc/general.html
- Rust Client 7807
- Installation To use the DuckDB Rust client, visit the Rust installation page . The latest stable version of the DuckDB Rust client is 2.0.0. The DuckDB Rust client, duckdb-rs , is an ergonomic wrapper over the DuckDB C API that exposes an i
...Feature Enables bundled Compile DuckDB from the bundled source with the cc crate, so no system library is needed. bundled-cmake Experimental. Compile the bundled source with DuckDB's upstream CMake build instead of cc , which is required for the bund...ng Parquet , statically linked. Bundled Extensions Each statically links the matching bundled extension. All imply bundled-cmake , so they need a git checkout. Feature Enables autocomplete The autocomplete extension. icu The ICU extension for locale-a... - https://man.mtool.work/duckdb/2.0/clients/rust/overview.html
- Unofficial and Unsupported Platforms 7649
- Warning The platforms listed on this page are not officially supported. The build instructions are provided on a best-effort basis. Community contributions are very welcome. DuckDB is built and distributed for several platforms with differe
...emiT K1 , rv64gc, 8 cores @ 1.6 GHz, 16 GB RAM) running Debian Trixie: sudo apt-get update sudo apt-get install -y git g++ cmake ninja-build git clone --depth=1 https://github.com/duckdb/duckdb cd duckdb mkdir build && cd build cmake .. -DCMAKE_BUILD_... - https://man.mtool.work/duckdb/2.0/dev/building/unofficial_and_unsupported_platfo...
DuckDB 2.0 Documentation / man.mtool.work