Skip to content

fix: add linux-x64-baseline target to build script#814

Open
GautamKumarOffical wants to merge 1 commit into
CodebuffAI:mainfrom
GautamKumarOffical:fix/add-linux-x64-baseline-target
Open

fix: add linux-x64-baseline target to build script#814
GautamKumarOffical wants to merge 1 commit into
CodebuffAI:mainfrom
GautamKumarOffical:fix/add-linux-x64-baseline-target

Conversation

@GautamKumarOffical

Copy link
Copy Markdown

The linux-x64-baseline target was missing from the build script's target mappings, preventing the creation of a baseline binary for older CPUs that don't support AVX instructions.

This adds the linux-x64-baseline mapping so the build can produce a binary compatible with CPUs that only support SSE4.1/SSE4.2.

The runtime already has AVX2 detection and baseline fallback logic (index.js lines 225-248), but the build script couldn't produce the baseline binary because the target wasn't mapped.

Fixes #797

The linux-x64-baseline target was missing from the build script's target
mappings, preventing the creation of a baseline binary for older CPUs
that don't support AVX instructions.

This adds the linux-x64-baseline mapping so the build can produce a
binary compatible with CPUs that only support SSE4.1/SSE4.2.

Fixes CodebuffAI#797

Signed-off-by: Gautam Kumar <kumargautamsingh777@gmail.com>
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.

linux-x64-baseline target still contains AVX instructions, causing SIGILL on older CPUs (SSE4.1 only)

1 participant