Skip to content

feat: handle -fopenmp - #75

Merged
Arshia001 merged 1 commit into
mainfrom
openmp
Aug 7, 2026
Merged

feat: handle -fopenmp#75
Arshia001 merged 1 commit into
mainfrom
openmp

Conversation

@kilyanni

@kilyanni kilyanni commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Link the OpenMP runtime when -fopenmp is passed.

wasixcc compiles with Clang but links by invoking wasm-ld directly, bypassing Clang’s usual runtime injection. This change preserves the OpenMP flag and adds libomp plus its C++ runtime dependencies during linking.

It also supports -fopenmp=libomp and -fno-openmp, avoids duplicate runtime libraries, and adds regression tests.

Copilot AI lite review requested due to automatic review settings August 6, 2026 13:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@kilyanni
kilyanni requested a review from Arshia001 August 6, 2026 13:13
@Arshia001
Arshia001 merged commit 44de7eb into main Aug 7, 2026
10 checks passed
@Arshia001
Arshia001 deleted the openmp branch August 7, 2026 07:24
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.

3 participants