Skip to content
Snippets Groups Projects
Commit c18ecf43 authored by Peter Wu's avatar Peter Wu
Browse files

.travis.yml: workaround failure to find libev with GCC 5

For GCC 5 and cmake 3.2.2, somehow the architecture is not extracted
from the implicit link information (see CMakeFiles/CMakeOutput.log).
parent 43d1915a
No related merge requests found
......@@ -42,7 +42,8 @@ before_script:
- if [ "$CI_BUILD" == "autotools" ]; then autoreconf -i; fi
- export PKG_CONFIG_PATH=$PWD/../openssl/build/lib/pkgconfig LDFLAGS="$EXTRA_LDFLAGS -Wl,-rpath,$PWD/openssl/build/lib"
- if [ "$CI_BUILD" == "autotools" ]; then ./configure --enable-werror --enable-asan; fi
- if [ "$CI_BUILD" == "cmake" ]; then cmake -DENABLE_ASAN=1; fi
# Set CMAKE_LIBRARY_ARCHITECTURE to workaround failure to parse implicit link information from GCC 5
- if [ "$CI_BUILD" == "cmake" ]; then cmake -DENABLE_ASAN=1 -DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu; fi
script:
# Now build ngtcp2 examples and test
- make
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment