Skip to content

Commit

Permalink
parse args and deal with cgal
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Dec 30, 2024
1 parent 9d3944d commit e6d54c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/scripts/mknemo.d/falcON2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ branch=master
branch=autoconf # during development
cgal=0

for arg in "$@"; do
export "$arg"
done

echo "falcON2: using url=$url and git branch=$branch"

Expand All @@ -37,14 +40,16 @@ source falcon_start.sh

# if a local version is needed
if [ $cgal = 1 ]; then
ln -s inc include
v=5.6.2
wget https://github.com/CGAL/cgal/releases/download/v${v}/CGAL-${v}.tar.xz
tar xf CGAL-${v}.tar.xz
cd CGAL-${v}
pushd CGAL-${v}
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$FALCON ..
make install
popd
fi


Expand Down

0 comments on commit e6d54c5

Please sign in to comment.