Extracted from #4698 (comment). Related to #9931.
@ekpyron
That being said, I did only do the minimal amount of work to get it running again in #10039 - it would be nice to clean up the mechanism a bit. I.e. scripts/bytecodecompare/storebytecode.sh for the emscripten case is rather horrible - we could actually just run the solcjs wrapper script from the solc-js repo as solc to run it with the scripts/bytecodecompare/prepare_report.py script instead of using this horrible on-the-fly temporary javascript file produced by the script, etc...