fixes for personal build scripts - will go away once workflow is streamlined

This commit is contained in:
Vern Paxson 2021-04-26 13:18:16 -07:00
parent 2fdb8a1cc8
commit b5b87d0b15
2 changed files with 18 additions and 20 deletions

View file

@ -1,13 +1,12 @@
#! /bin/sh #! /bin/sh
base=../../.. build=../../../build
so=$base/src/script_opt/CPP
build=$base/build
echo > $so/CPP-gen-addl.h echo > CPP-gen-addl.h
export -n ZEEK_USE_CPP ZEEK_ADD_CPP (cd $build
export ZEEK_HASH_DIR=$build export -n ZEEK_USE_CPP ZEEK_ADD_CPP
cd $build export ZEEK_HASH_DIR=.
echo | src/zeek -b -O gen-C++ echo | src/zeek -b -O gen-C++
mv ./CPP-gen-addl.h $so/CPP-gen.cc )
ninja || echo Bare embedded build failed mv $build/CPP-gen-addl.h CPP-gen.cc
(cd $build ; ninja || echo Bare embedded build failed)

View file

@ -1,13 +1,12 @@
#! /bin/sh #! /bin/sh
base=../../.. build=../../../build
so=$base/src/script_opt/CPP
build=$base/build
echo > $so/CPP-gen-addl.h echo > CPP-gen-addl.h
export -n ZEEK_USE_CPP ZEEK_ADD_CPP (cd $build
export ZEEK_HASH_DIR=$build export -n ZEEK_USE_CPP ZEEK_ADD_CPP
cd $build export ZEEK_HASH_DIR=.
echo | src/zeek -O gen-C++ echo | src/zeek -O gen-C++
mv ./CPP-gen-addl.h $so/CPP-gen.cc )
ninja || echo Full embedded build failed mv $build/CPP-gen-addl.h CPP-gen.cc
(cd $build ; ninja || echo Full embedded build failed)