Skip to content

Commit

Permalink
vagrant: install dependency sfcgal 1.3.5
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Aug 4, 2018
1 parent 67e4855 commit e234f11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
"libogdi3.2-dev",
"libcfitsio3-dev",
"libfyba-dev",
"libsfcgal-dev",
# "libsfcgal-dev", # 1.2.2
"couchdb",
"libmongo-client-dev",
"libqhull-dev",
Expand Down
14 changes: 7 additions & 7 deletions gdal/scripts/vagrant/sfcgal.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
# Build CGAL
wget https://gforge.inria.fr/frs/download.php/file/34400/CGAL-4.5.1.tar.gz
tar xf CGAL-4.5.1.tar.gz
wget https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.11.3/CGAL-4.11.3.tar.xz
tar xf CGAL-4.11.3.tar.xz
(cd CGAL-4.11.3 && cmake . && make && sudo make install)
#rm -rf CGAL-4.11.3 CGAL-4.11.3.tar.gz

(cd CGAL-4.5.1 && cmake . && make && sudo make install)
rm -rf CGAL-4.5.1 CGAL-4.5.1.tar.gz
# Build SFCGAL
wget https://codeload.github.com/Oslandia/SFCGAL/tar.gz/v1.3.0 -O SFCGAL1.3.0.tar.gz
tar xf SFCGAL1.3.0.tar.gz
(cd SFCGAL-1.3.0 && cmake . && make && sudo make install)
wget https://codeload.github.com/Oslandia/SFCGAL/tar.gz/v1.3.5 -O SFCGAL1.3.5.tar.gz
tar xf SFCGAL1.3.5.tar.gz
(cd SFCGAL-1.3.5 && cmake . && make && sudo make install)
sudo ldconfig

0 comments on commit e234f11

Please sign in to comment.