-
Notifications
You must be signed in to change notification settings - Fork 45
CGAL support
Florian Knoop edited this page Sep 17, 2024
·
1 revision
Disclaimer: These instructions were tested for v5.6.1: https://github.com/CGAL/cgal/releases/tag/v5.6.1
Steps:
- Download CGAL: https://github.com/CGAL/cgal/releases
- Install CGAL e.g. using something similar to
install.shbelow - compile TDEP with CGAL support adapting one of the
important_settings*.cgaltemplates
#!/bin/bash
module load buildenv-gcc/2022a-eb
INSTALL="/some/path/local/CGAL/cgal-5.6.1/build"
mkdir -p $INSTALL
cd $INSTALL
cmake -DCMAKE_INSTALL_PREFIX:STRING=$INSTALL \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_BUILD_TYPE=Release \
.. | tee cmake.log
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_BUILD_TYPE=Debug \
make -j 4 | tee make.log
make install