mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 05:02:10 +01:00
14 lines
436 B
Bash
Executable File
14 lines
436 B
Bash
Executable File
#!/bin/bash
|
|
|
|
COMPILER=clang
|
|
CPP_COMPILER=clang++
|
|
|
|
gcc -g -pg -O2 ../libpatricia/patricia.c -c -o patricia.o
|
|
g++ -g -pg -O2 lpm_performance_tests.cpp patricia.o -olpm_performance_tests -lrt
|
|
|
|
#$COMPILER -O4 ../libpatricia/patricia.c -c -o patricia.o
|
|
#ar q patricia.a patricia.o
|
|
#$CPP_COMPILER lpm_performance_tests.cpp -olpm_performance_tests.o -c
|
|
#$CPP_COMPILER -v -O4 lpm_performance_tests.o patricia.a -olpm_performance_tests -lrt
|
|
|