numeric-linalg

Educational material on the SciPy implementation of numerical linear algebra algorithms

build.sh (245B)

 1 #!/bin/sh
 2 
 3 set -xe
 4 
 5 EXE_NAME="benchmark"
 6 C_FLAGS="-Wall -Wextra -llapacke"
 7 
 8 ctags -R .
 9 cc ./main.c -o "./target/$EXE_NAME-debug" $C_FLAGS -g -DDEBUG # debug version
10 cc ./main.c -o "./target/$EXE_NAME"       $C_FLAGS -O2        # release version