Skip to content

Compile python modules#228

Open
vidyalakshmir wants to merge 1 commit into
mainfrom
compile-python-modules
Open

Compile python modules#228
vidyalakshmir wants to merge 1 commit into
mainfrom
compile-python-modules

Conversation

@vidyalakshmir
Copy link
Copy Markdown
Contributor

Context:

To support the Python test suite, we need to provide pre-compiled .cwasm binaries for specific internal modules.

Changes:

This script introduces the pipeline to convert the following static archives (.a) into optimized WebAssembly binaries (.cwasm):

Modules/_hacl/libHacl_Hash_SHA1.a
Modules/_hacl/libHacl_Hash_BLAKE2.a
Modules/_hacl/libHacl_Hash_SHA3.a
Modules/_hacl/libHacl_HMAC.a
Modules/_hacl/libHacl_Hash_MD5.a
Modules/_decimal/libmpdec/libmpdec.a
Modules/expat/libexpat.a```

##  Details:
The conversion strictly follows the .a ➔ .wasm ➔ .opt.wasm ➔ .opt.cwasm path.

## Next Steps:
If this standalone approach is correct and approved, we can have this included with `compile_python.sh` or called from that script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant