-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
llvm-patch.ps1
7 lines (7 loc) · 922 Bytes
/
llvm-patch.ps1
1
2
3
4
5
6
7
(Get-Content ./src/include/llvm-c/Target.h).Replace('<llvm-16/', '"../../../LLVM/include/') | Set-Content ./src/include/llvm-c/Target.h
(Get-Content ./src/include/llvm-c/Target.h).Replace('<llvm-15/', '"../../../LLVM/include/') | Set-Content ./src/include/llvm-c/Target.h
(Get-Content ./src/include/llvm-c/Target.h).Replace('<llvm-14/', '"../../../LLVM/include/') | Set-Content ./src/include/llvm-c/Target.h
(Get-Content ./src/include/llvm-c/Target.h).Replace('<llvm-13/', '"../../../LLVM/include/') | Set-Content ./src/include/llvm-c/Target.h
(Get-Content ./src/include/llvm-c/Target.h).Replace('<llvm-12/', '"../../../LLVM/include/') | Set-Content ./src/include/llvm-c/Target.h
(Get-Content ./src/include/llvm-c/Target.h).Replace('<llvm-11/', '"../../../LLVM/include/') | Set-Content ./src/include/llvm-c/Target.h
(Get-Content ./src/include/llvm-c/Target.h).Replace('>', '"') | Set-Content ./src/include/llvm-c/Target.h