()
| 171 | |
| 172 | |
| 173 | def check_essential(): |
| 174 | if not cmd_success('gcc -v'): |
| 175 | print('Error - "gcc" is not available', file=sys.stderr) |
| 176 | sys.exit(1) |
| 177 | |
| 178 | if not cmd_success('g++ -v'): |
| 179 | print('Error - "g++" is not available', file=sys.stderr) |
| 180 | sys.exit(1) |
| 181 | |
| 182 | if not cmd_success('make -v'): |
| 183 | print('Error - "make" is not available', file=sys.stderr) |
| 184 | sys.exit(1) |
| 185 | |
| 186 | required('numa.h', 'libnuma-dev', 'gcc') |
| 187 | required('pcap/pcap.h', 'libpcap-dev', 'gcc') |
| 188 | required('zlib.h', 'zlib1g-dev', 'gcc') |
| 189 | required('glog/logging.h', 'libgoogle-glog-dev', 'g++') |
| 190 | required('gflags/gflags.h', 'libgflags-dev', 'g++') |
| 191 | required('gtest/gtest.h', 'libgtest-dev', 'g++') |
| 192 | required('benchmark/benchmark.h', 'https://github.com/google/benchmark', |
| 193 | 'g++') |
| 194 | |
| 195 | |
| 196 | def set_config(filename, config, new_value): |
no test coverage detected