1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-09 22:41:52 +01:00
fastnetmon-rewritten/tests/build_lpm_test.bash

14 lines
422 B
Bash
Raw Normal View History

#!/bin/bash
2014-12-18 16:44:56 +01:00
COMPILER=clang
CPP_COMPILER=clang++
gcc -O3 ../libpatricia/patricia.c -c -o patricia.o
g++ -O3 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