-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: OpenJPH compression issues - temporarily publish debug #46
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/sh | ||
mkdir -p build | ||
mkdir -p dist | ||
#(cd build && CXXFLAGS=-msimd128 emcmake cmake -DCMAKE_BUILD_TYPE=Debug ..) | ||
(cd build && CXXFLAGS=-msimd128 emcmake cmake ..) | ||
(cd build && CXXFLAGS=-msimd128 emcmake cmake -DCMAKE_BUILD_TYPE=Debug ..) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is temporary until we figure out why the build is failing |
||
#(cd build && CXXFLAGS=-msimd128 emcmake cmake ..) | ||
(cd build && emmake make VERBOSE=1 -j ${nprocs}) | ||
cp ./build/src/openjphjs.js ./dist | ||
cp ./build/src/openjphjs.wasm ./dist | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ class HTJ2KDecoder | |
{ | ||
// Use the following for debugging to ensure updated version info | ||
// Update the XX to check that reload has completed | ||
// OJPH_INFO(0x00010002, "vXX HTJ2K Decoder"); | ||
OJPH_INFO(0x00010002, "v06 HTJ2K Decoder"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Temporary while we figure out why the code fails to decode There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as talked, this makes it bigger but gives stack trace etc |
||
} | ||
|
||
#ifdef __EMSCRIPTEN__ | ||
|
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes it easy to test newer versions as the linking doesn't get messed up.