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

use libm::exp2 #21

Merged
merged 1 commit into from
Mar 15, 2022
Merged

use libm::exp2 #21

merged 1 commit into from
Mar 15, 2022

Conversation

littledivy
Copy link
Contributor

We have hexf as a transitive dependency wgpu-hal -> naga -> hexf-parse in Deno. Unfortuanetly this pulls in a GLIBC dependency on expf2 because LLVM optimizes 2.0.powf(exp) to exp2f. exp2f is not present in glibc 2.23 and hence Deno is not able to run on Ubuntu 16, Amazon Linux, etc.
Ref denoland/deno#13516 (comment)

This patch introduces libm::exp2 to avoid the above issue.

@youknowone youknowone merged commit 7d8c395 into lifthrasiir:master Mar 15, 2022
@littledivy littledivy deleted the use_libm branch March 18, 2022 08:06
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.

None yet

2 participants