Skip to content

Commit

Permalink
feat: Bump versions to latest
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
  • Loading branch information
GordonSmith committed Jul 7, 2022
1 parent 56091e0 commit ee76b82
Show file tree
Hide file tree
Showing 9 changed files with 761 additions and 632 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
![Test PR](https://github.com/hpcc-systems/hpcc-js-wasm/workflows/Test%20PR/badge.svg)

This repository contains a collection of useful c++ libraries compiled to WASM for (re)use in Node JS, Web Browsers and JavaScript Libraries:
* [graphviz](https://www.graphviz.org/) - v3.0.0
* [expat](https://libexpat.github.io/) - v2.4.6
* [graphviz](https://www.graphviz.org/) - v5.0.0
* [expat](https://libexpat.github.io/) - v2.4.8

Built with:
* [emsdk](https://github.com/emscripten-core/emsdk) - v3.1.6
* [emsdk](https://github.com/emscripten-core/emsdk) - v3.1.15

## Quick GraphViz Demos
* https://raw.githack.com/hpcc-systems/hpcc-js-wasm/trunk/index.html
Expand Down
2 changes: 1 addition & 1 deletion cpp/expat/expatlib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PROJECT(expatlib)

SET(EM_FLAGS "-s WASM=1 -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=2 -s EXPORT_NAME='${CMAKE_PROJECT_NAME}' -s EXPORTED_FUNCTIONS=\"['_malloc']\" --post-js ${CMAKE_CURRENT_BINARY_DIR}/main_glue.js")
SET(EM_FLAGS "-s WASM=1 -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=1 -s EXPORT_NAME='${CMAKE_PROJECT_NAME}' -s EXPORTED_FUNCTIONS=\"['_malloc']\" --post-js ${CMAKE_CURRENT_BINARY_DIR}/main_glue.js")

# Generate Glue from IDL file ---
ADD_CUSTOM_COMMAND(
Expand Down
2 changes: 1 addition & 1 deletion cpp/graphviz/graphvizlib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PROJECT(graphvizlib)

SET(EM_FLAGS "-s WASM=1 -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=2 -s EXPORT_NAME='${CMAKE_PROJECT_NAME}' --post-js ${CMAKE_CURRENT_BINARY_DIR}/main_glue.js")
SET(EM_FLAGS "-s WASM=1 -s INVOKE_RUN=0 -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=1 -s EXPORT_NAME='${CMAKE_PROJECT_NAME}' -s EXPORTED_FUNCTIONS=\"['_free']\" --post-js ${CMAKE_CURRENT_BINARY_DIR}/main_glue.js")

# Generate Glue from IDL file ---
ADD_CUSTOM_COMMAND(
Expand Down
6 changes: 4 additions & 2 deletions cpp/graphviz/lib/cgraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@
add_library(cgraph STATIC
# Header files
${GRAPHVIZ_LIB_DIR}/cgraph/agxbuf.h
${GRAPHVIZ_LIB_DIR}/cgraph/alloc.h
${GRAPHVIZ_LIB_DIR}/cgraph/bitarray.h
${GRAPHVIZ_LIB_DIR}/cgraph/cghdr.h
${GRAPHVIZ_LIB_DIR}/cgraph/cgraph.h
${GRAPHVIZ_LIB_DIR}/cgraph/exit.h
${GRAPHVIZ_LIB_DIR}/cgraph/itos.h
${GRAPHVIZ_LIB_DIR}/cgraph/likely.h
${GRAPHVIZ_LIB_DIR}/cgraph/prisize_t.h
${GRAPHVIZ_LIB_DIR}/cgraph/sprint.h
${GRAPHVIZ_LIB_DIR}/cgraph/stack.h
${GRAPHVIZ_LIB_DIR}/cgraph/strcasecmp.h
${GRAPHVIZ_LIB_DIR}/cgraph/strview.h
${GRAPHVIZ_LIB_DIR}/cgraph/unreachable.h
${GRAPHVIZ_LIB_DIR}/cgraph/unused.h

# Source files
${GRAPHVIZ_LIB_DIR}/cgraph/agerror.c
${GRAPHVIZ_LIB_DIR}/cgraph/agxbuf.c
${GRAPHVIZ_LIB_DIR}/cgraph/apply.c
${GRAPHVIZ_LIB_DIR}/cgraph/attr.c
${GRAPHVIZ_LIB_DIR}/cgraph/edge.c
Expand Down

0 comments on commit ee76b82

Please sign in to comment.