From bbead404341de0db027b32fe2b161c0194420c08 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Thu, 30 Jun 2022 00:09:02 +0200 Subject: WIP native implementation --- playground/gdb-calculate.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 playground/gdb-calculate.sh (limited to 'playground/gdb-calculate.sh') diff --git a/playground/gdb-calculate.sh b/playground/gdb-calculate.sh new file mode 100755 index 0000000..f2bf64b --- /dev/null +++ b/playground/gdb-calculate.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +. $(dirname -- "$0")/env.sh + +PYTHON_BIN="$($PYTHON -c "import sys; print(sys.executable)")" + + +cd $ROOT_PATH +doit clean_all +doit json_schema_repo c + +cd $RUN_PATH +exec gdb --directory $ROOT_PATH \ + --command $RUN_PATH/gdb-calculate.gdb \ + --args $PYTHON_BIN -m opcut calculate \ + --method forward_greedy_native \ + --output $RUN_PATH/result.json \ + $RUN_PATH/params.json -- cgit v1.2.3-70-g09d2