Skip to content
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

Upgrade opencv + docker image used for cimbar.js wasm build #112

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

sz3
Copy link
Owner

@sz3 sz3 commented Oct 21, 2024

  • opencv to 4.10
  • pin newer emscripten docker image
  • minor tweak to the custom wirehair cmakelists to make sure -march is left off of the wasm build
    • might end up turning it off entirely? 🤔

+ also use a newer emscripten docker image.
@@ -54,7 +54,7 @@ set(GEN_TABLES
gf256.h
)

if(NOT ANDROID)
if(NOT ANDROID AND NOT USE_WASM)
set(ARCH_NATIVE "-march=native")
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for pause I have is that low-power devices (i.e. android phones) are where we'd really benefit from the optimization -- and we're not doing it there anyway. So it might make sense to toss this altogether.

wget https://github.com/opencv/opencv/archive/refs/tags/4.5.5.zip
unzip 4.5.5.zip
mv opencv-4.5.5 opencv4
wget https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sz3 sz3 merged commit 06305c3 into master Oct 21, 2024
8 checks passed
@sz3 sz3 deleted the wasm-build-upgrade-opencv branch October 21, 2024 06:03
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