Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Last active May 16, 2019 18:04
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/6cadf70cff7b03e807feb0f7c58f3f26 to your computer and use it in GitHub Desktop.
Save randyzwitch/6cadf70cff7b03e807feb0f7c58f3f26 to your computer and use it in GitHub Desktop.
Compiling OmniSci Core on Ubuntu 18.04 LTS with GPU support
# run image interactively
docker run -it --runtime=nvidia --rm nvidia/cuda:10.1-devel-ubuntu18.04 bash
# update image
apt update && apt upgrade -y
# sudo only needed because its used inside of dependency install script
# software-properties-common allows for add-apt-repository
# git needed for cloning mapd-core repo
apt install git sudo software-properties-common -y
# clone mapd-core
git clone https://github.com/omnisci/omniscidb.git
bash /omniscidb/scripts/mapd-deps-ubuntu.sh
source /usr/local/mapd-deps/mapd-deps.sh
# build OmniSci
mkdir /omniscidb/build && cd /omniscidb/build
cmake -DCMAKE_BUILD_TYPE=debug ..
make -j 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment