wrappers: sh: ql: fix pythonpath in repacker

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
Paweł Czarnecki 2022-06-02 14:49:31 +02:00
parent e232cc5563
commit d8e16b09f0
1 changed files with 2 additions and 1 deletions

View File

@ -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 \