1. 30 Sep, 2016 1 commit
  2. 01 Mar, 2016 1 commit
  3. 24 Nov, 2015 2 commits
  4. 18 Jan, 2015 1 commit
  5. 16 Dec, 2014 1 commit
  6. 15 Dec, 2014 1 commit
  7. 27 Jan, 2014 1 commit
  8. 10 May, 2013 1 commit
  9. 08 Jan, 2013 2 commits
  10. 07 Jan, 2013 1 commit
  11. 11 Dec, 2012 1 commit
  12. 16 Nov, 2012 1 commit
  13. 26 Apr, 2012 1 commit
  14. 02 Apr, 2012 2 commits
  15. 27 Mar, 2012 1 commit
  16. 22 Jul, 2011 1 commit
  17. 13 May, 2011 1 commit
  18. 26 Feb, 2010 1 commit
  19. 23 Feb, 2010 1 commit
  20. 22 Feb, 2010 1 commit
  21. 22 Dec, 2009 1 commit
  22. 21 Oct, 2009 1 commit
  23. 20 Oct, 2009 1 commit
  24. 28 May, 2009 2 commits
    • graham's avatar
      Tidying up CGAL and boost inclusion. Removed the CGAL_PATH variable, using · f35943a8
      graham authored
      CGAL_SRC for everything.  Changed location of CGAL_FILES "files".
      
      Updated old meshers with new options.
      
      in .bashrc using this environment:
      
      ~~~~~~~~~~~
      export BOOST_LIB_VERSION=1_39
      export BOOST_PATCH_LEVEL=_0
      export BOOST_COMPILER=gcc43
      
      export BOOST_VERSION=$BOOST_LIB_VERSION$BOOST_PATCH_LEVEL
      export BOOST_ROOT=$WM_THIRD_PARTY_DIR/boost_$BOOST_VERSION
      
      export CGAL_VERSION=3.4
      export CGAL_SRC=$WM_THIRD_PARTY_DIR/CGAL-$CGAL_VERSION
      ~~~~~~~~~~~
      
      and have written a script call makeCGAL to build and configure boost and CGAL:
      
      ~~~~~~~~~~~
      
      BOOST_ARCH_PATH=${BOOST_ROOT}/platforms/${WM_OPTIONS}
      
      cd ${BOOST_ROOT}
      
      rm -rf ${BOOST_ARCH_PATH}
      
      ./bootstrap.sh \
          --with-libraries=thread \
          --libdir=$BOOST_ARCH_PATH/lib \
          --includedir=$BOOST_ROOT/include
      
      if [ -r /proc/cpuinfo ]
      then
          WM_NCOMPPROCS=$(egrep "^processor" /proc/cpuinfo | wc -l)
          [ $WM_NCOMPPROCS -le 8 ] || WM_NCOMPPROCS=8
      
          time ./bjam -j $WM_NCOMPPROCS install
      else
          time ./bjam install
      fi
      
          echo "Done boost"
      
          cd ${CGAL_SRC}
      
      BOOST_VERSION_NO=`grep "#define BOOST_VERSION " \
          ${BOOST_ROOT}/include/boost-${BOOST_LIB_VERSION}/boost/version.hpp \
          | cut -d " " -f 3`
      
      cmake \
          -DGMP_INCLUDE_DIR=${WM_THIRD_PARTY_DIR}/gmp-4.2.4 \
          -DGMP_LIBRARIES_DIR=${WM_THIRD_PARTY_DIR}/gmp-4.2.4/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib \
          -DGMP_LIBRARIES=${WM_THIRD_PARTY_DIR}/gmp-4.2.4/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib/libgmp.so \
          -DMPFR_INCLUDE_DIR=${WM_THIRD_PARTY_DIR}/mpfr-2.4.1 \
          -DMPFR_LIBRARIES_DIR=${WM_THIRD_PARTY_DIR}/mpfr-2.4.1/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib \
          -DMPFR_LIBRARIES=${WM_THIRD_PARTY_DIR}/mpfr-2.4.1/platforms/${WM_ARCH}${WM_COMPILER_ARCH}/lib/libmpfr.so \
          -DBoost_INCLUDE_DIR=${BOOST_ROOT}/include/boost-${BOOST_LIB_VERSION} \
          -DBoost_LIBRARY_DIRS=$BOOST_ARCH_PATH/lib \
          -DBoost_THREAD_LIBRARY=$BOOST_ARCH_PATH/lib/libboost_thread-${BOOST_COMPILER}-mt-${BOOST_LIB_VERSION}.so \
          -DBoost_THREAD_LIBRARY_RELEASE=$BOOST_ARCH_PATH/lib/libboost_thread-${BOOST_COMPILER}-mt-${BOOST_LIB_VERSION}.so \
          -DBoost_VERSION=$BOOST_VERSION_NO \
          ${CGAL_SRC}
      
      echo "\${CGAL_SRC}/src/CGAL/assertions.cpp" > ${CGAL_SRC}/src/CGAL/files
      echo "\${CGAL_SRC}/src/CGAL/MP_Float.cpp" >> ${CGAL_SRC}/src/CGAL/files
      echo "\${CGAL_SRC}/src/CGAL/Random.cpp" >> ${CGAL_SRC}/src/CGAL/files
      echo "\${CGAL_SRC}/src/CGAL/io.cpp" >> ${CGAL_SRC}/src/CGAL/files
      
      echo "Done CGAL"
      f35943a8
    • graham's avatar
      Modifying options for building with boost to make sure that the ThirdParty · 901bd023
      graham authored
      version is being used.
      901bd023
  25. 08 Apr, 2009 1 commit
  26. 03 Apr, 2009 1 commit
  27. 01 Apr, 2009 1 commit
  28. 30 Mar, 2009 1 commit
  29. 20 Mar, 2009 1 commit
  30. 18 Mar, 2009 1 commit
  31. 17 Mar, 2009 1 commit
  32. 24 Feb, 2009 1 commit
  33. 11 Feb, 2009 1 commit
  34. 09 Feb, 2009 1 commit
    • graham's avatar
      Using CGAL-3.4. Requires to be linked to compiled boost thread library. In... · bb278906
      graham authored
      Using CGAL-3.4.  Requires to be linked to compiled boost thread library.  In this commit it is hard-coded to -lboost_thread-gcc43-mt-1_37, i.e. boost version 1.37.0, will need to be parameterised.  CGAL does not need to be compiled, as before, and needs the CGAL-3.4/src/files file as before, but the compiler_config.h file, written by cmake, is now included from CGAL/3.4/include/CGAL, where it has been editted to remove the use of GMP.  To use the CMP libraries, add -lgmpxx -lmpfr -lgmp to Make/options - there is little (2%) obvious performance benefit to creating a DT with GMP.  -frounding-math is a required option  - when running in debug assertions failures occur without it when using an exact construction.
      bb278906
  35. 21 Jan, 2009 2 commits