Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Created June 19, 2019 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save randyzwitch/9191e6218e47c5a81915937841ac7ca3 to your computer and use it in GitHub Desktop.
Save randyzwitch/9191e6218e47c5a81915937841ac7ca3 to your computer and use it in GitHub Desktop.
Compiling OmniSciDB for CentOS 7 with GPU support
# run image interactively
docker run -it --runtime=nvidia --rm nvidia/cuda:10.0-devel-centos7 bash
# update image
yum update -y && yum install git sudo -y
# clone project and download/install dependencies
git clone https://github.com/omnisci/omniscidb.git
bash /omniscidb/scripts/mapd-deps-prebuilt.sh
# load dependencies
source /etc/profile.d/modules.sh
module load cuda mapd-deps
# build project
mkdir -p /omniscidb/build && cd /omniscidb/build/
cmake -DCMAKE_BUILD_TYPE=debug -DPREFER_STATIC_LIBS=on ..
make -j 4
# run tests
make sanity_tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment