Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.0 rc2 #104

Merged
merged 275 commits into from
Dec 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
c8f2607
Merge pull request #6784 from EOSIO/merge-1.6.2
heifner Feb 20, 2019
d995779
appbase: Block (queue) exit signals during shutdown
spoonincode Feb 22, 2019
22457bf
Merge pull request #6816 from EOSIO/block_signals_during_shutdown_17x
spoonincode Feb 23, 2019
3b15c4f
Wrong tag/branch name
fsword Feb 23, 2019
60dcf1a
Merge pull request #6823 from fsword/patch-1
heifner Feb 25, 2019
c699544
appbase: rework blocking (queuing) exit signals during shutdown
spoonincode Mar 1, 2019
99f7704
Merge pull request #6858 from EOSIO/appbase_sig_fix_v2_17x
spoonincode Mar 1, 2019
f5e4529
Update to appbase with FIFO pririty queue
heifner Mar 2, 2019
a234e21
Merge pull request #6859 from EOSIO/stable-priority-queue-v1.7.x
spoonincode Mar 2, 2019
7c1e14a
Call recover keys before transactions execution so trx->sig_cpu_usage…
heifner Mar 5, 2019
a8c1ced
Call recover keys before transactions execution so trx->sig_cpu_usage…
heifner Mar 5, 2019
00a29f3
appbase: ensure ctrl-c during startup handled correctly
spoonincode Mar 5, 2019
12d9961
Consolidated Security Fixes for 1.6.3
heifner Mar 5, 2019
b41c77d
Merge pull request #6868 from EOSIO/sig_fix_v3_17x
heifner Mar 5, 2019
0776c11
Consolidated Security Fixes for 1.7.0-rc2
heifner Mar 5, 2019
1d48532
Merge pull request #6870 from EOSIO/sig-cpu-usage-1.6.x
heifner Mar 6, 2019
cb95019
Merge pull request #6871 from EOSIO/sig-cpu-usage-1.7.x
heifner Mar 6, 2019
517fd2c
Merge pull request #6881 from EOSIO/feature/1.6.3-security-omnibus
heifner Mar 6, 2019
9958d83
Merge pull request #6882 from EOSIO/feature/1.7.0-rc2-security-omnibus
heifner Mar 6, 2019
bf85b4f
Bump version to 1.6.3
heifner Mar 6, 2019
a827e9d
Bump version to 1.7.0-rc2
heifner Mar 6, 2019
5e8e294
Merge pull request #6886 from EOSIO/bump-to-1.6.3
heifner Mar 6, 2019
5a9da91
Merge pull request #6887 from EOSIO/bump-to-1.7.0-rc2
heifner Mar 6, 2019
15902ac
Merge pull request #6889 from EOSIO/merge-1.6.3
heifner Mar 7, 2019
90120e2
add back integration_test contract; needed by tests/nodeos_under_min_…
arhag Mar 8, 2019
03b2320
Merge pull request #6901 from EOSIO/add-back-integration_test-contract
arhag Mar 8, 2019
e245e07
add libicu as dependency for .deb packages
spoonincode Mar 13, 2019
c83c212
Bump to 1.7.0
heifner Mar 13, 2019
a29d257
Merge pull request #6926 from EOSIO/fix_deb_libicu_dep
spoonincode Mar 13, 2019
222ef47
Add missing -1 to package names
heifner Mar 13, 2019
6845170
Merge pull request #6927 from EOSIO/bump-to-1.7.0
heifner Mar 13, 2019
ebebb90
Merge release/1.7.x at 1.7.0
heifner Mar 13, 2019
686f0de
Merge pull request #6928 from EOSIO/merge-release-1.7.0
heifner Mar 13, 2019
916c522
Add strand to protect internals of asio
heifner Mar 18, 2019
88e1ff3
Don't build WAVM tools any longer
spoonincode Mar 19, 2019
c4a327f
Rename eosio-wat2wasm back to orginal name; don't install
spoonincode Mar 19, 2019
9e849da
Ensure that intermediate asio operations are on the same thread
heifner Mar 19, 2019
7afff70
Merge pull request #6969 from EOSIO/remove-eosio-wat2wasm_17
spoonincode Mar 20, 2019
45bfc94
Prevent txn_test_gen_plugin from calling back into http_plugin multip…
heifner Mar 20, 2019
e356bd7
Merge pull request #6974 from EOSIO/txn-gen-fix-1.7
heifner Mar 20, 2019
f358cad
Merge pull request #6961 from EOSIO/net_plugin-asio-fix
heifner Mar 20, 2019
868ea8c
#6980: memory leak when --trace-history not used
tbfleming Mar 21, 2019
976bf8a
Merge pull request #6982 from EOSIO/fix-sh-leak
tbfleming Mar 21, 2019
5542e9d
Remove setting CMAKE_OSX_SYSROOT (#6986)
spoonincode Mar 27, 2019
32a9a36
Update LICENSE
josephjguerra Mar 28, 2019
033b3b3
Update README.md
josephjguerra Mar 28, 2019
9931784
Create CONTRIBUTING.md
josephjguerra Mar 28, 2019
459e078
Merge pull request #7008 from EOSIO/josephjguerra-patch-1
heifner Mar 28, 2019
6aeb47a
Merge pull request #7009 from EOSIO/josephjguerra-patch-2
heifner Mar 28, 2019
19c354e
Merge pull request #7010 from EOSIO/josephjguerra-patch-3
heifner Mar 28, 2019
05a3436
Remove boost::thread usage from mongo plugin
spoonincode Mar 29, 2019
537a658
disable asio's experimental string_view usage on macos
spoonincode Mar 29, 2019
92f1146
Fix for close() called while async_read in-flight
heifner Mar 29, 2019
c920387
fc sync - Remove fc::shared_ptr & refactor logging code to not use it
spoonincode Mar 29, 2019
2180c64
Use shared_future instead of future since accessed across threads
heifner Mar 29, 2019
5bc1cce
Can't call connected(), it checks flag that is only set after first read
heifner Mar 29, 2019
cf1a2fa
Simplify key recovery future logic
heifner Mar 30, 2019
1b593e6
chainbase sync - Remove boost thread & chain locking code
spoonincode Mar 29, 2019
9f719b3
Merge pull request #7018 from EOSIO/std_thread_mongo_plugin_17x
spoonincode Mar 31, 2019
0dcf356
Merge pull request #7020 from EOSIO/asio_exp_string_view_removal_17x
spoonincode Mar 31, 2019
ec50c86
Merge pull request #7029 from EOSIO/remove_fc_shared_ptr_17x
spoonincode Mar 31, 2019
2570a32
Remove final remnants of boost thread usage from cmake
spoonincode Mar 31, 2019
70ca192
When building boost on macos, only build the libraries needed by eosio
spoonincode Mar 31, 2019
b698d19
Calculate recovery keys instead of asserting if start not called or d…
heifner Apr 1, 2019
fbf5350
Merge pull request #7032 from EOSIO/chainbase_remove_boost_thread_17x
heifner Apr 1, 2019
dd0b171
Add test for recover_keys without start_recover_keys
heifner Apr 1, 2019
3479321
Merge pull request #7037 from EOSIO/remove_final_boost_threads_17x
spoonincode Apr 1, 2019
6059f5b
Merge pull request #7031 from EOSIO/sign-key-future-1.7.x
heifner Apr 1, 2019
e96effd
Merge pull request #7027 from EOSIO/net-plugin-close-fix
heifner Apr 1, 2019
516485f
print action traces in cleos even if nonmandatory fields are missing
arhag Apr 2, 2019
9d481bf
Merge pull request #7046 from EOSIO/cleos-transaction-trace-fixes-to-1.7
heifner Apr 2, 2019
77a1720
Consolidated Security Fixes for 1.7.1
heifner Apr 2, 2019
3d118bb
Merge pull request #7049 from EOSIO/1.7.1-security-omnibus
heifner Apr 2, 2019
90338cf
Bump to 1.7.1
heifner Apr 2, 2019
ab0ff58
Update recommended
heifner Apr 2, 2019
8b07340
Merge pull request #7051 from EOSIO/bump-to-1.7.1
heifner Apr 3, 2019
756ebae
Merge branch 'master' into release-1.7.1
heifner Apr 3, 2019
14a65ac
Merge pull request #7052 from EOSIO/release-1.7.1
heifner Apr 3, 2019
254cde2
cleos: handle no Content-length header in http response
elmato Apr 3, 2019
dd59cf5
Add back in Docker Hub deprecation that was accidentally removed
heifner Apr 3, 2019
af76934
Merge pull request #7058 from EOSIO/doc-hub-1.7.x
heifner Apr 4, 2019
5034d83
Merge branch 'master' into merge-1.7.x-to-master
heifner Apr 4, 2019
73501a4
Merge pull request #7062 from EOSIO/merge-1.7.x-to-master
heifner Apr 4, 2019
3554f46
fix rpm command for uninstalling eosio
spoonincode Apr 4, 2019
c87c8f9
read_delay_timer runs on net_plugin thread_pool so app().post for exe…
heifner Apr 8, 2019
65cb7bd
Also fix fedora RPM uninstall
spoonincode Apr 8, 2019
c4adcb3
Merge pull request #7065 from EOSIO/readme_uninstall_goof_17x
spoonincode Apr 8, 2019
c0b542e
Merge pull request #7085 from EOSIO/fix-gh#7084-v1.7.x
heifner Apr 9, 2019
5e8c459
cleos: simplify http response body reading
elmato Apr 10, 2019
f3e5134
Merge pull request #7054 from elmato/cleos-http-content-length
spoonincode Apr 10, 2019
698251c
Revert "Allow cleos to query an API node behind Cloudflare"
spoonincode Apr 10, 2019
265b60d
Merge pull request #7105 from EOSIO/revert-7054-cleos-http-content-le…
spoonincode Apr 10, 2019
c332e6b
Revert EXCLUDE_FROM_ALL (release/1.7.x) (#7130)
larryk85 Apr 16, 2019
8f9bfc9
Added lib64 to CMake search space because of CentOS
kj4ezj Apr 16, 2019
73d6c7e
Merge pull request #7140 from EOSIO/zach-1.7-centos-lib
heifner Apr 17, 2019
7ecd886
.buildkite Folder Updates Merged in from develop (#7148)
kj4ezj Apr 17, 2019
25fe228
Bump to 1.7.2
heifner Apr 18, 2019
f34e224
Merge pull request #7152 from EOSIO/bump-to-1.7.2
heifner Apr 18, 2019
a2a1e9e
Merge branch 'master' into merge-release-1.7.2-to-master
heifner Apr 18, 2019
38d8c2b
Merge pull request #7155 from EOSIO/merge-release-1.7.2-to-master
heifner Apr 18, 2019
6868ad0
Remove long-running tests
kj4ezj Apr 18, 2019
65efd15
Merge pull request #7161 from EOSIO/zach-1.7-centralize-lrt
kj4ezj Apr 19, 2019
63ef287
Reduce logging of complete object when unable to serialize
heifner Apr 19, 2019
be8a219
Add demangle of type
heifner Apr 19, 2019
6536786
Merge pull request #7169 from EOSIO/reduce-noise-1.7.x
heifner Apr 19, 2019
2e6599d
Keep block log open to minimize open/close of file
heifner Apr 23, 2019
d18b529
Merge pull request #7199 from EOSIO/keep-block-log-open-1.7.x
heifner Apr 24, 2019
ec33e3f
allow opening block log with no blocks (fixes undefined behavior bug)…
arhag Apr 23, 2019
f5a8abb
Add some missing libs for build
lcgogo Apr 17, 2019
e8a31e2
Merge pull request #7202 from EOSIO/fix-block-log-bugs-1.7.x
heifner Apr 24, 2019
d67bf6f
Merge pull request #7203 from EOSIO/docker_yubihsm_dep_fix_17x
arhag Apr 25, 2019
a5c0258
Bump to 1.7.3
heifner Apr 25, 2019
99ce78c
Merge pull request #7210 from EOSIO/bump-to-1.7.3
heifner Apr 25, 2019
a9aa4c9
Merge branch 'master' into merge-release-1.7.3-to-master
heifner Apr 25, 2019
448287d
Merge pull request #7216 from EOSIO/merge-release-1.7.3-to-master
heifner Apr 25, 2019
98326a9
Update to fc with gcc7 fix
heifner Apr 26, 2019
3c7076e
Add additional platforms for pgrep so unpinned build passes tests
heifner Apr 29, 2019
740b94f
Determine flags for pgrep dynamicly instead of by list of hosts
heifner Apr 29, 2019
fc817a1
Add missing import or re
heifner Apr 29, 2019
b3a9e2e
Merge pull request #7226 from EOSIO/update-fc-v1.7.x
heifner Apr 30, 2019
d2db42e
Change default log level from debug to info.
heifner May 1, 2019
edeb698
Merge pull request #7245 from EOSIO/log-level-v1.7.x
heifner May 1, 2019
c4c431a
Created test metrics Buildkite job
kj4ezj May 3, 2019
0505264
Added universal pipeline configuration file
kj4ezj May 3, 2019
48a8e66
Make warnings and errors more obvious in Buildkite
kj4ezj May 3, 2019
ab4e11e
Accidentally used old base, merge branch 'release/1.7.x' into zach-1.…
kj4ezj May 3, 2019
111c8b7
Do not fail build due to metrics
kj4ezj May 3, 2019
8cf3c41
Added check for skipped jobs
kj4ezj May 3, 2019
072a4bb
Return exit success in Buildkite so we don't prevent PRs from being m…
kj4ezj May 3, 2019
3a0fc02
Merge pull request #7257 from EOSIO/zach-1.7-test-metrics
kj4ezj May 3, 2019
5120890
Added eosio-nightly-builds pipeline to pipeline.jsonc
kj4ezj May 6, 2019
e7d0fb2
Merge pull request #7271 from EOSIO/zach-1.7-pipeline-config
kj4ezj May 6, 2019
5fc783c
Fix cleos REX help
heifner May 6, 2019
abc2fb8
Merge pull request #7277 from EOSIO/cleos-rex-1.7.x
zorba80 May 6, 2019
d53d8b8
Tell CMake to look in both lib and lib64 for libbuiltins
kj4ezj May 10, 2019
20e4982
Use debug level logging when --verbose output requested
heifner May 11, 2019
619163b
Merge pull request #7333 from EOSIO/verbose-unittest-1.7.x
heifner May 11, 2019
5a722eb
Merge pull request #7323 from EOSIO/zach-cdt-fixes
kj4ezj May 13, 2019
1a19c1a
Created "version-label" Integration Test
kj4ezj May 14, 2019
6961e03
Finish test purpose comment
kj4ezj May 14, 2019
15422af
Merge pull request #7354 from EOSIO/zach-1.7-version-label
kj4ezj May 15, 2019
b6836ff
Removed eosio pipeline files
kj4ezj May 24, 2019
b2c49cd
Merge pull request #7410 from EOSIO/zach-1.7-centralize-eosio-pipeline
kj4ezj May 24, 2019
e7418dd
Configured base images pipeline.
scottarnette May 28, 2019
4a19ca7
Merge pull request #7427 from EOSIO/1.7.x-pipeline-base-images
scottarnette May 28, 2019
48d63e9
Reference to shared_ptr can be invalidated by completion of push_tran…
heifner May 30, 2019
e6cee03
Merge pull request #7439 from EOSIO/gh7436-sigsegv-1.7.x
heifner May 31, 2019
ce1220f
fix assignment during timer creation
spoonincode Jun 3, 2019
c144376
Merge pull request #7462 from EOSIO/fix_timer_assign_17x_v2
arhag Jun 4, 2019
0260643
bump version to 1.7.4
arhag Jun 4, 2019
f932e12
Merge pull request #7464 from EOSIO/bump-version-to-1.7.4
arhag Jun 4, 2019
784939c
Merge branch 'master' into merge-release-1.7.4-to-master
arhag Jun 4, 2019
5082391
Merge pull request #7466 from EOSIO/merge-release-1.7.4-to-master
arhag Jun 4, 2019
b586862
Merge branch 'master' into merge-release-1.8.0-to-master
arhag Jun 28, 2019
eb88d03
Merge pull request #7556 from EOSIO/merge-release-1.8.0-to-master
arhag Jun 28, 2019
165ed5d
Merge branch 'master' into merge-release-1.8.1-to-master
arhag Jul 9, 2019
1418543
Merge pull request #7620 from EOSIO/merge-release-1.8.1-to-master
arhag Jul 9, 2019
7054aa9
Merge branch 'release/1.8.x' of https://github.com/eosio/eos
arhag Aug 28, 2019
0bc3432
Merge branch 'master' into merge-release-1.8.2-to-master
arhag Aug 28, 2019
be804bf
Merge pull request #7823 from EOSIO/merge-release-1.8.2-to-master
heifner Aug 28, 2019
338827b
New Buildkite Pipeline
kj4ezj Aug 30, 2019
1d19e48
Merge branch 'master' into trav-poc-master
kj4ezj Aug 30, 2019
f499f47
Merge branch '1.8.x-trav-poc' into trav-poc-master
scottarnette Sep 3, 2019
225ee13
added automation-basic-builder-fleet to generate
Sep 3, 2019
21803ff
Remove verbose output on serial tests. Remove mongo dependency on Tra…
scottarnette Sep 3, 2019
3eceb41
Moved "Git Submodule Regression Check" YAML into generate-pipeline.sh
kj4ezj Sep 3, 2019
44ee5bb
Fix Mojave Package Builder label
kj4ezj Sep 3, 2019
3cba5b9
Create "Brew Updater" step
kj4ezj Sep 3, 2019
a79bd22
Move "Ubuntu 18.04 - Contract Builder" step to end
kj4ezj Sep 3, 2019
718b4d7
Merge branch 'trav-poc-master' of ssh://github.com/EOSIO/eos into tra…
scottarnette Sep 3, 2019
b546357
Add mac script back.
scottarnette Sep 4, 2019
de70e29
added versions to platform files
Sep 4, 2019
3f71b8f
Merge pull request #7834 from EOSIO/trav-poc-master
arhag Sep 4, 2019
a7e3e2b
Add SKIP_MAC to Brew Updater.
scottarnette Sep 5, 2019
8fe4d20
Extend timeout for Contract Builder.
scottarnette Sep 5, 2019
c3faeba
Set contract builder to use unpinned image. This matches existing con…
scottarnette Sep 5, 2019
d8d4601
Merge pull request #7852 from EOSIO/cicd-fixes-master
arhag Sep 5, 2019
cb5e0f8
Ensure release flag is added to all builds.
scottarnette Sep 6, 2019
673e775
Pinned Mac builds should install Boost from source. Unpinned should i…
scottarnette Sep 6, 2019
5d2127d
Pinned Mac builds should install Boost from source. Unpinned should i…
scottarnette Sep 6, 2019
2deba91
Merge pull request #7862 from EOSIO/cicd-test-debug-master
arhag Sep 6, 2019
23ad745
Replace SKIP_MOJAVE with SKIP_MACOS_10_14.
scottarnette Sep 6, 2019
8396fa1
Pinned Mac builds should install Boost from source. Unpinned should i…
scottarnette Sep 9, 2019
392af4d
Merge branch 'master' into cicd-mac-boost-master
scottarnette Sep 9, 2019
170cd11
Removed flags from Boost install step.
scottarnette Sep 9, 2019
9475b43
Merge pull request #7871 from EOSIO/cicd-mac-boost-master
arhag Sep 9, 2019
eaf18fe
Merge branch 'master' into merge-release-1.8.3-to-master
heifner Sep 12, 2019
7116e88
Merge pull request #7897 from EOSIO/merge-release-1.8.3-to-master
arhag Sep 12, 2019
2e4d020
anka plugin update and new features for failover of registry
Sep 13, 2019
2fbd79c
added fix
Sep 13, 2019
d984c32
added better regex
Sep 13, 2019
d8fd563
removed quote from GIT_FETCH/pull regex
Sep 13, 2019
80e7169
Merge pull request #7915 from EOSIO/master-forked-pr-fix
arhag Sep 14, 2019
80c8a90
Merge branch 'master' into master-anka-plugin-update
Sep 16, 2019
51f6a07
Merge pull request #7911 from EOSIO/master-anka-plugin-update
arhag Sep 16, 2019
6f534f9
Merge branch 'master' into merge-release-1.8.4-to-master
heifner Sep 24, 2019
7c0b0d3
Merge pull request #7981 from EOSIO/merge-release-1.8.4-to-master
heifner Sep 24, 2019
039e4dd
eosio/producer -> eosio/ci
Oct 8, 2019
eca12a8
Merge pull request #8038 from EOSIO/master-dockerhub-name-change
arhag Oct 8, 2019
0c3f8f6
10.14.4 -> 10.14.6
Oct 10, 2019
97e6ff1
10.14.4 -> 10.14.6
Oct 11, 2019
d865e85
Merge pull request #8064 from EOSIO/1.8.x-10.14.6
NorseGaud Oct 15, 2019
1252627
Merge pull request #8063 from EOSIO/master-10.14.6
heifner Oct 15, 2019
26b7f94
Switch to EKS agents. Add separate build/test fleet.
scottarnette Oct 15, 2019
847c89f
Remove read delay timer and disconnect when queue is full. Drop trx w…
heifner Oct 16, 2019
9fd0484
Fix double quotes.
scottarnette Oct 16, 2019
4d92352
Pass correct number of JOBS to unit test step.
scottarnette Oct 16, 2019
fac1ec6
Merge pull request #8083 from EOSIO/net-plugin-max-1.8
heifner Oct 16, 2019
661262a
Merge pull request #8087 from EOSIO/cicd-fleet-update-r1.8
scottarnette Oct 17, 2019
c60af7e
bump version to 1.8.5
arhag Oct 17, 2019
0dbd23e
Merge pull request #8092 from EOSIO/bump-version-to-1.8.5
arhag Oct 17, 2019
0a600a9
Merge branch 'master' into merge-release-1.8.5-to-master
arhag Oct 17, 2019
a2317d3
Merge pull request #8093 from EOSIO/merge-release-1.8.5-to-master
arhag Oct 17, 2019
64c3b97
mac steps get a min of 1 hour
Oct 21, 2019
67cda55
1 hour min for mac steps
Oct 21, 2019
8d57f52
Merge pull request #8112 from EOSIO/1.8.x-timeout
NorseGaud Oct 21, 2019
52ddb32
Merge pull request #8108 from EOSIO/master-timeout
arhag Oct 23, 2019
8c365ed
build step merge
Oct 24, 2019
8f9752b
added new build step & comments to help describe what variables are a…
Oct 24, 2019
aee7857
comments on what you should expect to help speed up interpolation/log…
Oct 24, 2019
aa0ee4b
ensure name change
Oct 24, 2019
58b3504
ensure script name change
Oct 24, 2019
b8e7893
Merge pull request #8126 from EOSIO/1.8.x-ensure-in-build-step
NorseGaud Oct 24, 2019
7d210b3
Merge pull request #8124 from EOSIO/master-ensure-in-build-step
larryk85 Oct 24, 2019
492a0e0
Add support for platform type directory.
scottarnette Oct 30, 2019
d3d685e
Add support for platform type directory.
scottarnette Oct 30, 2019
b083328
Fix for incorrect dockerfiles.
scottarnette Oct 30, 2019
885122f
Fix quotes.
scottarnette Oct 30, 2019
97634ed
Merge pull request #8148 from EOSIO/cicd-platform-split-r1.8
scottarnette Oct 30, 2019
c0a7db8
Post callback as medium priority to prevent ship running at maximum p…
heifner Oct 28, 2019
89a5094
Be careful to capture lambda values by value since execution happens …
heifner Nov 1, 2019
3d9b651
Merge pull request #8156 from EOSIO/ship-priority-1.8
heifner Nov 4, 2019
c32a20d
Fix for UNPINNED=true not working.
scottarnette Nov 5, 2019
2ebba60
ensure GMP is always dynamically linked
spoonincode Nov 5, 2019
56bbbcf
Remove signs of UNPINNED in favor of only supporting one env.
scottarnette Nov 5, 2019
b2a82aa
Merge pull request #8174 from EOSIO/ensure_gmp_dynamic_linkage_18x
spoonincode Nov 5, 2019
fc88f77
Remove signs of UNPINNED in favor of only supporting one env.
scottarnette Nov 5, 2019
ec0b885
Merge pull request #8176 from EOSIO/cicd-quick-fixes-r1.8
scottarnette Nov 5, 2019
4421c65
10 second sleep
Nov 6, 2019
124f64d
Merge pull request #8183 from EOSIO/1.8.x-sleepincrease
NorseGaud Nov 6, 2019
8c9e9dc
bump version to 1.8.6
arhag Nov 8, 2019
3b07375
Merge pull request #8202 from EOSIO/bump-version-to-1.8.6
arhag Nov 8, 2019
d212bc0
Merge branch 'master' into merge-release-1.8.6-to-master
arhag Nov 8, 2019
3c553db
Merge pull request #8203 from EOSIO/merge-release-1.8.6-to-master
arhag Nov 8, 2019
3d5f15b
Merge branch 'develop' into v2.0.0-rc2
Nov 12, 2019
9061673
Merge branch 'develop' of https://github.com/Remmeauth/remprotocol in…
Dec 4, 2019
284bcd9
rm travis
Dec 4, 2019
9f9be18
Merge branch 'develop' into develop-v2.0.0-rc2
Dec 13, 2019
2ad0d5b
Merge branch 'develop' of https://github.com/Remmeauth/remprotocol in…
Dec 13, 2019
b53eb18
Merge branch 'develop' of https://github.com/Remmeauth/remprotocol in…
Dec 13, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .cicd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ if [[ "$(uname)" == 'Darwin' ]]; then
export PINNED=false
ccache -s
CMAKE_EXTRAS="$CMAKE_EXTRAS -DCMAKE_CXX_COMPILER_LAUNCHER=ccache"
./$CICD_DIR/platforms/macos-10.14.sh
else
CMAKE_EXTRAS="$CMAKE_EXTRAS -DBUILD_MONGO_DB_PLUGIN=true"
fi
[[ ! "$PINNED" == 'false' || "$UNPINNED" == 'true' ]] && CMAKE_EXTRAS="$CMAKE_EXTRAS -DCMAKE_TOOLCHAIN_FILE=$HELPERS_DIR/clang.make"
[[ ! "$PINNED" == 'false' ]] && CMAKE_EXTRAS="$CMAKE_EXTRAS -DCMAKE_TOOLCHAIN_FILE=$HELPERS_DIR/clang.make"
cd $BUILD_DIR
echo "cmake $CMAKE_EXTRAS .."
cmake $CMAKE_EXTRAS ..
Expand All @@ -23,18 +22,17 @@ if [[ "$(uname)" == 'Darwin' ]]; then
else # Linux
CMAKE_EXTRAS="$CMAKE_EXTRAS -DBUILD_MONGO_DB_PLUGIN=true"
ARGS=${ARGS:-"--rm --init -v $(pwd):$MOUNTED_DIR"}
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$IMAGE_TAG.dockerfile
PRE_COMMANDS="cd $MOUNTED_DIR/build"
# PRE_COMMANDS: Executed pre-cmake
# CMAKE_EXTRAS: Executed within and right before the cmake path (cmake CMAKE_EXTRAS ..)
[[ ! "$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' ]]; then
if [[ "$IMAGE_TAG" == 'amazon_linux-2-pinned' ]]; then
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib64/ccache:\\\$PATH"
elif [[ "$IMAGE_TAG" == 'centos-7.6' ]]; then
elif [[ "$IMAGE_TAG" == 'centos-7.6-pinned' ]]; then
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib64/ccache:\\\$PATH"
elif [[ "$IMAGE_TAG" == 'ubuntu-16.04' ]]; then
elif [[ "$IMAGE_TAG" == 'ubuntu-16.04-pinned' ]]; then
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib/ccache:\\\$PATH"
elif [[ "$IMAGE_TAG" == 'ubuntu-18.04' ]]; then
elif [[ "$IMAGE_TAG" == 'ubuntu-18.04-pinned' ]]; then
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib/ccache:\\\$PATH"
elif [[ "$IMAGE_TAG" == 'amazon_linux-2-unpinned' ]]; then
PRE_COMMANDS="$PRE_COMMANDS && export PATH=/usr/lib64/ccache:\\\$PATH"
Expand All @@ -58,6 +56,7 @@ else # Linux
ARGS="$ARGS -v /usr/lib/ccache -v $HOME/.ccache:/opt/.ccache -e JOBS -e TRAVIS -e CCACHE_DIR=/opt/.ccache"
COMMANDS="ccache -s && $BUILD_COMMANDS"
fi
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$PLATFORM_TYPE/$IMAGE_TAG.dockerfile
COMMANDS="$PRE_COMMANDS && $COMMANDS"
echo "$ docker run $ARGS $(buildkite-intrinsics) $FULL_TAG bash -c \"$COMMANDS\""
eval docker run $ARGS $(buildkite-intrinsics) $FULL_TAG bash -c \"$COMMANDS\"
Expand Down
6 changes: 3 additions & 3 deletions .cicd/generate-base-images.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash
set -eo pipefail
. ./.cicd/helpers/general.sh
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/${IMAGE_TAG}.dockerfile
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$PLATFORM_TYPE/$IMAGE_TAG.dockerfile
# look for Docker image
echo "+++ :mag_right: Looking for $FULL_TAG"
ORG_REPO=$(echo $FULL_TAG | cut -d: -f1)
TAG=$(echo $FULL_TAG | cut -d: -f2)
EXISTS=$(curl -s -H "Authorization: Bearer $(curl -sSL "https://auth.docker.io/token?service=registry.docker.io&scope=repository:${ORG_REPO}:pull" | jq --raw-output .token)" "https://registry.hub.docker.com/v2/${ORG_REPO}/manifests/$TAG")
# build, if neccessary
if [[ $EXISTS =~ '404 page not found' || $EXISTS =~ 'manifest unknown' ]]; then # if we cannot pull the image, we build and push it first
docker build -t $FULL_TAG -f $CICD_DIR/platforms/${IMAGE_TAG}.dockerfile .
if [[ $EXISTS =~ '404 page not found' || $EXISTS =~ 'manifest unknown' || $FORCE_BASE_IMAGE == 'true' ]]; then # if we cannot pull the image, we build and push it first
docker build -t $FULL_TAG -f $CICD_DIR/platforms/$PLATFORM_TYPE/$IMAGE_TAG.dockerfile .
docker push $FULL_TAG
else
echo "$FULL_TAG already exists."
Expand Down
76 changes: 47 additions & 29 deletions .cicd/generate-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,28 @@ for FILE in $(ls $CICD_DIR/platforms); do
( [[ $SKIP_MAC == true ]] && [[ $FILE =~ 'macos' ]] ) && continue
( [[ $SKIP_LINUX == true ]] && [[ ! $FILE =~ 'macos' ]] ) && continue
# use pinned or unpinned, not both sets of platform files
if [[ $PINNED == false || $UNPINNED == true ]] && [[ ! $FILE =~ 'macos' ]]; then
if [[ $PINNED == false ]]; then
export SKIP_CONTRACT_BUILDER=${SKIP_CONTRACT_BUILDER:-true}
export SKIP_PACKAGE_BUILDER=${SKIP_PACKAGE_BUILDER:-true}
[[ ! $FILE =~ 'unpinned' ]] && continue
else
[[ $FILE =~ 'unpinned' ]] && continue
fi
export FILE_NAME="$(echo $FILE | awk '{split($0,a,/\.(d|s)/); print a[1] }')"
# macos-10.14
# ubuntu-16.04
export PLATFORM_NAME="$(echo $FILE_NAME | cut -d- -f1 | sed 's/os/OS/g')"
# macOS
# ubuntu
export PLATFORM_NAME_UPCASE="$(echo $PLATFORM_NAME | tr a-z A-Z)"
# MACOS
# UBUNTU
export VERSION_MAJOR="$(echo $FILE_NAME | cut -d- -f2 | cut -d. -f1)"
# 10
# 16
[[ "$(echo $FILE_NAME | cut -d- -f2)" =~ '.' ]] && export VERSION_MINOR="_$(echo $FILE_NAME | cut -d- -f2 | cut -d. -f2)" || export VERSION_MINOR=''
# _14
# _04
export VERSION_FULL="$(echo $FILE_NAME | cut -d- -f2)"
# 10.14
# 16.04
OLDIFS=$IFS
IFS='_'
set $PLATFORM_NAME
Expand All @@ -46,9 +55,9 @@ for FILE in $(ls $CICD_DIR/platforms); do
[[ $FILE_NAME =~ 'ubuntu' ]] && export ICON=':ubuntu:'
[[ $FILE_NAME =~ 'centos' ]] && export ICON=':centos:'
[[ $FILE_NAME =~ 'macos' ]] && export ICON=':darwin:'
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$FILE # returns HASHED_IMAGE_TAG, etc
export PLATFORMS_JSON_ARRAY=$(echo $PLATFORMS_JSON_ARRAY | jq -c '. += [{
"FILE_NAME": env.FILE_NAME,
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$PLATFORM_TYPE/$FILE # returns HASHED_IMAGE_TAG, etc
export PLATFORMS_JSON_ARRAY=$(echo $PLATFORMS_JSON_ARRAY | jq -c '. += [{
"FILE_NAME": env.FILE_NAME,
"PLATFORM_NAME": env.PLATFORM_NAME,
"PLATFORM_NAME_UPCASE": env.PLATFORM_NAME_UPCASE,
"VERSION_MAJOR": env.VERSION_MAJOR,
Expand Down Expand Up @@ -116,7 +125,7 @@ echo $PLATFORMS_JSON_ARRAY | jq -cr '.[]' | while read -r PLATFORM_JSON; do
- "tar -pczf build.tar.gz build && buildkite-agent artifact upload build.tar.gz"
env:
IMAGE_TAG: $(echo "$PLATFORM_JSON" | jq -r .FILE_NAME)
BUILDKITE_AGENT_ACCESS_TOKEN:
PLATFORM_TYPE: $PLATFORM_TYPE
agents:
queue: "$BUILDKITE_BUILD_AGENT_QUEUE"
timeout: ${TIMEOUT:-180}
Expand All @@ -133,7 +142,7 @@ EOF
- "cd eos && ./.cicd/build.sh"
- "cd eos && tar -pczf build.tar.gz build && buildkite-agent artifact upload build.tar.gz"
plugins:
- chef/anka#v0.5.4:
- chef/anka#v0.5.5:
no-volume: true
inherit-environment-vars: true
vm-name: ${MOJAVE_ANKA_TEMPLATE_NAME}
Expand All @@ -146,11 +155,21 @@ EOF
failover-registries:
- 'registry_1'
- 'registry_2'
pre-execute-sleep: 5
pre-execute-sleep: 10
pre-commands:
- "git clone git@github.com:EOSIO/mac-anka-fleet.git && cd mac-anka-fleet && . ./ensure-tag.bash -u 12 -r 25G -a '-n'"
env:
REPO: ${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}
REPO_COMMIT: $BUILDKITE_COMMIT
TEMPLATE: $MOJAVE_ANKA_TEMPLATE_NAME
TEMPLATE_TAG: $MOJAVE_ANKA_TAG_BASE
IMAGE_TAG: $(echo "$PLATFORM_JSON" | jq -r .FILE_NAME)
PLATFORM_TYPE: $PLATFORM_TYPE
TAG_COMMANDS: "git clone ${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO} eos && cd eos && $GIT_FETCH git checkout -f $BUILDKITE_COMMIT && git submodule update --init --recursive && export IMAGE_TAG=$(echo "$PLATFORM_JSON" | jq -r .FILE_NAME) && export PLATFORM_TYPE=$PLATFORM_TYPE && . ./.cicd/platforms/$PLATFORM_TYPE/$(echo "$PLATFORM_JSON" | jq -r .FILE_NAME).sh && cd ~/eos && cd .. && rm -rf eos"
PROJECT_TAG: $(echo "$PLATFORM_JSON" | jq -r .HASHED_IMAGE_TAG)
timeout: ${TIMEOUT:-180}
agents: "queue=mac-anka-large-node-fleet"
skip: \${SKIP_$(echo "$PLATFORM_JSON" | jq -r .PLATFORM_NAME_UPCASE)_$(echo "$PLATFORM_JSON" | jq -r .VERSION_MAJOR)$(echo "$PLATFORM_JSON" | jq -r .VERSION_MINOR)}${SKIP_BUILD}

EOF
fi
if [ "$BUILDKITE_SOURCE" = "schedule" ]; then
Expand Down Expand Up @@ -181,7 +200,7 @@ for ROUND in $(seq 1 $ROUNDS); do
- "./.cicd/test.sh scripts/parallel-test.sh"
env:
IMAGE_TAG: $(echo "$PLATFORM_JSON" | jq -r .FILE_NAME)
BUILDKITE_AGENT_ACCESS_TOKEN:
PLATFORM_TYPE: $PLATFORM_TYPE
agents:
queue: "$BUILDKITE_BUILD_AGENT_QUEUE"
timeout: ${TIMEOUT:-30}
Expand Down Expand Up @@ -240,7 +259,7 @@ EOF
- "./.cicd/test.sh scripts/serial-test.sh $TEST_NAME"
env:
IMAGE_TAG: $(echo "$PLATFORM_JSON" | jq -r .FILE_NAME)
BUILDKITE_AGENT_ACCESS_TOKEN:
PLATFORM_TYPE: $PLATFORM_TYPE
agents:
queue: "$BUILDKITE_TEST_AGENT_QUEUE"
timeout: ${TIMEOUT:-20}
Expand Down Expand Up @@ -268,8 +287,8 @@ EOF
failover-registries:
- 'registry_1'
- 'registry_2'
pre-execute-sleep: 5
timeout: ${TIMEOUT:-20}
pre-execute-sleep: 10
timeout: ${TIMEOUT:-60}
agents: "queue=mac-anka-node-fleet"
skip: \${SKIP_$(echo "$PLATFORM_JSON" | jq -r .PLATFORM_NAME_UPCASE)_$(echo "$PLATFORM_JSON" | jq -r .VERSION_MAJOR)$(echo "$PLATFORM_JSON" | jq -r .VERSION_MINOR)}${SKIP_SERIAL_TESTS}
EOF
Expand Down Expand Up @@ -300,7 +319,7 @@ EOF
- "./.cicd/test.sh scripts/long-running-test.sh $TEST_NAME"
env:
IMAGE_TAG: $(echo "$PLATFORM_JSON" | jq -r .FILE_NAME)
BUILDKITE_AGENT_ACCESS_TOKEN:
PLATFORM_TYPE: $PLATFORM_TYPE
agents:
queue: "$BUILDKITE_TEST_AGENT_QUEUE"
timeout: ${TIMEOUT:-180}
Expand Down Expand Up @@ -328,7 +347,7 @@ EOF
failover-registries:
- 'registry_1'
- 'registry_2'
pre-execute-sleep: 5
pre-execute-sleep: 10
timeout: ${TIMEOUT:-180}
agents: "queue=mac-anka-node-fleet"
skip: \${SKIP_$(echo "$PLATFORM_JSON" | jq -r .PLATFORM_NAME_UPCASE)_$(echo "$PLATFORM_JSON" | jq -r .VERSION_MAJOR)$(echo "$PLATFORM_JSON" | jq -r .VERSION_MINOR)}${SKIP_LONG_RUNNING_TESTS:-true}
Expand All @@ -352,7 +371,7 @@ EOF
done
# trigger eosio-lrt post pr
if [[ -z $BUILDKITE_TRIGGERED_FROM_BUILD_ID && $TRIGGER_JOB == "true" ]]; then
if ( [[ ! $PINNED == false || $UNPINNED == true ]] ); then
if ( [[ ! $PINNED == false ]] ); then
cat <<EOF
- label: ":pipeline: Trigger Long Running Tests"
trigger: "eosio-lrt"
Expand All @@ -367,14 +386,13 @@ if [[ -z $BUILDKITE_TRIGGERED_FROM_BUILD_ID && $TRIGGER_JOB == "true" ]]; then
BUILDKITE_PULL_REQUEST_REPO: "${BUILDKITE_PULL_REQUEST_REPO}"
SKIP_BUILD: "true"
PINNED: "${PINNED}"
UNPINNED: "${UNPINNED}"

EOF
fi
fi
# trigger multiversion post pr
if [[ -z $BUILDKITE_TRIGGERED_FROM_BUILD_ID && $TRIGGER_JOB = "true" ]]; then
if ( [[ ! $PINNED == false || $UNPINNED == true ]] ); then
if ( [[ ! $PINNED == false ]] ); then
cat <<EOF
- label: ":pipeline: Trigger Multiversion Test"
trigger: "eos-multiversion-tests"
Expand Down Expand Up @@ -415,8 +433,8 @@ cat <<EOF
- "buildkite-agent artifact download build.tar.gz . --step ':centos: CentOS 7.6 - Build' --agent-access-token \$\$BUILDKITE_AGENT_ACCESS_TOKEN && tar -xzf build.tar.gz"
- "./.cicd/package.sh"
env:
IMAGE_TAG: "centos-7.6"
BUILDKITE_AGENT_ACCESS_TOKEN:
IMAGE_TAG: "centos-7.6-$PLATFORM_TYPE"
PLATFORM_TYPE: $PLATFORM_TYPE
OS: "el7" # OS and PKGTYPE required for lambdas
PKGTYPE: "rpm"
agents:
Expand All @@ -429,8 +447,8 @@ cat <<EOF
- "buildkite-agent artifact download build.tar.gz . --step ':ubuntu: Ubuntu 16.04 - Build' --agent-access-token \$\$BUILDKITE_AGENT_ACCESS_TOKEN && tar -xzf build.tar.gz"
- "./.cicd/package.sh"
env:
IMAGE_TAG: "ubuntu-16.04"
BUILDKITE_AGENT_ACCESS_TOKEN:
IMAGE_TAG: "ubuntu-16.04-$PLATFORM_TYPE"
PLATFORM_TYPE: $PLATFORM_TYPE
OS: "ubuntu-16.04" # OS and PKGTYPE required for lambdas
PKGTYPE: "deb"
agents:
Expand All @@ -443,8 +461,8 @@ cat <<EOF
- "buildkite-agent artifact download build.tar.gz . --step ':ubuntu: Ubuntu 18.04 - Build' --agent-access-token \$\$BUILDKITE_AGENT_ACCESS_TOKEN && tar -xzf build.tar.gz"
- "./.cicd/package.sh"
env:
IMAGE_TAG: "ubuntu-18.04"
BUILDKITE_AGENT_ACCESS_TOKEN:
IMAGE_TAG: "ubuntu-18.04-$PLATFORM_TYPE"
PLATFORM_TYPE: $PLATFORM_TYPE
OS: "ubuntu-18.04" # OS and PKGTYPE required for lambdas
PKGTYPE: "deb"
agents:
Expand All @@ -469,17 +487,17 @@ cat <<EOF
failover-registries:
- 'registry_1'
- 'registry_2'
pre-execute-sleep: 5
pre-execute-sleep: 10
agents:
- "queue=mac-anka-node-fleet"
timeout: ${TIMEOUT:-10}
timeout: ${TIMEOUT:-60}
skip: ${SKIP_MACOS_10_14}${SKIP_PACKAGE_BUILDER}${SKIP_MAC}

- label: ":ubuntu: Ubuntu 18.04 - Contract Builder"
command: "./.cicd/installation-build.sh"
env:
IMAGE_TAG: "ubuntu-18.04-unpinned"
BUILDKITE_AGENT_ACCESS_TOKEN:
PLATFORM_TYPE: "unpinned"
agents:
queue: "$BUILDKITE_BUILD_AGENT_QUEUE"
timeout: ${TIMEOUT:-30}
Expand Down
1 change: 0 additions & 1 deletion .cicd/helpers/file-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ set -eo pipefail
[[ -z $1 ]] && echo "Please provide the file to be hashed" && exit 1
FILE_NAME=$(basename $1 | awk '{split($0,a,/\.(d|s)/); print a[1] }')
export DETERMINED_HASH=$(sha1sum $1 | awk '{ print $1 }')
( [[ $FILE_NAME =~ 'macos' ]] && [[ $PINNED == false || $UNPINNED == true ]] ) && FILE_NAME="${FILE_NAME}-unpinned"
export HASHED_IMAGE_TAG="eos-${FILE_NAME}-${DETERMINED_HASH}"
export FULL_TAG="eosio/ci:$HASHED_IMAGE_TAG"
2 changes: 0 additions & 2 deletions .cicd/installation-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ if [[ $BUILDKITE_BRANCH =~ ^release/[0-9].[0-9]+.x$ || $BUILDKITE_BRANCH =~ ^mas
export CONTRACTS_BUILDER_TAG="eosio/ci-contracts-builder:base-ubuntu-18.04"
export ARGS="--name ci-contracts-builder-$BUILDKITE_COMMIT --init -v $(pwd):$MOUNTED_DIR"
$CICD_DIR/build.sh
docker commit ci-contracts-builder-$BUILDKITE_COMMIT $CONTRACTS_BUILDER_TAG-latest
docker commit ci-contracts-builder-$BUILDKITE_COMMIT $CONTRACTS_BUILDER_TAG-$BUILDKITE_COMMIT
docker commit ci-contracts-builder-$BUILDKITE_COMMIT $CONTRACTS_BUILDER_TAG-$BRANCH
docker commit ci-contracts-builder-$BUILDKITE_COMMIT $CONTRACTS_BUILDER_TAG-$BRANCH-$BUILDKITE_COMMIT
docker push $CONTRACTS_BUILDER_TAG-latest
docker push $CONTRACTS_BUILDER_TAG-$BUILDKITE_COMMIT
docker push $CONTRACTS_BUILDER_TAG-$BRANCH
docker push $CONTRACTS_BUILDER_TAG-$BRANCH-$BUILDKITE_COMMIT
Expand Down
2 changes: 1 addition & 1 deletion .cicd/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [[ $(uname) == 'Darwin' ]]; then
done
else # Linux
ARGS=${ARGS:-"--rm --init -v $(pwd):$MOUNTED_DIR"}
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$IMAGE_TAG.dockerfile
. $HELPERS_DIR/file-hash.sh $CICD_DIR/platforms/$PLATFORM_TYPE/$IMAGE_TAG.dockerfile
PRE_COMMANDS="cd $MOUNTED_DIR/build/packages && chmod 755 ./*.sh"
if [[ "$IMAGE_TAG" =~ "ubuntu" ]]; then
ARTIFACT='*.deb'
Expand Down
86 changes: 86 additions & 0 deletions .cicd/platforms/pinned/macos-10.14-pinned.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#!/bin/bash
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 || :
# install clang from source
git clone --single-branch --branch release_80 https://git.llvm.org/git/llvm.git clang8
cd clang8
git checkout 18e41dc
cd tools
git clone --single-branch --branch release_80 https://git.llvm.org/git/lld.git
cd lld
git checkout d60a035
cd ../
git clone --single-branch --branch release_80 https://git.llvm.org/git/polly.git
cd polly
git checkout 1bc06e5
cd ../
git clone --single-branch --branch release_80 https://git.llvm.org/git/clang.git clang
cd clang
git checkout a03da8b
cd tools
mkdir extra
cd extra
git clone --single-branch --branch release_80 https://git.llvm.org/git/clang-tools-extra.git
cd clang-tools-extra
git checkout 6b34834
cd ../../../../../projects/
git clone --single-branch --branch release_80 https://git.llvm.org/git/libcxx.git
cd libcxx
git checkout 1853712
cd ../
git clone --single-branch --branch release_80 https://git.llvm.org/git/libcxxabi.git
cd libcxxabi
git checkout d7338a4
cd ../
git clone --single-branch --branch release_80 https://git.llvm.org/git/libunwind.git
cd libunwind
git checkout 57f6739
cd ../
git clone --single-branch --branch release_80 https://git.llvm.org/git/compiler-rt.git
cd compiler-rt
git checkout 5bc7979
mkdir ../../build
cd ../../build
cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX='/usr/local' -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_LIBCXX=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_INCLUDE_DOCS=OFF -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN)
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
# install mongoDB
cd ~
curl -OL https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-3.6.3.tgz
tar -xzf mongodb-osx-ssl-x86_64-3.6.3.tgz
rm -f mongodb-osx-ssl-x86_64-3.6.3.tgz
ln -s ~/mongodb-osx-x86_64-3.6.3 ~/mongodb
# install mongo-c-driver from source
cd /tmp
curl -LO https://github.com/mongodb/mongo-c-driver/releases/download/1.13.0/mongo-c-driver-1.13.0.tar.gz
tar -xzf mongo-c-driver-1.13.0.tar.gz
cd mongo-c-driver-1.13.0
mkdir -p cmake-build
cd cmake-build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='/usr/local' -DENABLE_BSON=ON -DENABLE_SSL=DARWIN -DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF -DENABLE_STATIC=ON -DENABLE_ICU=OFF -DENABLE_SASL=OFF -DENABLE_SNAPPY=OFF ..
make -j $(getconf _NPROCESSORS_ONLN)
sudo make install
cd ../..
rm mongo-c-driver-1.13.0.tar.gz
# install mongo-cxx-driver from source
cd /tmp
curl -L https://github.com/mongodb/mongo-cxx-driver/archive/r3.4.0.tar.gz -o mongo-cxx-driver-r3.4.0.tar.gz
tar -xzf mongo-cxx-driver-r3.4.0.tar.gz
cd mongo-cxx-driver-r3.4.0/build
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='/usr/local' ..
make -j $(getconf _NPROCESSORS_ONLN) VERBOSE=1
sudo make install
cd ../..
rm -f mongo-cxx-driver-r3.4.0.tar.gz
Loading