This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8348 from EOSIO/merge-release-1.8.7-to-master
Merge release 1.8.7 to master
- Loading branch information
Showing
24 changed files
with
336 additions
and
168 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 |
---|---|---|
|
@@ -7,6 +7,8 @@ if [[ "$(uname)" == 'Darwin' ]]; then | |
# You can't use chained commands in execute | ||
if [[ "$TRAVIS" == 'true' ]]; then | ||
export PINNED=false | ||
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/1d91e94e8ecdf6877ad2c24a7cda1114e50f2a14/Formula/[email protected] # Workaround for Travis cannot build LLVM4 from source. | ||
brew reinstall [email protected] # Fixes issue where builds in Travis cannot find libcrypto. | ||
ccache -s | ||
CMAKE_EXTRAS="$CMAKE_EXTRAS -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" | ||
else | ||
|
@@ -27,7 +29,7 @@ else # Linux | |
[[ ! "$IMAGE_TAG" =~ 'unpinned' ]] && CMAKE_EXTRAS="$CMAKE_EXTRAS -DCMAKE_TOOLCHAIN_FILE=$MOUNTED_DIR/.cicd/helpers/clang.make -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" | ||
if [[ "$IMAGE_TAG" == 'amazon_linux-2-pinned' ]]; then | ||
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib64/ccache:\\\$PATH" | ||
elif [[ "$IMAGE_TAG" == 'centos-7.6-pinned' ]]; then | ||
elif [[ "$IMAGE_TAG" == 'centos-7.7-pinned' ]]; then | ||
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib64/ccache:\\\$PATH" | ||
elif [[ "$IMAGE_TAG" == 'ubuntu-16.04-pinned' ]]; then | ||
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib/ccache:\\\$PATH" | ||
|
@@ -36,7 +38,7 @@ else # Linux | |
elif [[ "$IMAGE_TAG" == 'amazon_linux-2-unpinned' ]]; then | ||
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib64/ccache:\\\$PATH" | ||
CMAKE_EXTRAS="$CMAKE_EXTRAS -DCMAKE_CXX_COMPILER='clang++' -DCMAKE_C_COMPILER='clang'" | ||
elif [[ "$IMAGE_TAG" == 'centos-7.6-unpinned' ]]; then | ||
elif [[ "$IMAGE_TAG" == 'centos-7.7-unpinned' ]]; then | ||
PRE_COMMANDS="$PRE_COMMANDS && source /opt/rh/devtoolset-8/enable && source /opt/rh/rh-python36/enable && export PATH=/usr/lib64/ccache:\\\$PATH" | ||
elif [[ "$IMAGE_TAG" == 'ubuntu-18.04-unpinned' ]]; then | ||
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib/ccache:\\\$PATH" | ||
|
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
2 changes: 1 addition & 1 deletion
2
...forms/pinned/centos-7.6-pinned.dockerfile → ...forms/pinned/centos-7.7-pinned.dockerfile
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM centos:7.6.1810 | ||
FROM centos:7.7.1908 | ||
ENV VERSION 1 | ||
# install dependencies. | ||
RUN yum update -y && \ | ||
|
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
2 changes: 1 addition & 1 deletion
2
...s/unpinned/centos-7.6-unpinned.dockerfile → ...s/unpinned/centos-7.7-unpinned.dockerfile
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM centos:7.6.1810 | ||
FROM centos:7.7.1908 | ||
ENV VERSION 1 | ||
# install dependencies. | ||
RUN yum update -y && \ | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,17 @@ | |
set -eo pipefail | ||
VERSION=1 | ||
brew update | ||
brew install git cmake python@2 python libtool libusb graphviz automake wget gmp llvm@4 pkgconfig doxygen openssl jq boost || : | ||
brew install git cmake python@2 python libtool libusb graphviz automake wget gmp pkgconfig doxygen [email protected] jq boost || : | ||
# install llvm 4 from source | ||
git clone --depth 1 --single-branch --branch release_40 https://github.com/llvm-mirror/llvm.git llvm | ||
cd llvm | ||
mkdir build | ||
cd build | ||
cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX='/usr/local' -DLLVM_TARGETS_TO_BUILD='host' -DLLVM_BUILD_TOOLS=false -DLLVM_ENABLE_RTTI=1 -DCMAKE_BUILD_TYPE=Release .. | ||
make -j $(getconf _NPROCESSORS_ONLN) | ||
sudo make install | ||
cd ../.. | ||
rm -rf llvm | ||
# install mongoDB | ||
cd ~ | ||
curl -OL https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-3.6.3.tgz | ||
|
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
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
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
Oops, something went wrong.