Skip to content

Commit

Permalink
3.1.69.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Oct 13, 2024
1 parent ddd35b6 commit 129bbae
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
8 changes: 7 additions & 1 deletion emsdk-cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ MODE = ""
SKIP = False
COMPILE = False

USE_RAWFS = True

out = []
for argc, arg in enumerate(sys.argv):
if arg in ("-v", "--version"):
Expand All @@ -132,6 +134,9 @@ for argc, arg in enumerate(sys.argv):
SKIP = True
break

if arg.startswith('--preload-file') or arg.startswith('--embed-file'):
USE_RAWFS = False

if arg.find("MAIN_MODULE") > 0 or EXE.endswith(".cjs") or EXE.endswith(".js"):
MAIN_MODULE = True

Expand Down Expand Up @@ -247,7 +252,8 @@ else:
os.chmod(EXE, 0o766)

final.append("-sENVIRONMENT=node")
final.append("-sNODERAWFS")
if USE_RAWFS:
final.append("-sNODERAWFS")
__import__("atexit").register(make_exe)

# do not pass WASM opts when -c/-o but always PIC and opt level
Expand Down
8 changes: 8 additions & 0 deletions python-wasi-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@ END
echo " --------- adding some usefull pkg ${PYBUILD} ${CIVER} ---------" 1>&2
./scripts/cpython-build-emsdk-prebuilt.sh || exit 223


# experimental stuff
chmod +x sources.plus/*.sh
for extra in sources.plus/*.sh
do
./$extra
done

echo "
==========================================================
Expand Down
8 changes: 8 additions & 0 deletions python-wasm-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@ END
echo " --------- adding some usefull pkg ${PYBUILD} ${CIVER} ---------" 1>&2
./scripts/cpython-build-emsdk-prebuilt.sh || exit 223


# experimental stuff
chmod +x sources.plus/*.sh
for extra in sources.plus/*.sh
do
./$extra
done

echo "
==========================================================
Expand Down
File renamed without changes.

0 comments on commit 129bbae

Please sign in to comment.