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 #7871 from EOSIO/cicd-mac-boost-master
[master] Mac Builder Boost Fix
- Loading branch information
Showing
2 changed files
with
14 additions
and
3 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
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,9 +2,9 @@ | |
set -eo pipefail | ||
VERSION=1 | ||
brew update | ||
brew install git [email protected] cmake python@2 python libtool libusb graphviz automake wget gmp llvm@4 pkgconfig doxygen openssl || true | ||
# install clang from source | ||
brew install git cmake python@2 python libtool libusb graphviz automake wget gmp llvm@4 pkgconfig doxygen openssl || true | ||
if [[ ! $PINNED == false || $UNPINNED == true ]]; then | ||
# install clang from source | ||
git clone --single-branch --branch release_80 https://git.llvm.org/git/llvm.git clang8 | ||
cd clang8 | ||
git checkout 18e41dc | ||
|
@@ -49,6 +49,17 @@ if [[ ! $PINNED == false || $UNPINNED == true ]]; then | |
sudo make install | ||
cd ../.. | ||
rm -rf clang8 | ||
# install boost from source | ||
curl -LO https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.bz2 | ||
tar -xjf boost_1_70_0.tar.bz2 | ||
cd boost_1_70_0 | ||
./bootstrap.sh --prefix=/usr/local | ||
sudo ./b2 --with-iostreams --with-date_time --with-filesystem --with-system --with-program_options --with-chrono --with-test -q -j$(getconf _NPROCESSORS_ONLN) install | ||
cd .. | ||
sudo rm -rf boost_1_70_0.tar.bz2 boost_1_70_0 | ||
else | ||
# install boost from brew | ||
brew install boost || true | ||
fi | ||
# install mongoDB | ||
cd ~ | ||
|