Archived issue #0032342

Draw Harness - preload basic Tcl scripts into WebAssembly

Open CASCADEOCCT:DRAWclosed5 public notes

Search issues

Description

While building Draw Harness using Emscripten SDK, DRAWEXE is unable to locate two standard Tcl script sets:
- Draw Harness scripts from DrawResources
- Tcl scripts from $tcl_library/init.tcl

Steps to reproduce

N/A

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Thu Apr 29 22:13:20 2021 +0300

    0032342: Draw Harness - preload basic Tcl scripts into WebAssembly
    
    DrawResources Tcl scripts and $tcl_library (init.tcl) are now preloaded into WebAssembly emulated filesystem for DRAWEXE.wasm.
    DRAWEXE now mimics "pload" command for statically linked plugins.
02Author
Patch is ready for review
- OCCT: branch CR32342.
03Commenter 3
The patch is reviewed
04Commenter 1
Combination -
OCCT branch : [archived branch]
Products branch : [archived branch]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17839.600000000362 / 17844.450000000477 [-0.03%]
Products
Total CPU difference: 11562.480000000109 / 11558.800000000136 [+0.03%]
Windows-64-VC14:
OCCT
Total CPU difference: 19303.28125 / 19431.828125 [-0.66%]
Products
Total CPU difference: 12894.515625 / 12871.203125 [+0.18%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]