Skip to content

indigophox/warpdrive

 
 

Repository files navigation

Warpdrive

Developing with Docker

Warpdrive for Linux currently builds only on CentOS 7. There is a Dockerfile based on CentOS 7 image containing all the dependencies needed for building and developing Warpdrive.

  1. First you need to build the Dockerfile:
docker build -t warpdrive .
  1. Then you can start a container binding volumes for warpdrive, flightsql-odbc and arrow repos:
docker run -it \
  -v /PATH_TO_LOCAL_WARPDRIVE_REPO:/opt/warpdrive \
  -v /PATH_TO_LOCAL_FLIGHTSQL_ODBC_REPO:/opt/flightsql-odbc \
  -v /PATH_TO_LOCAL_ARROW_REPO:/opt/arrow \
  --rm --name warpdrive \
  --add-host=host.docker.internal:host-gateway \
  warpdrive:latest bash

NOTE: Be sure to replace PATH_TO_LOCAL_..._REPO to the actual paths on your computer.

  1. To build Warpdrive inside of this container, simply run ./build.sh.

The build will generate a binary /opt/warpdrive/_build/release/libarrow-odbc.so. which is the driver to be loaded on ODBC tools such as odbcinst and iodbc.

  1. To run the ODBC Integration tests (in the container)
export DSN=FlightSQL

./_build/release/warpdrive_tests > tests.log

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 79.7%
  • C 9.3%
  • CMake 7.4%
  • PowerShell 2.6%
  • Shell 0.5%
  • Batchfile 0.2%
  • Other 0.3%