You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a script to compile Heavy source code into C for user download.
The script will be invoked by the server and will receive all relevant patch information on the command line.
After creating this script we will most likely also create scripts for the other compilation types, to replace patch-builder.php.
Key information that needs to be passed is patch parameter names and details, and directories.
The invoking process must first create a temporary build directory with write access, and the script must also have write access to the target directory where the generated output is placed (in this case a zip file with C source code).
Strings must be quoted if they contain whitespace or other non-alphanumeric characters. PAR_x_NAME is the name of parameter with id x PAR_x_TYPE is float or bool, default float PAR_x_IO is input or output, default input SOURCE_DIR absolute path to source files
Script name compile-heavy.sh
Example invokation PAR_4_NAME=Gain PATCHNAME="Simple Gain" SOURCE_DIR=... ./compile-heavy.sh
The text was updated successfully, but these errors were encountered:
I've created a script in the hvcc branch of OwlProgram that runs hvcc with the right parameters and, if successful, creates a patch.zip file with the C source files in the target directory.
We need a script to compile Heavy source code into C for user download.
The script will be invoked by the server and will receive all relevant patch information on the command line.
After creating this script we will most likely also create scripts for the other compilation types, to replace
patch-builder.php
.Key information that needs to be passed is patch parameter names and details, and directories.
The invoking process must first create a temporary build directory with write access, and the script must also have write access to the target directory where the generated output is placed (in this case a zip file with C source code).
Environment variables / command line parameters
Strings must be quoted if they contain whitespace or other non-alphanumeric characters.
PAR_x_NAME
is the name of parameter with idx
PAR_x_TYPE
is float or bool, default floatPAR_x_IO
is input or output, default inputSOURCE_DIR
absolute path to source filesScript name
compile-heavy.sh
Example invokation
PAR_4_NAME=Gain PATCHNAME="Simple Gain" SOURCE_DIR=... ./compile-heavy.sh
The text was updated successfully, but these errors were encountered: