-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into cgilmour/bazel
- Loading branch information
Showing
8 changed files
with
202 additions
and
487 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,49 @@ | ||
#!/bin/bash | ||
set -eo pipefail | ||
|
||
# OpenTracing | ||
wget https://github.com/opentracing/opentracing-cpp/archive/v${OPENTRACING_VERSION}.tar.gz -O opentracing-cpp.tar.gz | ||
tar zxvf opentracing-cpp.tar.gz | ||
mkdir opentracing-cpp-${OPENTRACING_VERSION}/.build | ||
cd opentracing-cpp-${OPENTRACING_VERSION}/.build | ||
cmake -DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_FLAGS="-fPIC" \ | ||
-DBUILD_SHARED_LIBS=OFF \ | ||
-DBUILD_TESTING=OFF \ | ||
-DBUILD_MOCKTRACER=OFF \ | ||
.. | ||
make | ||
make install | ||
cd ../.. | ||
|
||
# Msgpack | ||
wget https://github.com/msgpack/msgpack-c/releases/download/cpp-${MSGPACK_VERSION}/msgpack-${MSGPACK_VERSION}.tar.gz -O msgpack.tar.gz | ||
tar zxvf msgpack.tar.gz | ||
mkdir msgpack-${MSGPACK_VERSION}/.build | ||
cd msgpack-${MSGPACK_VERSION}/.build | ||
cmake .. | ||
make | ||
make install | ||
cd ../.. | ||
|
||
# Libcurl | ||
wget https://curl.haxx.se/download/curl-${CURL_VERSION}.tar.gz | ||
tar zxf curl-${CURL_VERSION}.tar.gz | ||
cd curl-${CURL_VERSION} | ||
./configure --disable-ftp \ | ||
--disable-ldap \ | ||
--disable-dict \ | ||
--disable-telnet \ | ||
--disable-tftp \ | ||
--disable-pop3 \ | ||
--disable-smtp \ | ||
--disable-gopher \ | ||
--without-ssl \ | ||
--disable-crypto-auth \ | ||
--without-axtls \ | ||
--disable-rtsp \ | ||
--enable-shared=yes \ | ||
--enable-static=yes \ | ||
--with-pic | ||
make && make install | ||
cd .. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"service": "nginx", | ||
"agent_host": "localhost", | ||
"agent_port": 8126 | ||
} |
Oops, something went wrong.