fastnetmon-ng/tests/build_lpm_test.bash
2015-01-10 01:56:00 +03:00

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