libjxl: Can't create `wasm` build

Describe the bug Running BUILD_TARGET=wasm32 ENABLE_WASM_SIMD=1 emconfigure ./ci.sh release yields an error

CMake Error at third_party/CMakeLists.txt:36 (message):
  Highway library (hwy) not found.  Install libhwy-dev or download it to
  third_party/highway from https://github.com/google/highway .  Highway is
  required to build JPEG XL.  You can run /root/libjxl/deps.sh to download
  this dependency.

however: apt install libhwy-dev

libhwy-dev is already the newest version (1.0.3-2).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

To Reproduce follow the wasm build instructions

Expected behavior Expected to have the wasm build ready

Screenshots

Environment

  • OS: Ubuntu 23.04
  • CPU type: aarch64

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

@tpiros

For Discord, you can find the invitation link on https://jpegxl.info/ .

A quick update, I have seen this discussion on SO, and I have removed --closure 1 from tools/wasm_demo/CMakeLists.txt.

This has solved the issue but I’m also a bit unsure about what the end result should be of a successful build?