aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2019-01-14 19:21:06 +0800
committerChristian Parpart <christian@ethereum.org>2019-01-14 23:10:26 +0800
commitb7eaa4f8d3bfd4a1a04899f26bb1292ea1949f64 (patch)
tree75d83f5d604a4951d0436d6c8f776d811c00a21e
parent051df31924e7d10351e9a3abd4becd3631e83391 (diff)
downloaddexon-solidity-b7eaa4f8d3bfd4a1a04899f26bb1292ea1949f64.tar.gz
dexon-solidity-b7eaa4f8d3bfd4a1a04899f26bb1292ea1949f64.tar.zst
dexon-solidity-b7eaa4f8d3bfd4a1a04899f26bb1292ea1949f64.zip
Ensuring we use at least boost 1.65, build static on Xenial, and adapt CircleCI accordingly.
-rw-r--r--.circleci/config.yml10
-rw-r--r--ReleaseChecklist.md2
-rw-r--r--cmake/EthDependencies.cmake5
-rw-r--r--scripts/install_deps.cmake4
-rwxr-xr-xscripts/release_ppa.sh2
5 files changed, 14 insertions, 9 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 5c85007e..66fe6430 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -104,7 +104,7 @@ jobs:
test/externalTests.sh /tmp/workspace/soljson.js || test/externalTests.sh /tmp/workspace/soljson.js
build_x86_linux:
docker:
- - image: buildpack-deps:artful
+ - image: buildpack-deps:bionic
environment:
TERM: xterm
COVERAGE: "ON"
@@ -212,7 +212,7 @@ jobs:
test_check_style:
docker:
- - image: buildpack-deps:artful
+ - image: buildpack-deps:bionic
steps:
- checkout
- run:
@@ -238,7 +238,7 @@ jobs:
test_x86_linux:
docker:
- - image: buildpack-deps:artful
+ - image: buildpack-deps:bionic
environment:
TERM: xterm
steps:
@@ -315,7 +315,9 @@ jobs:
docs:
docker:
- - image: buildpack-deps:artful
+ - image: buildpack-deps:bionic
+ environment:
+ DEBIAN_FRONTEND: noninteractive
steps:
- checkout
- run:
diff --git a/ReleaseChecklist.md b/ReleaseChecklist.md
index c10db742..2610daa2 100644
--- a/ReleaseChecklist.md
+++ b/ReleaseChecklist.md
@@ -12,7 +12,7 @@ Checklist for making a release:
- [ ] Run ``scripts/create_source_tarball.sh`` while being on the tag to create the source tarball.
- [ ] Upload the source tarball (in the upload directory) to the release page.
- [ ] Run ``scripts/release_ppa.sh release`` to create the PPA release (you need the relevant openssl key).
- - [ ] Once the ``~ethereum/ubuntu/ethereum-static`` PPA build is finished and published for all platforms (make sure not to do this earlier), copy the static package to the ``~ethereum/ubuntu/ethereum`` PPA for the destination series ``Trusty`` while selecting ``Copy existing binaries``.
+ - [ ] Once the ``~ethereum/ubuntu/ethereum-static`` PPA build is finished and published for all platforms (make sure not to do this earlier), copy the static package to the ``~ethereum/ubuntu/ethereum`` PPA for the destination series ``Trusty`` and ``Xenial`` while selecting ``Copy existing binaries``.
- [ ] Check that the Docker release was pushed to Docker Hub (this still seems to have problems, run ``./scripts/docker_deploy_manual.sh release``).
- [ ] Update the homebrew realease in https://github.com/ethereum/homebrew-ethereum/blob/master/solidity.rb (version and hash)
- [ ] Update the default version on readthedocs.
diff --git a/cmake/EthDependencies.cmake b/cmake/EthDependencies.cmake
index cc2f8711..477a604d 100644
--- a/cmake/EthDependencies.cmake
+++ b/cmake/EthDependencies.cmake
@@ -5,6 +5,9 @@ function(eth_show_dependency DEP NAME)
get_property(DISPLAYED GLOBAL PROPERTY ETH_${DEP}_DISPLAYED)
if (NOT DISPLAYED)
set_property(GLOBAL PROPERTY ETH_${DEP}_DISPLAYED TRUE)
+ if (NOT("${${DEP}_VERSION}" STREQUAL ""))
+ message(STATUS "${NAME} version: ${${DEP}_VERSION}")
+ endif()
message(STATUS "${NAME} headers: ${${DEP}_INCLUDE_DIRS}")
message(STATUS "${NAME} lib : ${${DEP}_LIBRARIES}")
if (NOT("${${DEP}_DLLS}" STREQUAL ""))
@@ -38,6 +41,6 @@ set(ETH_SCRIPTS_DIR ${ETH_CMAKE_DIR}/scripts)
set(Boost_USE_MULTITHREADED ON)
option(Boost_USE_STATIC_LIBS "Link Boost statically" ON)
-find_package(Boost 1.54.0 QUIET REQUIRED COMPONENTS regex filesystem unit_test_framework program_options system)
+find_package(Boost 1.65.0 QUIET REQUIRED COMPONENTS regex filesystem unit_test_framework program_options system)
eth_show_dependency(Boost boost)
diff --git a/scripts/install_deps.cmake b/scripts/install_deps.cmake
index d1284b9e..0cb0ed62 100644
--- a/scripts/install_deps.cmake
+++ b/scripts/install_deps.cmake
@@ -90,10 +90,10 @@ function(prepare_package_source NAME VERSION URL)
endfunction()
set(INSTALL_DIR "${ROOT_DIR}/install")
-set(SERVER "https://github.com/ethereum/cpp-dependencies/releases/download/vc140/")
+set(SERVER "https://github.com/ethereum/cpp-dependencies/releases/download/vs2017/")
function(download_and_install PACKAGE_NAME)
download_and_unpack("${SERVER}${PACKAGE_NAME}.tar.gz" ${INSTALL_DIR})
endfunction(download_and_install)
-download_and_install("boost-1.61")
+download_and_install("boost-1.67.0")
diff --git a/scripts/release_ppa.sh b/scripts/release_ppa.sh
index 4ba0e644..6cba7dff 100755
--- a/scripts/release_ppa.sh
+++ b/scripts/release_ppa.sh
@@ -53,7 +53,7 @@ packagename=solc
static_build_distribution=cosmic
-for distribution in xenial bionic cosmic STATIC
+for distribution in bionic cosmic STATIC
do
cd /tmp/
rm -rf $distribution