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
parent
9d5de2fc21
commit
bbb151f9f5
|
@ -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
|
||||
# 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]} {
|
||||
set ADI_USE_OOC_SYNTHESIS 0
|
||||
|
||||
set ADI_USE_OOC_SYNTHESIS 1
|
||||
}
|
||||
|
||||
## Set number of parallel out of context jobs through environment variable
|
||||
|
|
Loading…
Reference in New Issue