aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/windows/appveyor/info.ps1
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-01-15 07:31:59 +0100
committerGitHub <noreply@github.com>2021-01-15 07:31:59 +0100
commitd890f27e480cdb37428f1b7c4bb37475ed38348d (patch)
treeef94e9ac91446f661ede0db86cb295e9ec903477 /scripts/windows/appveyor/info.ps1
parent4868294436574660552ccef50a5b0849559393de (diff)
downloadghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.tar.gz
ghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.tar.bz2
ghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.zip
Reworking pre-compile scripts for Windows (#1594)
* Updated pre-compile scripts for OSVVM. * Reworked script for Vivado. * Reworked script for ISE. * Reworked UVVM compile script. Cannot be tested due to missing feature in GHDL see #1593. * Reworked scripts for Altera, Intel and Lattice. * Updated module imports. * Adjusted warnings. * Read OSVVM package files from compile-order file 'osvvm.pro'. * Support OSVVM and OSVVMLibraries as source directory. * Added support for OSVVM models to precompile script. * First update to the pre-compile scripts documentation. * Minimized file headers and redundant documentation. Using PowerShell's feature to document files, functions and modules. * Updated README in precompile scripts directory. * license: update headers of pyGHDL, scripts/windows, libraries/vendors * Fixed ForegroundColor and InvocationName. Co-authored-by: umarcor <unai.martinezcorral@ehu.eus>
Diffstat (limited to 'scripts/windows/appveyor/info.ps1')
-rw-r--r--scripts/windows/appveyor/info.ps116
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/windows/appveyor/info.ps1 b/scripts/windows/appveyor/info.ps1
index 675bbe77e..b908885ea 100644
--- a/scripts/windows/appveyor/info.ps1
+++ b/scripts/windows/appveyor/info.ps1
@@ -47,22 +47,22 @@ function Restore-NativeCommandStream
}
-Write-Host ("ExecutionPolicy = {0}" -f (Get-ExecutionPolicy)) -Foreground Yellow
-Write-Host "List env:..." -Foreground Yellow
+Write-Host ("ExecutionPolicy = {0}" -f (Get-ExecutionPolicy)) -ForegroundColor Yellow
+Write-Host "List env:..." -ForegroundColor Yellow
dir env: | foreach { Write-Host (" {0}={1}" -f $_.Name,$_.Value) }
-Write-Host "Print env:PATH..." -Foreground Yellow
+Write-Host "Print env:PATH..." -ForegroundColor Yellow
$env:PATH.Split(";") | foreach { Write-Host " $_" }
-Write-Host "Print GCC setup..." -Foreground Yellow
+Write-Host "Print GCC setup..." -ForegroundColor Yellow
gcc.exe -v 2>&1 | Restore-NativeCommandStream | %{ "$_" }
-Write-Host "Print GCC search directories..." -Foreground Yellow
+Write-Host "Print GCC search directories..." -ForegroundColor Yellow
gcc.exe -print-search-dirs 2>&1 | Restore-NativeCommandStream | %{ "$_" }
if ($env:BUILD_BACKEND -eq "llvm")
-{ Write-Host "Print CLang setup..." -Foreground Yellow
+{ Write-Host "Print CLang setup..." -ForegroundColor Yellow
clang.exe -v 2>&1 | Restore-NativeCommandStream | %{ "$_" }
- Write-Host "Print CLang search directories..." -Foreground Yellow
+ Write-Host "Print CLang search directories..." -ForegroundColor Yellow
clang.exe -print-search-dirs 2>&1 | Restore-NativeCommandStream | %{ "$_" }
}
-Write-Host "Print gnatls setup..." -Foreground Yellow
+Write-Host "Print gnatls setup..." -ForegroundColor Yellow
gnatls.exe -v 2>&1 | Restore-NativeCommandStream | %{ "$_" }