wrappers: sh: ql: fix pythonpath in repacker
Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
parent
e232cc5563
commit
d8e16b09f0
|
@ -20,7 +20,6 @@ set -e
|
|||
|
||||
if [ -z $VPRPATH ]; then
|
||||
export VPRPATH="$F4PGA_ENV_BIN"
|
||||
export PYTHONPATH=${VPRPATH}/python:${VPRPATH}/python/prjxray:${PYTHONPATH}
|
||||
fi
|
||||
|
||||
source $(dirname "$0")/vpr_common.f4pga.sh
|
||||
|
@ -31,6 +30,8 @@ DESIGN=${EBLIF/.eblif/}
|
|||
[ ! -z "${JSON}" ] && JSON_ARGS="--json-constraints ${JSON}" || JSON_ARGS=
|
||||
[ ! -z "${PCF_PATH}" ] && PCF_ARGS="--pcf-constraints ${PCF_PATH}" || PCF_ARGS=
|
||||
|
||||
export PYTHONPATH=$F4PGA_ENV_BIN/python:$PYTHONPATH
|
||||
|
||||
python3 "$F4PGA_ENV_BIN"/python/repacker/repack.py \
|
||||
--vpr-arch ${ARCH_DEF} \
|
||||
--repacking-rules ${ARCH_DIR}/${DEVICE_1}.repacking_rules.json \
|
||||
|
|
Loading…
Reference in New Issue