Opened 3 years ago

Last modified 3 years ago

#5020 closed change

[emscripten] Improve compile script — at Version 1

Reported by: trev Assignee: trev
Priority: P4 Milestone:
Module: Core Keywords:
Cc: Blocked By:
Blocking: #4122 Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by trev)


The script currently used to compile Emscripten code was meant as a temporary solution and has a number of shortcomings that are easy to fix.

What to change

  • Use os.path.join() consistently.
  • Don't use current directory, resolve paths relative to script directory instead.
  • Add command line option to set Emscripten path and only use ../emscripten as fallback.
  • Add --debug command line flag to disable code minification.
  • Add --tracing command line flag to enable memory tracing.
  • Implement a Windows-compatible solution to retrieve Emscripten environment.

Change History (1)

comment:1 Changed 3 years ago by trev

  • Description modified (diff)
Note: See TracTickets for help on using tickets.