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

Build without SIMD #121

Open
lastmjs opened this issue Jan 3, 2024 · 9 comments
Open

Build without SIMD #121

lastmjs opened this issue Jan 3, 2024 · 9 comments

Comments

@lastmjs
Copy link

lastmjs commented Jan 3, 2024

Our environment does not support SIMD. I am not sure how to build wasmedge-quickjs without SIMD. I found this PR: #32 (comment)

I've tried removing the Rust compiler flag but we still get a SIMD validation error in our environment. lib/libquickjs.a seems to have been compiled with SIMD128 support. How do I recomplie lib/libquickjs.a to remove that?

@L-jasmine
Copy link
Collaborator

You can recomplie lib/libquickjs.a with this

@lastmjs
Copy link
Author

lastmjs commented Jan 3, 2024

What is wasicc and wasiar?

@lastmjs
Copy link
Author

lastmjs commented Jan 3, 2024

@lastmjs
Copy link
Author

lastmjs commented Jan 3, 2024

Is there a Discord channel or somewhere else I can go for questions during my build process? I've got things popping up and if I could just get ahold of someone that would make things much easier.

@alabulei1
Copy link
Member

Hi @lastmjs

Thanks for you question. We do have a Discord server. You can join via this link.

@L-jasmine
Copy link
Collaborator

What is wasicc and wasiar?

https://github.com/wasienv/wasienv

@lastmjs
Copy link
Author

lastmjs commented Jan 4, 2024

I have successfully compiled and have wasmedge-quickjs working in our environment without SIMD.

What do you think about making this a Cargo feature or somehow allowing wasmedge-quickjs to have this on be default by able to be turned off?

@L-jasmine
Copy link
Collaborator

How about downloading quickjs-wasi and building libquickjs.a every time during compilation?

@lastmjs
Copy link
Author

lastmjs commented Jan 18, 2024

Sounds fine for my use case, we aren't often changing wasmedge-quickjs.

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

No branches or pull requests

3 participants