mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[DEBUG] Use local Solidity checkout with modernize-wasm-rebuild branch
This commit is contained in:
parent
d24c7f3e49
commit
5d2ee3ef0d
@ -24,7 +24,9 @@ while (( "$#" )); do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
SOLIDITY_REPO_URL="https://github.com/ethereum/solidity"
|
# TMP:
|
||||||
|
#SOLIDITY_REPO_URL="https://github.com/ethereum/solidity"
|
||||||
|
SOLIDITY_REPO_URL="/tmp/solidity"
|
||||||
SOLC_JS_REPO_URL="https://github.com/ethereum/solc-js"
|
SOLC_JS_REPO_URL="https://github.com/ethereum/solc-js"
|
||||||
SOLC_JS_BRANCH=wasmRebuildTests
|
SOLC_JS_BRANCH=wasmRebuildTests
|
||||||
RELEASE_URL="https://binaries.soliditylang.org/bin"
|
RELEASE_URL="https://binaries.soliditylang.org/bin"
|
||||||
@ -189,9 +191,9 @@ else
|
|||||||
git clone "${SOLIDITY_REPO_URL}" /root/project --quiet
|
git clone "${SOLIDITY_REPO_URL}" /root/project --quiet
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Extract bytecode comparison scripts from v0.6.1..."
|
echo "Extract bytecode comparison scripts from modernize-wasm-rebuild..."
|
||||||
cd /root/project
|
cd /root/project
|
||||||
git checkout v0.6.1 --quiet
|
git checkout modernize-wasm-rebuild --quiet
|
||||||
cp -r scripts /tmp/solidity-scripts
|
cp -r scripts /tmp/solidity-scripts
|
||||||
export SOLC_EMSCRIPTEN="On"
|
export SOLC_EMSCRIPTEN="On"
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ docker run \
|
|||||||
--rm \
|
--rm \
|
||||||
--interactive \
|
--interactive \
|
||||||
--tty \
|
--tty \
|
||||||
|
--volume /projects/solidity:/tmp/solidity:ro \
|
||||||
--volume "${OUTPUTDIR}":/tmp/output \
|
--volume "${OUTPUTDIR}":/tmp/output \
|
||||||
--volume "${SCRIPTDIR}":/tmp/scripts:ro \
|
--volume "${SCRIPTDIR}":/tmp/scripts:ro \
|
||||||
"${DOCKER_IMAGE}" \
|
"${DOCKER_IMAGE}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user