PORT=8888 | |
while [[ $# -gt 0 ]]; do | |
case $1 in | |
--port) | |
PORT="$2" | |
shift | |
shift | |
;; | |
*) | |
shift | |
;; | |
esac | |
done | |
rm *so | |
g++ -O3 -Wall -Wextra -pedantic -march=native -fPIC -funroll-loops -ffast-math -fopenmp -shared -o libfract.so fract.cpp | |
PORT=8888 | |
while [[ $# -gt 0 ]]; do | |
case $1 in | |
--port) | |
PORT="$2" | |
shift | |
shift | |
;; | |
*) | |
shift | |
;; | |
esac | |
done | |
rm *so | |
g++ -O3 -Wall -Wextra -pedantic -march=native -fPIC -funroll-loops -ffast-math -fopenmp -shared -o libfract.so fract.cpp | |