Skip to content

Commit 7a0fe8e

Browse files
[Win] Cygwin 64-bit EWS process cannot find Visual Studio installation.
https://bugs.webkit.org/show_bug.cgi?id=177244 Reviewed by Alex Christensen. The 64-bit EWS shell process should try to find Visual Studio in the 32-bit program files folder. * EWSTools/start-queue-win.sh: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@222458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 7c256c4 commit 7a0fe8e

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

Tools/ChangeLog

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2017-09-25 Per Arne Vollan <[email protected]>
2+
3+
[Win] Cygwin 64-bit EWS process cannot find Visual Studio installation.
4+
https://bugs.webkit.org/show_bug.cgi?id=177244
5+
6+
Reviewed by Alex Christensen.
7+
8+
The 64-bit EWS shell process should try to find Visual Studio in the 32-bit program files folder.
9+
10+
* EWSTools/start-queue-win.sh:
11+
112
2017-09-25 Alex Christensen <[email protected]>
213

314
Add WKContentRuleList notify action type

Tools/EWSTools/start-queue-win.sh

+9-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ function start_ews()
1212
{
1313
trap 'error_handler ${LINENO} $?' ERR
1414

15-
"$PROGRAMFILES/Microsoft Visual Studio 14.0/VC/vcvarsall.bat"
15+
if [[ $PROGRAMFILES =~ "(x86)" ]]
16+
then
17+
PROGRAMFILES_X86=$PROGRAMFILES
18+
else
19+
PROGRAMFILES_X86="$PROGRAMFILES (x86)"
20+
fi
21+
22+
"$PROGRAMFILES_X86/Microsoft Visual Studio 14.0/VC/vcvarsall.bat"
1623

1724
while :
1825
do
@@ -24,7 +31,7 @@ function start_ews()
2431
find ~/win-ews-logs -mtime +7 -exec rm -f {} \;
2532
echo "TASK: Starting up"
2633
cd ~/WebKit
27-
export VSINSTALLDIR="$PROGRAMFILES\Microsoft Visual Studio 14.0"
34+
export VSINSTALLDIR="$PROGRAMFILES_X86\Microsoft Visual Studio 14.0"
2835
echo "TASK: Cleaning WebKitBuild"
2936
rm -rf WebKitBuild
3037
date

0 commit comments

Comments
 (0)