File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 40
40
)
41
41
endlocal
42
42
43
+ - name : Fix intrin.h file
44
+ if : matrix.config.vs > 0
45
+ shell : powershell
46
+ run : build/intrin.ps1
47
+
43
48
- name : Clone LLVM
44
49
shell : bash
45
50
run : build/premake.sh --file=build/scripts/LLVM.lua clone_llvm
Original file line number Diff line number Diff line change 30
30
shell : bash
31
31
run : echo "/c/Program Files (x86)/Microsoft Visual Studio/$VS_VERSION/Enterprise/MSBuild/Current/Bin" >> $GITHUB_PATH
32
32
33
+ - name : Fix intrin.h file
34
+ if : matrix.config.vs > 0
35
+ shell : powershell
36
+ run : build/intrin.ps1
37
+
33
38
- name : Setup
34
39
shell : bash
35
40
run : build/Setup.sh
Original file line number Diff line number Diff line change
1
+ $intrin = ' C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.28.29333/include/intrin0.h'
2
+ if (! (Test-Path $intrin )) {
3
+ Write-Warning " This hack is no longer needed and should be removed."
4
+ }
5
+ else {
6
+ $content = ((Get-Content $intrin ) -replace ' ifdef __clang__' , ' ifdef __avoid_this_path__' )
7
+ [IO.File ]::WriteAllLines($intrin , $content )
8
+ }
You can’t perform that action at this time.
0 commit comments