Created
May 30, 2019 19:49
-
-
Save randyzwitch/dffa9400a893590d22078e8bba756cd8 to your computer and use it in GitHub Desktop.
Compiling OmniSciDB on CentOS 7 for CPU-only
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 centos bash | |
# update image | |
yum update -y && yum install git sudo -y | |
# clone repo and install build dependencies | |
git clone https://github.com/omnisci/omniscidb.git | |
bash /omniscidb/scripts/mapd-deps-prebuilt.sh | |
# make build dependencies available | |
source /etc/profile.d/modules.sh | |
module load cuda mapd-deps | |
# create build directory, use cmake to set up paths and make to compile | |
mkdir -p /omniscidb/build && cd /omniscidb/build/ | |
cmake -DCMAKE_BUILD_TYPE=debug -DENABLE_CUDA=off -DPREFER_STATIC_LIBS=on .. | |
make -j 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment