adi_project_xilinx.tcl: Set default value of ADI_USE_OOC_SYNTHESIS to 1

In order to workaround optimization issues hit in Vivado 2020.2,
set ADI_USE_OOC_SYTHESIS variable by default to 1. This will build
projects in Out Of Context mode.
Projects can be build in Project Mode by exporting ADI_USE_OOC_SYTHESIS=n.
main
stefan.raus 2021-07-28 15:41:33 +01:00 committed by SRaus
parent 9d5de2fc21
commit bbb151f9f5
1 changed files with 6 additions and 3 deletions

View File

@ -14,10 +14,13 @@ if {[info exists ::env(ADI_IGNORE_VERSION_CHECK)]} {
## Define the ADI_USE_OOC_SYNTHESIS environment variable to enable out of context ## Define the ADI_USE_OOC_SYNTHESIS environment variable to enable out of context
# synthesis # synthesis
if {[info exists ::env(ADI_USE_OOC_SYNTHESIS)]} { if {[info exists ::env(ADI_USE_OOC_SYNTHESIS)]} {
set ADI_USE_OOC_SYNTHESIS 1 if {[string equal $::env(ADI_USE_OOC_SYNTHESIS) n]} {
set ADI_USE_OOC_SYNTHESIS 0
} else {
set ADI_USE_OOC_SYNTHESIS 1
}
} elseif {![info exists ADI_USE_OOC_SYNTHESIS]} { } elseif {![info exists ADI_USE_OOC_SYNTHESIS]} {
set ADI_USE_OOC_SYNTHESIS 0 set ADI_USE_OOC_SYNTHESIS 1
} }
## Set number of parallel out of context jobs through environment variable ## Set number of parallel out of context jobs through environment variable