Skip to content

Commit

Permalink
full path links
Browse files Browse the repository at this point in the history
  • Loading branch information
MaynardMiner committed Jan 22, 2020
1 parent d20130f commit f5c1e7a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
14 changes: 14 additions & 0 deletions build/powershell/scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,20 @@ if (Test-Path ".\build\bash\get-lambo") {
Set-Location $Dir
}

if (Test-Path ".\build\libcurl\libcurl.so.4.4.0") {
$Proc = Start-Process ln -ArgumentList "-s $dir/build/export/libcurl.so.4.4.0 $dir/build/export/libcurl.so.4" -PassThru
$Proc | Wait-Process
Set-Location "/"
Set-Location $Dir
}

if (Test-Path ".\build\libcurl\libcurl.so.4") {
$Proc = Start-Process ln -ArgumentList "-s $dir/build/export/libcurl.so.4 $dir/build/export/libcurl.so.3" -PassThru
$Proc | Wait-Process
Set-Location "/"
Set-Location $Dir
}

if (Test-Path ".\build\export\libcudart.so.9.2.148") {
$Proc = Start-Process ln -ArgumentList "-s $dir/build/export/libcudart.so.9.2.148 $dir/build/export/libcudart.so.9.2" -PassThru
$Proc | Wait-Process
Expand Down
13 changes: 10 additions & 3 deletions build/powershell/startup/linuxconfig.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,20 @@ function Global:Get-Data {
}


if (-not (Test-Path ".\build\export\libcurl.so.3")) {
$Proc = Start-Process ln -ArgumentList "-s $($(vars).dir)/build/export/libcurl.so.3.0.0 $($(vars).dir)/build/export/libcurl.so.3" -PassThru
if (Test-Path ".\build\libcurl\libcurl.so.4.4.0") {
$Proc = Start-Process ln -ArgumentList "-s $($(vars).dir)/build/export/libcurl.so.4.4.0 $($(vars).dir)/build/export/libcurl.so.4" -PassThru
$Proc | Wait-Process
Set-Location "/"
Set-Location $($(vars).dir)
}


if (Test-Path ".\build\libcurl\libcurl.so.4") {
$Proc = Start-Process ln -ArgumentList "-s $($(vars).dir)/build/export/libcurl.so.4 $($(vars).dir)/build/export/libcurl.so.3" -PassThru
$Proc | Wait-Process
Set-Location "/"
Set-Location $($(vars).dir)
}

if (-not (Test-Path ".\build\export\libnvrtc-builtins.so.10.1")) {
$Proc = Start-Process ln -ArgumentList "-s $($(vars).dir)/build/export/libnvrtc-builtins.so.10.1.105 $($(vars).dir)/build/export/libnvrtc-builtins.so.10.1" -PassThru
$Proc | Wait-Process
Expand Down

0 comments on commit f5c1e7a

Please sign in to comment.