Last change
on this file since 93889 was 91612, checked in by vboxsync, 3 years ago |
src/libs: Export libtpms-0.9.0, bugref:10078
|
-
Property svn:executable
set to
*
|
File size:
562 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | set -ex
|
---|
4 |
|
---|
5 | export CC=${CC:-clang}
|
---|
6 | export CXX=${CXX:-clang++}
|
---|
7 | export WORK=${WORK:-$(pwd)}
|
---|
8 | export OUT=${OUT:-$(pwd)/out}
|
---|
9 |
|
---|
10 | mkdir -p $OUT
|
---|
11 |
|
---|
12 | build=$WORK/build
|
---|
13 | rm -rf $build
|
---|
14 | mkdir -p $build
|
---|
15 |
|
---|
16 | export LIBTPMS=$(pwd)
|
---|
17 | autoreconf -vfi
|
---|
18 |
|
---|
19 | cd $build
|
---|
20 | $LIBTPMS/configure --disable-shared --enable-static --with-openssl --with-tpm2
|
---|
21 | make -j$(nproc) && make -C tests fuzz
|
---|
22 |
|
---|
23 | zip -jqr $OUT/fuzz_seed_corpus.zip "$LIBTPMS/tests/corpus-execute-command"
|
---|
24 |
|
---|
25 | find $build -type f -executable -name "fuzz*" -exec mv {} $OUT \;
|
---|
26 | find $build -type f -name "*.options" -exec mv {} $OUT \;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.