Revert "UNUSED enc_key_id_{equal,hash}"
[wireshark-sm.git] / vagrant_build.sh
blob7542f08fc75231c60d17560f958a7945ea8bfed0
1 #!/bin/bash
3 # Copyright 2015 Evan Huus <eapache@gmail.com>
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
9 # SPDX-License-Identifier: GPL-2.0-or-later
11 set -e
13 grep -q WIRESHARK_RUN_FROM_BUILD_DIRECTORY ~/.profile || echo "export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1" >> ~/.profile
14 grep -q WIRESHARK_BIN_DIR ~/.profile || echo "export WIRESHARK_BIN_DIR=~/build/run" >> ~/.profile
15 mkdir -p build
16 cd build
17 cmake -DENABLE_CCACHE=ON ../wireshark
18 make -j4
19 make test-programs
20 make test