Skip to content

Commit

Permalink
Misc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
prmoore77 committed Mar 4, 2024
1 parent 86f4a1c commit 242e774
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions third_party/SQLite_CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 242e774

Please sign in to comment.