-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'third_party/google-glog/' content from commit 5d46e1b
Change-Id: I4d7d0b2759aa01069e6990109ae0f5f9897512c4 git-subtree-dir: third_party/google-glog git-subtree-split: 5d46e1bcfc92bf06a9ca3b3f1c5bb1dc024d9ecd
- Loading branch information
Austin Schuh
committed
Jan 22, 2019
0 parents
commit 906616c
Showing
125 changed files
with
21,403 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
platforms: | ||
ubuntu1404: | ||
build_targets: | ||
- "..." | ||
test_targets: | ||
- "..." | ||
ubuntu1604: | ||
build_targets: | ||
- "..." | ||
test_targets: | ||
- "..." | ||
macos: | ||
build_targets: | ||
- "..." | ||
test_targets: | ||
- "..." |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
autom4te.cache | ||
glog-*.tar.gz | ||
packages/rpm-unknown | ||
packages/debian-* | ||
CMakeCache.txt | ||
CMakeFiles/ | ||
*.cmake | ||
config.h | ||
*.sln | ||
*.vcxproj | ||
*.filters | ||
bazel-* |
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 |
---|---|---|
@@ -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 | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,119 @@ | ||
sudo: required | ||
language: bash | ||
services: | ||
- docker | ||
|
||
# define the build matrix | ||
env: | ||
global: | ||
- PROJECT_DIR: . | ||
- TOOLCHAIN: gcc-cxx11 | ||
- BUILD_PACKAGES: cmake | ||
- RUN_TESTS: true | ||
|
||
matrix: | ||
include: | ||
# Linux { | ||
|
||
# Ubuntu 14.04 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=trusty | ||
BUILD_ARCH=amd64 | ||
BUILD_PACKAGES=cmake3 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=trusty | ||
BUILD_ARCH=i386 | ||
BUILD_PACKAGES=cmake3 | ||
# Ubuntu 16.04 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=xenial | ||
BUILD_ARCH=amd64 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=xenial | ||
BUILD_ARCH=i386 | ||
# Ubuntu 18.04 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
TOOLCHAIN=gcc-cxx98 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
TOOLCHAIN=gcc-gnuxx11 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
TOOLCHAIN=gcc-cxx17 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
TOOLCHAIN=clang-cxx17 | ||
BUILD_PACKAGES="cmake clang" | ||
# } // end Linux | ||
|
||
# Windows build with mingw-w64 on Ubuntu 18.04 | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
TOOLCHAIN=linux-mingw-w64-cxx11 | ||
BUILD_PACKAGES="cmake mingw-w64 wine-stable" | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
TOOLCHAIN=linux-mingw-w64-gnuxx11 | ||
BUILD_PACKAGES="cmake mingw-w64 wine-stable" | ||
- os: linux | ||
env: > | ||
BUILD_FLAVOR=ubuntu | ||
BUILD_RELEASE=bionic | ||
BUILD_ARCH=amd64 | ||
TOOLCHAIN=linux-mingw-w64-cxx17 | ||
BUILD_PACKAGES="cmake mingw-w64 wine-stable" | ||
before_install: | ||
# use the Dockerfile.<distro>.template file for building the image with sed magic | ||
- | | ||
sed \ | ||
-e "s/@BUILD_FLAVOR@/${BUILD_FLAVOR}/g" \ | ||
-e "s/@BUILD_RELEASE@/${BUILD_RELEASE}/g" \ | ||
-e "s/@BUILD_ARCH@/${BUILD_ARCH}/g" \ | ||
-e "s/@BUILD_PACKAGES@/${BUILD_PACKAGES}/g" \ | ||
Dockerfile.$BUILD_FLAVOR.template | tee Dockerfile.$BUILD_FLAVOR.$BUILD_RELEASE.$BUILD_ARCH | ||
- docker build -f Dockerfile.$BUILD_FLAVOR.$BUILD_RELEASE.$BUILD_ARCH -t glog-devel . | ||
|
||
script: | | ||
# run the respective .travis.<distro>.sh script | ||
docker run \ | ||
-e BUILD_FLAVOR="$BUILD_FLAVOR" \ | ||
-e BUILD_RELEASE="$BUILD_RELEASE" \ | ||
-e BUILD_ARCH="$BUILD_ARCH" \ | ||
-e PROJECT_DIR="$PROJECT_DIR" \ | ||
-e TOOLCHAIN="$TOOLCHAIN" \ | ||
-e RUN_TESTS="$RUN_TESTS" \ | ||
-it glog-devel ./.travis.$BUILD_FLAVOR.sh | ||
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This is the official list of glog authors for copyright purposes. | ||
# This file is distinct from the CONTRIBUTORS files. | ||
# See the latter for an explanation. | ||
# | ||
# Names should be added to this file as: | ||
# Name or Organization <email address> | ||
# The email address is not required for organizations. | ||
# | ||
# Please keep the list sorted. | ||
|
||
Abhishek Dasgupta <[email protected]> | ||
Abhishek Parmar <[email protected]> | ||
Andrew Schwartzmeyer <[email protected]> | ||
Andy Ying <[email protected]> | ||
Brian Silverman <[email protected]> | ||
Google Inc. | ||
Guillaume Dumont <[email protected]> | ||
Michael Tanner <[email protected]> | ||
MiniLight <[email protected]> | ||
romange <[email protected]> | ||
Sergiu Deitsch <[email protected]> | ||
tbennun <[email protected]> | ||
Teddy Reed <[email protected]> | ||
Zhongming Qu <[email protected]> |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
licenses(['notice']) | ||
|
||
load(':bazel/glog.bzl', 'glog_library') | ||
|
||
glog_library() |
Oops, something went wrong.