mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
fixes for personal build scripts - will go away once workflow is streamlined
This commit is contained in:
parent
2fdb8a1cc8
commit
b5b87d0b15
2 changed files with 18 additions and 20 deletions
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue