Preesm CLI Wrappers
This repository holds files to call Preesm from the command line. The main script is commandLinePreesm.sh and consists in calling the Eclipse distribution with proper application, workspace, arguments, etc. The batch file wraps the call to bash script using a local Cygwin installation (automatically installed).
Both the batch and bash scripts expect the same arguments, in the following order :
PREESMDIR: The absolute path to the Preesm distribution to use;
APPDIR: The absolute path to the Preesm project;
WORKFLOW: The filename of the workflow to execute;
SCENARIO: The filename of the scenario to use when executing the workflow;
In order for Preesm to find the workflow and scenario files, they must be located respectively in the folder
<project folder>/Workflows and
<project folder>/Scenarios (case matters). The bash script checks their existence at start.
call .\commandLinePreesm.bat "E:\preesm_CLI\preesm-2.13.0" "E:\preesm_CLI\preesm-tuto" "Codegen.workflow" "03-parasobel_4core.scenario"
./commandLinePreesm.sh "/tmp/preesm_CLI/preesm-2.13.0" "/tmp/preesm_CLI/preesm-tuto/" "Codegen.workflow" "03-parasobel_4core.scenario"