Skip to content

Commit 668b30c

Browse files
committed
Hack on windows compilation
1 parent 1c8084c commit 668b30c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

azure-pipelines.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ jobs:
101101
- script: git config --global core.autocrlf false
102102
displayName: 'Disable automatic crlf conversion'
103103
- script: |
104+
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
105+
clang --version
106+
# Set the correct paths and includes. Only the env variables set here are
107+
# used, not the ones defined in the .jsonl.
108+
set "PATH=C:\Program Files\LLVM\bin;%PATH%"
109+
set "AR=llvm-ar"
110+
set "AS=llvm-as"
111+
set "CC=clang"
112+
set RANLIB=echo
104113
python -m pip install --upgrade pip build wheel setuptools
105114
python -m pip build --wheel
106115
condition: eq( variables['Agent.OS'], 'Windows_NT')
@@ -122,13 +131,4 @@ jobs:
122131
displayName: 'Build wheel (Mac)'
123132
124133
125-
#call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
126-
#clang --version
127-
# Set the correct paths and includes. Only the env variables set here are
128-
# used, not the ones defined in the .jsonl.
129-
# #set "PATH=C:\Program Files\LLVM\bin;%PATH%"
130-
#set "AR=llvm-ar"
131-
#set "AS=llvm-as"
132-
#set "CC=clang"
133-
#set RANLIB=echo
134-
134+

0 commit comments

Comments
 (0)