Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: rewrite coverage and distcheck scripts to follow other build scripts
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
- Loading branch information
Showing
2 changed files
with
16 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,17 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# CC LD AR CXX has to be predifubed | ||
# | ||
if [ "${CC#clang}" != "${CC}" ] ; then | ||
export CXX="clang++" | ||
fi | ||
|
||
export PKG_CONFIG_PATH="$HOME/cunit-install/x86_64/lib/pkgconfig:${PKG_CONFIG_PATH}" | ||
|
||
CWD=$(dirname "$0") | ||
TDIR=`mktemp -d -p ~` | ||
|
||
cd ${TDIR} | ||
git clone ${CWD}/../../ odp | ||
cd ./odp | ||
cd "$(dirname "$0")"/../.. | ||
./bootstrap | ||
./configure --enable-user-guides | ||
./configure \ | ||
--enable-user-guides | ||
|
||
make clean | ||
make distcheck | ||
|
||
make clean | ||
make distcheck DISTCHECK__CONFIGURE_FLAGS=--disable-abi-compat | ||
|
||
cd ~ | ||
rm -rf ${TDIR} | ||
make distcheck DISTCHECK__CONFIGURE_FLAGS=--disable-abi-compat |