You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jk...@apache.org on 2017/04/27 18:09:56 UTC
thrift git commit: THRIFT-4184: fix appveyor build issue with escaped
character sequence in boost path
Repository: thrift
Updated Branches:
refs/heads/master 177b5691b -> 19baeefd8
THRIFT-4184: fix appveyor build issue with escaped character sequence in boost path
This closes #1259
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/19baeefd
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/19baeefd
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/19baeefd
Branch: refs/heads/master
Commit: 19baeefd8c38d62085891d7956349601f79448b3
Parents: 177b569
Author: James E. King, III <jk...@apache.org>
Authored: Thu Apr 27 14:09:31 2017 -0400
Committer: James E. King, III <jk...@apache.org>
Committed: Thu Apr 27 14:09:31 2017 -0400
----------------------------------------------------------------------
build/appveyor/cl_setenv.bat | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/19baeefd/build/appveyor/cl_setenv.bat
----------------------------------------------------------------------
diff --git a/build/appveyor/cl_setenv.bat b/build/appveyor/cl_setenv.bat
index c1b956c..e80d6b5 100644
--- a/build/appveyor/cl_setenv.bat
+++ b/build/appveyor/cl_setenv.bat
@@ -21,7 +21,7 @@
) ELSE IF "%PROFILE%" == "MSVC2015" (
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
) ELSE IF "%PROFILE%" == "MSVC2017" (
- CALL "C:\Program Files (x86)\Microsoft Visual Studio 15.0\VC\vcvarsall.bat" %PLATFORM%
+ CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat" %PLATFORM%
) ELSE IF "%PROFILE%" == "MINGW" (
SET MSYS2_PATH_TYPE=stock
) ELSE IF "%PROFILE%" == "MSYS" (
@@ -44,8 +44,9 @@ SET SRCDIR=%APPVEYOR_BUILD_FOLDER%
SET NORM_PLATFORM=%PLATFORM:~-2,2%
IF "%NORM_PLATFORM%" == "86" (SET NORM_PLATFORM=32)
-SET BOOST_ROOT=C:\Libraries\boost_%BOOST_VERSION:.=_%
-SET BOOST_LIBRARYDIR=%BOOST_ROOT%\lib%NORM_PLATFORM%-msvc-%COMPILER:~-3,2%.0
+:: FindBoost needs forward slashes so cmake doesn't see something as an escaped character
+SET BOOST_ROOT=C:/Libraries/boost_%BOOST_VERSION:.=_%
+SET BOOST_LIBRARYDIR=%BOOST_ROOT%/lib%NORM_PLATFORM%-msvc-%COMPILER:~-3,2%.0
SET OPENSSL_ROOT=C:\OpenSSL-Win%NORM_PLATFORM%
SET WIN3P=%APPVEYOR_BUILD_FOLDER%\thirdparty