copapy/tools/test_stencil_aux.sh

19 lines
210 B
Bash
Raw Normal View History

2025-10-26 15:09:02 +00:00
#!/bin/bash
set -e
set -v
mkdir -p bin
FILE=aux_functions
SRC=stencils/$FILE.c
DEST=bin
OPT=O3
mkdir -p $DEST
# Compile native x86_64
gcc -g -$OPT $SRC -o $DEST/$FILE
chmod +x $DEST/$FILE
# Run
$DEST/$FILE