Last active
May 16, 2019 18:04
-
-
Save randyzwitch/6cadf70cff7b03e807feb0f7c58f3f26 to your computer and use it in GitHub Desktop.
Compiling OmniSci Core on Ubuntu 18.04 LTS with GPU support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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