don't copy version file
diff --git a/src/build.py b/src/build.py
index 4912b05..70d3a3e 100755
--- a/src/build.py
+++ b/src/build.py
@@ -48,7 +48,6 @@
CMAKE_TOOLCHAIN_FILE = 'Wasi.cmake'
EMSCRIPTEN_CONFIG_UPSTREAM = 'emscripten_config_upstream'
-EMSCRIPTEN_VERSION_FILE = 'emscripten-version.txt'
RELEASE_DEPS_FILE = 'DEPS.tagged-release'
# Avoid flakes: use cached repositories to avoid relying on external network.
@@ -1170,13 +1169,6 @@
proc.check_call(['npm', 'install', '--no-optional', native],
cwd=em_install_dir)
- version_file = GetSrcDir(EMSCRIPTEN_VERSION_FILE)
- if os.path.isfile(version_file):
- with open(version_file) as f:
- print('Copying emscripten version file (version %s)' %
- f.read().strip())
- shutil.copy2(version_file, em_install_dir)
-
def Emscripten():
InstallEmscripten()