diff --git a/Dockerfile b/Dockerfile index 76c6510..aca8f38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,7 +81,7 @@ COPY --chown=app_user:app_user ./third_party ./third_party COPY --chown=app_user:app_user ./src ./src # Run the CMake build (then cleanup) -RUN cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr/local && \ +RUN cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local && \ cmake --build build --target install && \ rm -rf build src third_party CMakeLists.txt diff --git a/README.md b/README.md index 68a0640..bb166a5 100644 --- a/README.md +++ b/README.md @@ -236,10 +236,8 @@ git clone https://github.com/voltrondata/flight-sql-server-example --recurse-sub cd flight-sql-server-example # Build and install the static library and executable -mkdir build -cd build -cmake -S .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local -cmake --build . --target install +cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local +cmake --build build --target install ``` 2. Install Python requirements for ADBC client interaction - (ensure you have Python 3.9+ installed first) diff --git a/third_party/SQLite_CMakeLists.txt.in b/third_party/SQLite_CMakeLists.txt.in index ebce67f..a092cc6 100644 --- a/third_party/SQLite_CMakeLists.txt.in +++ b/third_party/SQLite_CMakeLists.txt.in @@ -9,6 +9,7 @@ include(ExternalProject) ExternalProject_Add( sqlite_project URL "https://www.sqlite.org/2024/sqlite-autoconf-3450100.tar.gz" + DOWNLOAD_EXTRACT_TIMESTAMP TRUE PREFIX "${CMAKE_BINARY_DIR}/third_party/sqlite" CONFIGURE_COMMAND ../sqlite_project/configure "CFLAGS=-DSQLITE_ENABLE_COLUMN_METADATA=1" BUILD_COMMAND make