Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Latest commit

 

History

History
18 lines (11 loc) · 680 Bytes

DEVELOPER.md

File metadata and controls

18 lines (11 loc) · 680 Bytes

Developer notes

The Makefile is written for a linux environment.

To build libhdf5, you must have Emscripten installed and activated, so that the emcmake and emmake and emcc commands are available.

Then just type

make

libhdf5.a and libhdf5_hl.a are built in ./wasm_build/hdf5/lib/

and are used to compile ./src/hdf5_util.cc to ./dist/esm/hdf5_util.js and ./dist/esm/hdf5_util.wasm

which are then used by ./dist/hdf5_hl.js

(and also ./dist/node/hdf5_util.wasm which is used by ./dist/hdf5_hl_node.js, the nodejs entry point)