aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/vendors/compile-altera.ps1
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-02-16 22:09:22 +0100
committerGitHub <noreply@github.com>2022-02-16 22:09:22 +0100
commita4f663eb442310aa17d895d267a9e212c54c5efe (patch)
tree9ebc4d61cb1cfda3914f74e3663db4b6f0e7923b /scripts/vendors/compile-altera.ps1
parenta5a0de540287e034f2096ccc1205e96e4d79523e (diff)
parentaac469695217b217544f6012da1f7ccf9399f754 (diff)
downloadghdl-a4f663eb442310aa17d895d267a9e212c54c5efe.tar.gz
ghdl-a4f663eb442310aa17d895d267a9e212c54c5efe.tar.bz2
ghdl-a4f663eb442310aa17d895d267a9e212c54c5efe.zip
Fixed failing vendor library compilation using PoSh scripts
Diffstat (limited to 'scripts/vendors/compile-altera.ps1')
-rw-r--r--scripts/vendors/compile-altera.ps114
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/vendors/compile-altera.ps1 b/scripts/vendors/compile-altera.ps1
index 3796e5ccf..0c1f948cf 100644
--- a/scripts/vendors/compile-altera.ps1
+++ b/scripts/vendors/compile-altera.ps1
@@ -465,7 +465,7 @@ if ((-not $StopCompiling) -and $Cyclone)
$SourceFiles = $Files | % { "$SourceDirectory\$_" }
if (Test-Path $SourceFiles[0])
- { $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ { $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
}
@@ -482,7 +482,7 @@ if ((-not $StopCompiling) -and $Stratix)
$SourceFiles = $Files | % { "$SourceDirectory\$_" }
if (Test-Path $SourceFiles[0])
- { $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ { $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
}
@@ -497,7 +497,7 @@ if ((-not $StopCompiling) -and $Stratix)
$SourceFiles = $Files | % { "$SourceDirectory\$_" }
if (Test-Path $SourceFiles[0])
- { $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ { $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
}
@@ -514,7 +514,7 @@ if ((-not $StopCompiling) -and $Stratix)
$SourceFiles = $Files | % { "$SourceDirectory\$_" }
if (Test-Path $SourceFiles[0])
- { $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ { $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
}
@@ -529,7 +529,7 @@ if ((-not $StopCompiling) -and $Stratix)
$SourceFiles = $Files | % { "$SourceDirectory\$_" }
if (Test-Path $SourceFiles[0])
- { $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ { $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
}
@@ -544,7 +544,7 @@ if ((-not $StopCompiling) -and $Nanometer)
$SourceFiles = $Files | % { "$SourceDirectory\$_" }
if (Test-Path $SourceFiles[0])
- { $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ { $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
}
@@ -563,7 +563,7 @@ if ((-not $StopCompiling) -and $Nanometer)
$SourceFiles = $Files | % { "$SourceDirectory\$_" }
if (Test-Path $SourceFiles[0])
- { $ErrorCount += Start-PackageCompilation $GHDLBinary $GHDLOptions $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
+ { $ErrorCount += Start-PackageCompilation $GHDLBinary $Analyze_Parameters $DestinationDirectory $Library $VHDLVersion $SourceFiles $SuppressWarnings $HaltOnError -Verbose:$EnableVerbose -Debug:$EnableDebug
$StopCompiling = $HaltOnError -and ($ErrorCount -ne 0)
}
}