Skip to content

Instantly share code, notes, and snippets.

@panda1100
Created January 30, 2018 04:23
Show Gist options
  • Save panda1100/17f0946c465fe349557116696d7107c8 to your computer and use it in GitHub Desktop.
Save panda1100/17f0946c465fe349557116696d7107c8 to your computer and use it in GitHub Desktop.
paraview superbuild example procedures
git clone --recursive https://gitlab.kitware.com/paraview/paraview-superbuild.git
cd paraview-superbuild
git fetch origin # ensure you have the latest state from the main repo
git checkout v5.4.0 # replace `v5.4.1` with tag name of your choice
git submodule init
git submodule update
mkdir ../build #cmake complains build_dir must not located under git repo
cd ../build
export CC=/PATH/TO/YOUR_GCC/bin/gcc
export CXX=/PATH/TO/YOUR_GCC/bin/g++
ccmake ../paraview-superbuild
cd ../paraview-superbuild
make -j8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment