Skip to content

Remove global simd build flags - #33

Open
gnattu wants to merge 1 commit into
ericsink:masterfrom
gnattu:remove-global-simd-build-flags
Open

Remove global simd build flags#33
gnattu wants to merge 1 commit into
ericsink:masterfrom
gnattu:remove-global-simd-build-flags

Conversation

@gnattu

@gnattu gnattu commented Jun 27, 2026

Copy link
Copy Markdown

This removes the globally applied -msse4.2 and -maes build flags, unbreaks the old CPU compatibility.

The performance critical paths already have runtime-dispatched SIMD/AES implementations when needed and the runtime CPU supports it, the global flags benefits little but makes older CPUs can no longer use this lib.

I do not personally own a CPU which is that old, but I emulated core2-duo with qemu-user and the libs are loadable with this emulated CPU.

Fixes ericsink/SQLitePCL.raw#652,
And ultimately, fixes jellyfin/jellyfin#15148

@Chuckame

Copy link
Copy Markdown

@ericsink would you be able to review this PR?

@ericsink

Copy link
Copy Markdown
Owner

would you be able to review this PR?

Working on it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants