merge(3p/glog): Vendor glog from commit 'afe04691'
This commit is contained in:
commit
6941048b7e
133 changed files with 23455 additions and 0 deletions
18
third_party/glog/.travis.ubuntu.sh
vendored
Executable file
18
third_party/glog/.travis.ubuntu.sh
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -x
|
||||
|
||||
uname -a
|
||||
|
||||
cmake -H. -B_build_${TOOLCHAIN} -DCMAKE_TOOLCHAIN_FILE="${PWD}/toolchains/${TOOLCHAIN}.cmake"
|
||||
cmake --build _build_${TOOLCHAIN} -- -j4
|
||||
|
||||
if [ "$RUN_TESTS" = true ]; then
|
||||
case "$TOOLCHAIN" in linux-mingw*)
|
||||
echo "copy runtime libraries needed for tests into build directory"
|
||||
cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/{libstdc++-6.dll,libgcc_s_seh-1.dll} _build_${TOOLCHAIN}
|
||||
esac
|
||||
CTEST_OUTPUT_ON_FAILURE=1 cmake --build _build_${TOOLCHAIN} --target test
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue