Skip to content

Commit 6b79209

Browse files
committed
Disable warnings when building VLog in CI
1 parent 4ed5e08 commit 6b79209

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build-vlog-library.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ else
1515
# git pull
1616
mkdir build
1717
cd build
18-
cmake -DJAVA=1 -DSPARQL=1 ..
18+
if [ "x${CI}" = "xtrue" ]
19+
then
20+
# disable warnings when running in CI to keep travis logs short
21+
cmake -DJAVA=1 -DSPARQL=1 -DCMAKE_CXX_FLAGS=-w ..
22+
else
23+
cmake -DJAVA=1 -DSPARQL=1 ..
24+
fi
1925
make
2026
cp jvlog.jar ../../../local_builds/jvlog.jar
2127
cd ../../..

0 commit comments

Comments
 (0)