[postgis-tickets] r14383 - references #3369 patch sfcgal path to use linux/unix style path instead of windows drive letter path
Regina Obe
lr at pcorp.us
Sun Nov 15 10:49:15 PST 2015
Author: robe
Date: 2015-11-15 10:49:15 -0800 (Sun, 15 Nov 2015)
New Revision: 14383
Modified:
buildbots/windows/mingw64/scripts/build_sfcgal.sh
Log:
references #3369 patch sfcgal path to use linux/unix style path instead of windows drive letter path
Modified: buildbots/windows/mingw64/scripts/build_sfcgal.sh
===================================================================
--- buildbots/windows/mingw64/scripts/build_sfcgal.sh 2015-11-14 19:50:44 UTC (rev 14382)
+++ buildbots/windows/mingw64/scripts/build_sfcgal.sh 2015-11-15 18:49:15 UTC (rev 14383)
@@ -43,10 +43,14 @@
rm -rf build${OS_BUILD}${GCC_TYPE}
mkdir -p build${OS_BUILD}${GCC_TYPE}
cd build${OS_BUILD}${GCC_TYPE}
-cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=${PROJECTS}/CGAL/rel-sfcgal-${SFCGAL_VER}w${OS_BUILD}${GCC_TYPE} -DBoost_USE_STATIC_LIBS=ON -DCMAKE_CXX_FLAGS:STRING="-DBOOST_THREAD_USE_LIB -DBoost_USE_STATIC_LIBS -DBOOST_USE_WINDOWS_H" -DBOOST_ROOT:PATH=${PROJECTS}/boost/rel-${BOOST_VER_WU}w${OS_BUILD}${GCC_TYPE} cd ${PROJECTS}/cgal/sfcgal/branches/${SFCGAL_VER}
+cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=${PROJECTS}/CGAL/rel-sfcgal-${SFCGAL_VER}w${OS_BUILD}${GCC_TYPE} -DBoost_USE_STATIC_LIBS=ON -DCMAKE_CXX_FLAGS:STRING="-DBOOST_THREAD_USE_LIB -DBoost_USE_STATIC_LIBS -DBOOST_USE_WINDOWS_H" -DBOOST_ROOT:PATH=${PROJECTS}/boost/rel-${BOOST_VER_WU}w${OS_BUILD}${GCC_TYPE} ../SFCGAL-${SFCGAL_VER}
+
make
make install
cd ${PROJECTS}/CGAL/rel-sfcgal-${SFCGAL_VER}w${OS_BUILD}${GCC_TYPE}/bin
strip *.dll
#config file looks for dll in the lib folder instead of bin
cp ${PROJECTS}/CGAL/rel-sfcgal-${SFCGAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/*.dll ${PROJECTS}/CGAL/rel-sfcgal-${SFCGAL_VER}w${OS_BUILD}${GCC_TYPE}/lib
+
+#replace windows path format (drive latter) with unix path format
+sed -i "s/prefix=.*/prefix=${PROJECTS}/CGAL/rel-sfcgal-${SFCGAL_VER}w${OS_BUILD}${GCC_TYPE}/g" ${PROJECTS}/CGAL/rel-sfcgal-${SFCGAL_VER}w${OS_BUILD}${GCC_TYPE}/bin/sfcgal-config
More information about the postgis-tickets
mailing list