File size: 345 Bytes
99e193a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash


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