-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to Clang for Win32 * Make sure to first dispose the native instance In some cases, the native instance has callbacks into the managed world. This can be seen with the documents, they have a flush callback which requires that the managed objects all still exist. This is a valid situation where some object owns other managed objects. It is invalid to have some child object reference the parent object as there is no way of informing the child that it has no parent.
- Loading branch information
1 parent
29d87a1
commit 9da3dad
Showing
6 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Param( | ||
[string] $Version = "9.0.0" | ||
) | ||
|
||
$ErrorActionPreference = 'Stop' | ||
|
||
$url = "http://releases.llvm.org/${Version}/LLVM-${Version}-win64.exe" | ||
|
||
$llvmTemp = "$HOME/llvm-temp" | ||
$install = "$llvmTemp/llvm.exe" | ||
|
||
# download | ||
Write-Host "Downloading LLVM..." | ||
New-Item -ItemType Directory -Force -Path "$llvmTemp" | Out-Null | ||
(New-Object System.Net.WebClient).DownloadFile("$url", "$install") | ||
|
||
# install | ||
Write-Host "Installing LLVM..." | ||
& $install /S | ||
|
||
# make sure that LLVM is in LLVM_HOME | ||
Write-Host "##vso[task.setvariable variable=LLVM_HOME;]C:\Program Files\LLVM"; | ||
|
||
exit $LASTEXITCODE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters