17
17
18
18
@ echo on
19
19
20
- set " PATH = C:\Miniconda37-x64;C:\Miniconda37-x64\Scripts;C:\Miniconda37-x64\Library\bin;%PATH% "
21
- set BOOST_ROOT = C:\Libraries\boost_1_67_0
22
- set BOOST_LIBRARYDIR = C:\Libraries\boost_1_67_0\lib64-msvc-14.0
20
+ set " PATH = C:\Miniconda38-x64;C:\Miniconda38-x64\Scripts;C:\Miniconda38-x64\Library\bin;%PATH% "
23
21
24
22
@ rem
25
23
@ rem Avoid picking up AppVeyor-installed OpenSSL (linker errors with gRPC)
@@ -31,6 +29,8 @@ rd /s /q C:\OpenSSL-v11-Win32
31
29
rd /s /q C:\OpenSSL-v11-Win64
32
30
rd /s /q C:\OpenSSL-v111-Win32
33
31
rd /s /q C:\OpenSSL-v111-Win64
32
+ rd /s /q C:\OpenSSL-v30-Win32
33
+ rd /s /q C:\OpenSSL-v30-Win64
34
34
35
35
@ rem
36
36
@ rem Configure miniconda
@@ -52,47 +52,35 @@ conda install -q -y -c conda-forge mamba python=3.9 || exit /B
52
52
mamba update -q -y -c conda-forge --all || exit /B
53
53
54
54
@ rem
55
- @ rem Create conda environment for Build and Toolchain jobs
55
+ @ rem Create conda environment
56
56
@ rem
57
- @ rem Avoid Boost 1.70 because of https://github.com/boostorg/process/issues/85
58
57
59
58
set CONDA_PACKAGES =
60
59
61
60
if " %ARROW_BUILD_GANDIVA% " == " ON" (
62
61
@ rem Install llvmdev in the toolchain if building gandiva.dll
63
62
set CONDA_PACKAGES = %CONDA_PACKAGES% --file=ci\conda_env_gandiva_win.txt
64
63
)
65
- if " %JOB% " == " Toolchain" (
66
- @ rem Install pre-built "toolchain" packages for faster builds
67
- set CONDA_PACKAGES = %CONDA_PACKAGES% --file=ci\conda_env_cpp.txt
68
- )
69
- if " %JOB% " NEQ " Build_Debug" (
70
- @ rem Arrow conda environment is only required for the Build and Toolchain jobs
71
- mamba create -n arrow -q -y -c conda-forge ^
72
- --file=ci\conda_env_python.txt ^
73
- %CONDA_PACKAGES% ^
74
- " cmake" ^
75
- " ninja" ^
76
- " nomkl" ^
77
- " pandas" ^
78
- " fsspec" ^
79
- " python=%PYTHON% " ^
80
- || exit /B
81
- )
64
+ @ rem Install pre-built "toolchain" packages for faster builds
65
+ set CONDA_PACKAGES = %CONDA_PACKAGES% --file=ci\conda_env_cpp.txt
66
+ @ rem Arrow conda environment
67
+ mamba create -n arrow -q -y -c conda-forge ^
68
+ --file=ci\conda_env_python.txt ^
69
+ %CONDA_PACKAGES% ^
70
+ " cmake" ^
71
+ " ninja" ^
72
+ " nomkl" ^
73
+ " pandas" ^
74
+ " fsspec" ^
75
+ " python=%PYTHON% " ^
76
+ || exit /B
82
77
83
78
@ rem
84
79
@ rem Configure compiler
85
80
@ rem
86
- if " %GENERATOR% " == " Ninja" set need_vcvarsall = 1
87
- if defined need_vcvarsall (
88
- if " %APPVEYOR_BUILD_WORKER_IMAGE% " NEQ " Visual Studio 2017" (
89
- @ rem ARROW-14070 Visual Studio 2015 no longer supported
90
- exit /B
91
- )
92
- call " C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
93
- set CC = cl.exe
94
- set CXX = cl.exe
95
- )
81
+ call " C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
82
+ set CC = cl.exe
83
+ set CXX = cl.exe
96
84
97
85
@ rem
98
86
@ rem Use clcache for faster builds
@@ -109,7 +97,7 @@ powershell.exe -Command "Start-Process clcache-server" || exit /B
109
97
@ rem Download Minio somewhere on PATH, for unit tests
110
98
@ rem
111
99
if " %ARROW_S3% " == " ON" (
112
- appveyor DownloadFile https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2022-05-26T05-48-41Z -FileName C:\Windows\Minio.exe || exit /B
100
+ appveyor DownloadFile https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2022-05-26T05-48-41Z -FileName C:\Windows\Minio.exe || exit /B
113
101
)
114
102
115
103
0 commit comments