Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Created May 30, 2019 19:49
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/dffa9400a893590d22078e8bba756cd8 to your computer and use it in GitHub Desktop.
Save randyzwitch/dffa9400a893590d22078e8bba756cd8 to your computer and use it in GitHub Desktop.
Compiling OmniSciDB on CentOS 7 for CPU-only
# 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