Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Sep 18, 2018
1 parent 80ccafd commit e16d326
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cmake/ProjectBinaryen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ ExternalProject_Add(binaryen
BINARY_DIR ${binary_dir}
URL https://github.com/WebAssembly/binaryen/archive/1.38.9.tar.gz
URL_HASH SHA256=f8c6d4deb83dba8709c4df9f7983080ec0f9412e88899767ed2815b911ce1ebd
PATCH_COMMAND sh ${CMAKE_CURRENT_LIST_DIR}/patch_binaryen.sh
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
-DCMAKE_BUILD_TYPE=Release
Expand Down
2 changes: 1 addition & 1 deletion cmake/patch_binaryen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

sed -iE 's/COMMAND python /COMMAND /' src/passes/CMakeLists.txt
sed -iE 's/\#\!/usr/bin/env python/#!/usr/bin/env python2/' scripts/embedwast.py
sed -iE 's/^#!/usr/bin/env python/#!/usr/bin/env python2/' scripts/embedwast.py

0 comments on commit e16d326

Please sign in to comment.