Skip to content

Commit

Permalink
an updated WebAssembly
Browse files Browse the repository at this point in the history
  • Loading branch information
jvo203 committed May 7, 2024
1 parent 1dc8e20 commit effce8c
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ thor:
#-s ALLOW_MEMORY_GROWTH=1
EMCC_TOTAL_MEMORY=536870912

#WASM_STRING = WASM2019-02-08.1
WASM_STRING = WASM2024-04-25.0
WASM_STRING = WASM2024-05-07.0

hevc:
#em++ -O3 -Wno-deprecated -s ASSERTIONS=1 -s ALLOW_MEMORY_GROWTH=1 -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap"]' -s EXPORTED_FUNCTIONS="['_malloc','_free']" -I$(HOME)/jctvc-hm/source/Lib $(HOME)/jctvc-hm/source/Lib/TLibCommon/*.cpp $(HOME)/jctvc-hm/source/Lib/TLibDecoder/*.cpp src/colourmap.c src/hevc_decoder.cpp -o build/hevc.js
Expand All @@ -25,7 +24,7 @@ hevc:
vpx:
emcc -Oz -s ALLOW_MEMORY_GROWTH=1 -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap"]' -s EXPORTED_FUNCTIONS="['_malloc','_free']" -I/home/chris/ogv.js/build/js/root/include -L/home/chris/ogv.js/build/js/root/lib /home/chris/ogv.js/build/js/root/lib/libvpx.so src/colourmap.c src/vpx_decoder.c -o build/vpx.js

FPZIP_STRING = WASM2024-04-25.0
FPZIP_STRING = WASM2024-05-07.0

FPZIP=fpzip
SRC=$(FPZIP)/src/*.cpp
Expand Down
18 changes: 0 additions & 18 deletions htdocs/fitswebql/fpzip.WASM2024-04-25.0.js

This file was deleted.

19 changes: 19 additions & 0 deletions htdocs/fitswebql/fpzip.WASM2024-05-07.0.js

Large diffs are not rendered by default.

Binary file not shown.
1 change: 0 additions & 1 deletion htdocs/fitswebql/hevc_WASM2024-04-25.0.js

This file was deleted.

1 change: 1 addition & 0 deletions htdocs/fitswebql/hevc_WASM2024-05-07.0.js

Large diffs are not rendered by default.

Binary file not shown.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2676,9 +2676,9 @@ lazy_static! {
static LOG_DIRECTORY: &'static str = "LOGS";

static SERVER_STRING: &'static str = "FITSWebQL v4.4.20";
static VERSION_STRING: &'static str = "R/SV2024-04-26.0";
static WASM_STRING: &'static str = "WASM2024-04-25.0";
static FPZIP_STRING: &'static str = "WASM2024-04-25.0";
static VERSION_STRING: &'static str = "R/SV2024-05-07.0";
static WASM_STRING: &'static str = "WASM2024-05-07.0";
static FPZIP_STRING: &'static str = "WASM2024-05-07.0";

#[cfg(not(feature = "jvo"))]
static SERVER_MODE: &'static str = "LOCAL";
Expand Down

0 comments on commit effce8c

Please sign in to comment.