aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-25 21:40:40 +0800
committerGitHub <noreply@github.com>2017-08-25 21:40:40 +0800
commit0659043575c47e02dd3febdd3ad084eb8d2141d7 (patch)
tree246638b80478e482e7c7b0db2b4ae0fed8a4de1d
parent1437521df0136fc3654dd74c816d724c50a125ee (diff)
parentb79401b1659dfa609ec41ff2405f3c34a1e58baf (diff)
downloaddexon-solidity-0659043575c47e02dd3febdd3ad084eb8d2141d7.tar.gz
dexon-solidity-0659043575c47e02dd3febdd3ad084eb8d2141d7.tar.zst
dexon-solidity-0659043575c47e02dd3febdd3ad084eb8d2141d7.zip
Merge pull request #2817 from ethereum/do_not_copy_so
Do not include soltest and .so files in zip archives.
-rwxr-xr-xscripts/release.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index a2f4d98a..ebc7759f 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -35,47 +35,12 @@ ZIP_TEMP_DIR=$(pwd)/build/zip/
# There is an implicit assumption here that we HAVE to run from root directory.
REPO_ROOT=$(pwd)
-if [[ "$OSTYPE" == "darwin"* ]]; then
- DLL_EXT=dylib
-else
- DLL_EXT=so
-fi
-
mkdir -p $ZIP_TEMP_DIR
# Copy all the solidity executables into a temporary directory prior to ZIP creation
cp $REPO_ROOT/build/lllc/lllc $ZIP_TEMP_DIR
cp $REPO_ROOT/build/solc/solc $ZIP_TEMP_DIR
-cp $REPO_ROOT/build/soltest/soltest $ZIP_TEMP_DIR
-
-# Copy all the dynamic libraries into a temporary directory prior to ZIP creation.
-# There are a lot of these, and it would be great if we didn't have to worry about them.
-# There is work-in-progress to support static-linkage on the UNIX platforms, which
-# is most promising on Alpine Linux using musl. macOS doesn't support statically
-# linked binaries (ie. executables which make direct system calls to the kernel.
-#
-# See https://developer.apple.com/library/mac/qa/qa1118/_index.html.
-# See https://github.com/ethereum/webthree-umbrella/issues/495.
-
-cp $REPO_ROOT/build/libdevcore/*.$DLL_EXT $ZIP_TEMP_DIR
-cp $REPO_ROOT/build/libevmasm/*.$DLL_EXT $ZIP_TEMP_DIR
-cp $REPO_ROOT/build/libsolidity/*.$DLL_EXT $ZIP_TEMP_DIR
-
-# For macOS, we also copy the dynamic libraries for our external dependencies.
-# When building from source on your own machine, these libraries will be installed
-# globally, using Homebrew, but we don't want to rely on that for these ZIPs, so
-# we copy these into the ZIP temporary directory too.
-#
-# TODO - So what happens for Linux and other UNIX distros in this case?
-# There will be runtime dependencies on equivalent SO files being present, likely in
-# a completely analogous way. Does that mean that ZIPs are actually useless on such
-# distros, because there will be symbol links to global install locations (distro-specific)
-# and those files will just be missing on the target machines?
-
-if [[ "$OSTYPE" == "darwin"* ]]; then
- cp /usr/local/opt/jsoncpp/lib/libjsoncpp.1.dylib $ZIP_TEMP_DIR
-fi
# For macOS, we run a fix-up script which alters all of the symbolic links within
# the executables and dynamic libraries such that the ZIP becomes self-contained, by